|
12 | 12 | @php setcookie("LinkCount", "all", time()+60*60*24*5, "/"); @endphp
|
13 | 13 | @endif
|
14 | 14 |
|
15 |
| -<section class=' shadow text-gray-400'> |
| 15 | +@push('sidebar-stylesheets') |
| 16 | +<style> |
| 17 | +@media only screen and (max-width: 1500px) { |
| 18 | + .pre-side{display:none!important;} |
| 19 | + .pre-left{width:100%!important;} |
| 20 | + .pre-bottom{display:block!important;} |
| 21 | +} |
| 22 | +
|
| 23 | +@media only screen and (min-width: 1500px) { |
| 24 | + .pre-left{width:70%!important;} |
| 25 | + .pre-right{width:30%!important;} |
| 26 | + .pre-bottom{display:none!important;} |
| 27 | +} |
| 28 | +</style> |
| 29 | +@endpush |
| 30 | + |
| 31 | +<div class="row"> |
| 32 | +<section class='pre-left shadow text-gray-400'> |
16 | 33 | <h3 class="card-header"><i class="bi bi-link-45deg">My Links</i>
|
17 | 34 | <a class="btn btn-primary float-right" href="{{ url('/studio/add-link') }}">Add new <span class='d-none d-md-inline'>item</span></a>
|
18 | 35 |
|
|
119 | 136 | <a class="btn btn-primary" href="{{ url('/studio/add-link') }}">Add new item</a>
|
120 | 137 | </div>
|
121 | 138 | </section>
|
| 139 | + |
| 140 | +<section class='pre-right shadow text-gray-400 pre-side'> |
| 141 | + <h3 class="card-header"><i class="bi bi-window-fullscreen" style="font-style:normal!important;"> Preview:</i></h3> |
| 142 | + <div class='card-body p-0 p-md-3'> |
| 143 | + <center><iframe allowtransparency="true" id="frPreview" style=" border-radius:0.25rem !important; background: #FFFFFF; min-height:600px; height:100%; max-width:500px !important;" class='w-100' src="{{ url('') }}/@<?= Auth::user()->littlelink_name ?>">Your browser isn't compatible</iframe></center> |
| 144 | + </div> |
| 145 | +</section> |
| 146 | +</div> |
| 147 | + |
| 148 | +<br> |
| 149 | +<section style="width:100%!important;" class='pre-bottom shadow text-gray-400 pre-side'> |
| 150 | + <h3 class="card-header"><i class="bi bi-window-fullscreen" style="font-style:normal!important;"> Preview:</i></h3> |
| 151 | + <div class='card-body p-0 p-md-3'> |
| 152 | + <center><iframe allowtransparency="true" id="frPreview" style=" border-radius:0.25rem !important; background: #FFFFFF; min-height:600px; height:100%; width:100% !important;" class='w-100' src="{{ url('') }}/@<?= Auth::user()->littlelink_name ?>">Your browser isn't compatible</iframe></center> |
| 153 | + </div> |
| 154 | +</section> |
122 | 155 | @endsection
|
0 commit comments