diff --git a/app/Http/Controllers/TickerController.php b/app/Http/Controllers/TickerController.php index 9a5646c..e3a1f34 100644 --- a/app/Http/Controllers/TickerController.php +++ b/app/Http/Controllers/TickerController.php @@ -9,10 +9,19 @@ use Illuminate\Support\Facades\Auth; class TickerController extends Controller { - public function showEditTicker(){ + public function deleteTicker(Request $request){ + if(Auth::check()){ + } + abort(404); } + public function addTicker(Request $request){ + if(Auth::check()){ + + } + abort(404); + } public static function getTicker(){ $t = ""; diff --git a/lang/de/app.php b/lang/de/app.php index 3aba321..7a6eddf 100644 --- a/lang/de/app.php +++ b/lang/de/app.php @@ -16,5 +16,14 @@ return [ 'news' => 'Neuigkeiten', 'contact' => 'Kontakt', 'imprint' => 'Impressum', + ], + 'about' => [ + 'subtitle' => 'Unbeschwertes Einreisen in die stationären sowie temporären CCC Bezirksregionen', + 'text1' => 'Das C3Gov bietet Ihnen die Ausstellung unserer zertifizierten Reisedokumente an, mit denen Sie unbeschwert in die stationär sowie temporär bestehenden Bezirksregionen des CCC einreisen und Ihren Aufenthalt verifizieren lassen können.', + 'text2' => 'Unser Team setzt bei dem Ausstellen auf hochqualitative Stempel und neuste Technik. Ob Hacker*innen-Reisepass oder Junghackerpass - unser stets motiviertes Team hilft Ihnen gerne weiter.', + 'text3' => 'Jetzt neu', + 'text4' => 'Um unsere Internetpräsenz zu erweitern, können Sie uns jetzt auch im Fediversum besuchen.', + 'text5' => 'Klicken Sie dafür auf diesen Verweis:', + 'insertvideo' => '*Hier Werbefilm einfügen*' ] ]; diff --git a/lang/en/app.php b/lang/en/app.php index 06b6078..99c8188 100644 --- a/lang/en/app.php +++ b/lang/en/app.php @@ -16,5 +16,14 @@ return [ 'imprint' => 'Imprint', 'contact' => 'Contact', 'news' => 'News', + ], + 'about' => [ + 'subtitle' => 'Hassle-Free Entry into CCC’s Permanent and Temporary District Regions', + 'text1' => 'C3Gov offers you the issuance of our certified travel documents, which allow you to enter the CCC’s permanent and temporary district regions hassle-free and have your stay verified.', + 'text2' => 'Our team uses high-quality stamps and the latest technology when issuing these documents.', + 'text3' => 'NEW!!!', + 'text4' => 'To expand our online presence, you can now also visit us on the Fediverse.', + 'text5' => 'To do so, click on this link:', + 'insertvideo' => '*Insert promotional video here*' ] ]; diff --git a/public/css/style.css b/public/css/style.css index 947450f..6e81987 100644 --- a/public/css/style.css +++ b/public/css/style.css @@ -1,6 +1,6 @@ .header { - background-color: darkred; + background-color: #999; } .banner { @@ -9,7 +9,7 @@ } .language { - background-color: #f8b803; + background-color: #ccc; } #logo { @@ -18,7 +18,7 @@ } .ticker { - background-color: #0f0; + background-color: #0c0; min-height: 2vh; } @@ -29,13 +29,13 @@ .navbar { - background-color: pink; + background-color: #ccc; min-height: 80vh; } .content { - background-color: aqua; + background-color: #dcccaa; min-height: 80vh; } diff --git a/public/js/ticker/edit.js b/public/js/ticker/edit.js index 566d9fe..020b288 100644 --- a/public/js/ticker/edit.js +++ b/public/js/ticker/edit.js @@ -1,5 +1,9 @@ function remove(lang){ - + let s = []; + $("#ticker_" + lang).each(function(){ + s.push($(this).val()); + }); + console.log(JSON.stringify(s)); } function insert(lang){ diff --git a/resources/views/content/about.blade.php b/resources/views/content/about.blade.php index 0ea8b70..5ad6b49 100644 --- a/resources/views/content/about.blade.php +++ b/resources/views/content/about.blade.php @@ -3,5 +3,22 @@ @endsection @section('content') +
+ {{ __('app.about.text2') }} +
+
{{ __('app.about.text5') }} https://chaos.social/@c3gov
+
+
+
+
+
+
+ {{ __('app.about.insertvideo') }}
@endsection