From 312837e6fdf006f7dfedd492b8959a2cd13f0002 Mon Sep 17 00:00:00 2001 From: HolgerHatGarKeineNode Date: Sun, 7 Dec 2025 06:44:02 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=8B=20Improve=20service=20links=20sect?= =?UTF-8?q?ion:=20Add=20copy-to-clipboard=20functionality=20for=20IP=20and?= =?UTF-8?q?=20URLs,=20remove=20unnecessary=20`whitespace-pre-wrap`=20class?= =?UTF-8?q?,=20and=20display=20"Anonymous"=20when=20appropriate.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../livewire/services/landingpage.blade.php | 93 +++++++++++++------ 1 file changed, 67 insertions(+), 26 deletions(-) diff --git a/resources/views/livewire/services/landingpage.blade.php b/resources/views/livewire/services/landingpage.blade.php index 091e58d..d1049b5 100644 --- a/resources/views/livewire/services/landingpage.blade.php +++ b/resources/views/livewire/services/landingpage.blade.php @@ -87,7 +87,7 @@ class extends Component { @if($service->intro) {{ __('Beschreibung') }} -
+
{{ $service->intro }}
@@ -97,7 +97,7 @@ class extends Component { @if($service->contact) {{ __('Kontakt') }} -
+
{{ $service->contact }}
@@ -109,34 +109,75 @@ class extends Component { {{ __('Zugriff') }} -
+
@if($service->url_clearnet) - - - Clearnet - +
+ + + Clearnet + +
+ + {{ __('Copy') }} + +
+
@endif @if($service->url_onion) - - - Onion / Tor - +
+ + + Onion / Tor + +
+ + {{ __('Copy') }} + +
+
@endif @if($service->url_i2p) - - - I2P - +
+ + + I2P + +
+ + {{ __('Copy') }} + +
+
@endif @if($service->url_pkdns) - - - pkdns - +
+ + + pkdns + +
+ + {{ __('Copy') }} + +
+
+ @endif + @if($service->ip) +
+
+ + {{ $service->ip }} +
+
+ + {{ __('Copy') }} + +
+
@endif
@@ -148,13 +189,13 @@ class extends Component {
{{ __('Erstellt von') }}
- @if($service->createdBy) + @if($service->anon || !$service->createdBy) + {{ __('Anonymous') }} + @else
{{ $service->createdBy->name }}
- @else - {{ __('Anonymous') }} @endif