@extends('layouts.sidebar') @section('content') @push('sidebar-stylesheets') @endpush @include('components.favicon') @include('components.favicon-extension')

My Links Add new item

{{--
10 | 20 | 30 | all
--}}
    {!! $links ?? ''->links() !!}
Add new item

Preview:


Preview:


Page Icons

@csrf
@php function iconLink($icon){ $iconLink = DB::table('links') ->where('user_id', Auth::id()) ->where('title', $icon) ->where('button_id', 94) ->value('link'); if (is_null($iconLink)){ return false; } else { return $iconLink;}} function searchIcon($icon) {$iconId = DB::table('links') ->where('user_id', Auth::id()) ->where('title', $icon) ->where('button_id', 94) ->value('id'); if(is_null($iconId)){return false;}else{return $iconId;}} function iconclicks($icon){ $iconClicks = searchIcon($icon); $iconClicks = DB::table('links')->where('id', $iconClicks)->value('click_number'); if (is_null($iconClicks)){return 0;} else {return $iconClicks;}} function icon($name, $label){ echo '   Clicks: '.iconclicks($name).'
'; if(searchIcon($name) != NULL){echo '';} echo '

';} @endphp {!!icon('mastodon', 'Mastodon')!!} {!!icon('instagram', 'Instagram')!!} {!!icon('twitter', 'Twitter')!!} {!!icon('facebook', 'Facebook')!!} {!!icon('github', 'GitHub')!!} {!!icon('linkedin', 'LinkedIn')!!} {!!icon('tiktok', 'TikTok')!!} {!!icon('discord', 'Discord')!!} {!!icon('youtube', 'YouTube')!!} {!!icon('snapchat', 'Snapchat')!!} {!!icon('reddit', 'Reddit')!!} {!!icon('pinterest', 'Pinterest')!!}ยด {{-- {!!icon('telegram', 'Telegram')!!} {!!icon('whatsapp', 'WhatsApp')!!} --}}
@endsection