getlaravel.blade.php
4.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
@extends('backend.home.index')
@push('title', $halaman->nama)
@push('header', $halaman->nama)
@push('tombol')
<a href="#tambah" class="btn btn-sm btn-primary tambah">
Tambah <i class="fa fa-plus-circle"></i>
</a>
@endpush
@section('content')
<div class="panel-container show container-fluid col">
<div class="panel-content">
<section class="news pt-0">
<div class="container mt-md-5">
<h2 class="mx-4 my-0 text-center font-monospace">Artikel Gaiss</h2>
<ul class="row d-lg-flex list-unstyled image-block justify-content-center px-lg-0 mx-lg-0">
</section>
</div>
</div>
<!-- Format Baru -->
<style>
@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');
* {
padding: 0;
margin: 0;
box-sizing: border-box;
font-family: 'Poppins', sans-serif
}
.container {
padding: 20px
}
img {
height: 170px;
width: 100%;
object-fit: cover
}
.bg-org {
text-transform: uppercase;
cursor: pointer;
border-radius: 3px;
background-color: #eca726;
color: white;
font-weight: 800;
font-size: 14px;
display: flex;
align-items: center;
justify-content: center;
padding: 3px 20px
}
.bg-org:hover {
background-color: #eec67c
}
.bg-blue {
text-transform: uppercase;
cursor: pointer;
border-radius: 3px;
background-color: #414df0;
color: white;
font-weight: 800;
font-size: 14px;
display: flex;
align-items: center;
justify-content: center;
padding: 3px 20px
}
.bg-blue:hover {
background-color: #abb0f5
}
.bg-vio {
text-transform: uppercase;
cursor: pointer;
border-radius: 3px;
background-color: #b005ff;
color: white;
font-weight: 800;
font-size: 14px;
display: flex;
align-items: center;
justify-content: center;
padding: 3px 20px
}
.bg-vio:hover {
background-color: #ce89ee
}
.bg-green {
background-color: #27e727;
border-radius: 10%;
color: white;
font-size: 14px;
display: flex;
align-items: center;
justify-content: center;
padding: 1px 4px
}
.bg-orgn {
background-color: #eca726;
border-radius: 10%;
color: white;
font-size: 14px;
display: flex;
align-items: center;
justify-content: center;
padding: 1px 4px
}
.bg-blu {
background-color: #414df0;
border-radius: 10%;
color: white;
font-size: 14px;
display: flex;
align-items: center;
justify-content: center;
padding: 1px 4px
}
.bg-violet {
background-color: #b005ff;
border-radius: 10%;
color: white;
font-size: 14px;
display: flex;
align-items: center;
justify-content: center;
padding: 1px 4px
}
.text-muted {
font-size: 14px
}
.fs5 {
line-height: 20px;
font-size: 16px
}
.items {
font-size: 15px;
background-color: black;
color: white;
margin: 3px 3px;
padding: 4px 10px;
text-decoration: none;
border: 1px solid #ddd
}
.items:hover {
background-color: #fcf7f7;
color: black;
transition: background-color .8s
}
</style>
<!-- EOFFICE Tampil semua -->
<div class="container">
<div class="row">
@foreach($laravel as $lavall)
<div class="row">
<div class="col-lg-8 order-lg-0 order-2">
<div class="row">
<div class="col-md-4 mb-4"> <img class="" src="https://images.pexels.com/photos/3184611/pexels-photo-3184611.jpeg?auto=compress&cs=tinysrgb&dpr=2&w=500" alt=""> </div>
<div class="col-md-8 mb-4">
<div class="d-flex align-items-center"> <a href="" class="bg-org">Laravel</a> <span class="text-muted ps-4"> Created at {!! $eoffice->created_at !!}</span> </div>
<div>
<p class="text-capitalize fs5 my-3 fw-bolder">{!! $lavall->judul !!}</a>
<p class="text-muted">{!! ($lavall->konten ) !!}</a>
<small><span><a href="{{ URL::asset( $halaman->kode .'/vieweoffice')}}"><u>Read More</u></a></span></small>
</div>
</div>
@endforeach
</div>
</div>
@endsection