Skip to content

Commit fe78c14

Browse files
committed
Update links.blade.php
1 parent 5144ec0 commit fe78c14

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

resources/views/studio/links.blade.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@
3030
</style>
3131
@endpush
3232

33+
<?php function strp($urlStrp){return str_replace(array('http://', 'https://'), '', $urlStrp);} ?>
34+
3335
<div class="row">
3436
<section class='pre-left shadow text-gray-400'>
3537
<h3 class="card-header"><i class="bi bi-link-45deg">My Links</i>
@@ -65,7 +67,6 @@
6567
<span class='h6'>
6668
<?php $button = Button::find($link->button_id); if(isset($button->name)){$buttonName = $button->name;}else{$buttonName = 0;} ?>
6769
@if($button->name == "custom_website")
68-
<?php function strp($urlStrp){return str_replace(array('http://', 'https://'), '', $urlStrp);} ?>
6970
<span style="border: 1px solid #d0d4d7 !important;border-radius:5px;background-color:#6c757d;width:25px!important;height:25px!important;"><img style="margin-bottom:3px;margin-left:4px;margin-right:4px;max-width:15px;max-height:15px;" alt="button-icon" class="icon hvr-icon" src="https://icons.duckduckgo.com/ip3/{{strp($link->link)}}.ico"></span>
7071
@elseif($button->name == "space")
7172
<span style="border: 1px solid #d0d4d7 !important;border-radius:5px;background-color:#6c757d;width:25px!important;height:25px!important;"><i style="margin-left:2.83px;margin-right:-1px;color:#fff;" class='bi bi-distribute-vertical'>&nbsp;</i></span>

0 commit comments

Comments
 (0)