From 18da63c16afc46cd0c49a00141de7b5ee6847ba9 Mon Sep 17 00:00:00 2001 From: PaperGram <145454517+papergram@users.noreply.github.com> Date: Sun, 18 Aug 2024 12:07:29 +0200 Subject: [PATCH 1/4] add: more socials --- resources/views/studio/links.blade.php | 126 +++++++++++++------------ 1 file changed, 65 insertions(+), 61 deletions(-) diff --git a/resources/views/studio/links.blade.php b/resources/views/studio/links.blade.php index 3ec28d9..6cd0e4c 100755 --- a/resources/views/studio/links.blade.php +++ b/resources/views/studio/links.blade.php @@ -2,7 +2,7 @@ @section('content') -
-
+
-
- +
+

{{__('messages.My Links')}} {{__('messages.Add new Link')}}

- +
- + {{--
10 | 20 | 30 | all
--}} - +
- +
- +

{{__('messages.Preview')}}

@@ -209,7 +209,7 @@ if (isset($_COOKIE['LinkCount'])) {
- +

{{__('messages.Preview')}}

@@ -217,16 +217,16 @@ if (isset($_COOKIE['LinkCount'])) {

- +

{{__('messages.Page Icons')}}

- +
@csrf
- + @php if (!function_exists('iconLink')) { function iconLink($icon) { @@ -242,7 +242,7 @@ if (isset($_COOKIE['LinkCount'])) { } } } - + if (!function_exists('searchIcon')) { function searchIcon($icon) { $iconId = DB::table('links') @@ -257,7 +257,7 @@ if (isset($_COOKIE['LinkCount'])) { } } } - + if (!function_exists('iconclicks')) { function iconclicks($icon) { $iconClicks = searchIcon($icon); @@ -269,7 +269,7 @@ if (isset($_COOKIE['LinkCount'])) { } } } - + if (!function_exists('icon')) { function icon($name, $label) { echo '
@@ -285,46 +285,50 @@ if (isset($_COOKIE['LinkCount'])) { } @endphp - - + + {!!icon('mastodon', 'Mastodon')!!} - + {!!icon('instagram', 'Instagram')!!} - + {!!icon('twitter', 'Twitter')!!} - + {!!icon('facebook', 'Facebook')!!} - + {!!icon('github', 'GitHub')!!} - + {!!icon('twitch', 'Twitch')!!} - + {!!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')!!} --}} - - + + {!!icon('telegram', 'Telegram')!!} + + {!!icon('whatsapp', 'WhatsApp')!!} + + {!! icon('behance', 'Behance') !!} + + {!! icon('dribbble', 'Dribble') !!} + + - - + +
- +
From 24eb512dfb7a4cad64df6aac0861cd81d5266969 Mon Sep 17 00:00:00 2001 From: Julian Prieber Date: Mon, 16 Sep 2024 17:01:35 +0200 Subject: [PATCH 2/4] Update composer.json https://github.com/LinkStackOrg/LinkStack/issues/816 --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 4dc6e04..548b7f5 100644 --- a/composer.json +++ b/composer.json @@ -20,7 +20,7 @@ "livewire/livewire": "^2.12", "rappasoft/laravel-livewire-tables": "^2.15", "simplesoftwareio/simple-qrcode": "~4", - "spatie/laravel-backup": "^8.17" + "spatie/laravel-backup": "^8.1.5" }, "require-dev": { "barryvdh/laravel-ide-helper": "^2.12", From 3dc678bb5a26b3030fde017a430211cbed288b1d Mon Sep 17 00:00:00 2001 From: Julian Prieber Date: Mon, 16 Sep 2024 17:12:42 +0200 Subject: [PATCH 3/4] Fixed white spaces I like my white spaces --- resources/views/studio/links.blade.php | 114 ++++++++++++------------- 1 file changed, 57 insertions(+), 57 deletions(-) diff --git a/resources/views/studio/links.blade.php b/resources/views/studio/links.blade.php index 6cd0e4c..8569e6c 100755 --- a/resources/views/studio/links.blade.php +++ b/resources/views/studio/links.blade.php @@ -2,7 +2,7 @@ @section('content') -
-
+
-
- +
+

{{__('messages.My Links')}} {{__('messages.Add new Link')}}

- +
- + {{--
10 | 20 | 30 | all
--}} - +
- +
- +

{{__('messages.Preview')}}

@@ -209,7 +209,7 @@ if (isset($_COOKIE['LinkCount'])) {
- +

{{__('messages.Preview')}}

@@ -217,16 +217,16 @@ if (isset($_COOKIE['LinkCount'])) {

- +

{{__('messages.Page Icons')}}

- +
@csrf
- + @php if (!function_exists('iconLink')) { function iconLink($icon) { @@ -242,7 +242,7 @@ if (isset($_COOKIE['LinkCount'])) { } } } - + if (!function_exists('searchIcon')) { function searchIcon($icon) { $iconId = DB::table('links') @@ -257,7 +257,7 @@ if (isset($_COOKIE['LinkCount'])) { } } } - + if (!function_exists('iconclicks')) { function iconclicks($icon) { $iconClicks = searchIcon($icon); @@ -269,7 +269,7 @@ if (isset($_COOKIE['LinkCount'])) { } } } - + if (!function_exists('icon')) { function icon($name, $label) { echo '
@@ -285,32 +285,32 @@ if (isset($_COOKIE['LinkCount'])) { } @endphp - - + + {!!icon('mastodon', 'Mastodon')!!} - + {!!icon('instagram', 'Instagram')!!} - + {!!icon('twitter', 'Twitter')!!} - + {!!icon('facebook', 'Facebook')!!} - + {!!icon('github', 'GitHub')!!} - + {!!icon('twitch', 'Twitch')!!} - + {!!icon('linkedin', 'LinkedIn')!!} - + {!!icon('tiktok', 'TikTok')!!} - + {!!icon('discord', 'Discord')!!} - + {!!icon('youtube', 'YouTube')!!} - + {!!icon('snapchat', 'Snapchat')!!} - + {!!icon('reddit', 'Reddit')!!} - + {!!icon('pinterest', 'Pinterest')!!} {!!icon('telegram', 'Telegram')!!} @@ -320,15 +320,15 @@ if (isset($_COOKIE['LinkCount'])) { {!! icon('behance', 'Behance') !!} {!! icon('dribbble', 'Dribble') !!} - - + + - - + +
- +
From 03e8fdc79aa033f8543e6020f678d023e548b5af Mon Sep 17 00:00:00 2001 From: Julian Prieber Date: Mon, 16 Sep 2024 17:22:14 +0200 Subject: [PATCH 4/4] Added Bluesky icon --- resources/views/studio/links.blade.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/resources/views/studio/links.blade.php b/resources/views/studio/links.blade.php index 8569e6c..bf2a3bb 100755 --- a/resources/views/studio/links.blade.php +++ b/resources/views/studio/links.blade.php @@ -320,6 +320,8 @@ if (isset($_COOKIE['LinkCount'])) { {!! icon('behance', 'Behance') !!} {!! icon('dribbble', 'Dribble') !!} + + {!! icon('bluesky', 'Bluesky') !!}