From 4ea38a2b1f3e0fe9061bf58e5c9d5cfa9f6d8db0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20V=C3=B6lkl?= Date: Mon, 8 May 2023 21:59:48 +0200 Subject: [PATCH] . --- content/author.blade.php | 136 ------------------ content/contents/default.blade.php | 112 ++++++++++++++- content/includes/nav.blade.php | 16 ++- content/includes/scripts.blade.php | 14 +- content/pages/create-theme.blade.php | 2 +- .../{api.blade.php => themes-api.blade.php} | 2 +- content/users/default.blade.php | 78 ++++++++++ users/authors.blade.php | 0 8 files changed, 200 insertions(+), 160 deletions(-) delete mode 100644 content/author.blade.php rename content/pages/{api.blade.php => themes-api.blade.php} (93%) create mode 100644 content/users/default.blade.php delete mode 100644 users/authors.blade.php diff --git a/content/author.blade.php b/content/author.blade.php deleted file mode 100644 index 8002a5f..0000000 --- a/content/author.blade.php +++ /dev/null @@ -1,136 +0,0 @@ -@extends('template.'.config('settings.template').'.content.master') -@section('content') - - - - - -
- -
- - @if(empty($author->cover_image)) -
- -
- @else -
-
- @endif - - -
- -
- -
- - -
-
-

{{ $author->name }}

- -
- -
- {{ $author->description }} - -
-
-
-
-
-
-
-
- - -
- - - @if ($nachrichten->count() == 0) -
-
-
-
-
-
- Currently there are no public themes by this Author available. -
-
-
-
-
-
-
-
-
-
-
-
- - - @else -
- - - @foreach($nachrichten as $nach) - - -
- -
- - @if ($nach->image) - - @else - - @endif - -
-

{{$nach->title}}

-
- Logo {{ $nach->user->name }} - {{ $nach->user->name }} - -

- {!! isset($nach->data_fields['short_description'])?$nach->data_fields['short_description']:'keine Angaben' !!} -

- - -
- -
- - - - -
- - - - - - - @endforeach - -
- {!! $nachrichten->onEachSide(1)->fragment("latest_jobs")->render() !!} -
- - - -
- @endif -
- - -
- - -@stop - - - diff --git a/content/contents/default.blade.php b/content/contents/default.blade.php index 646f665..61effaf 100644 --- a/content/contents/default.blade.php +++ b/content/contents/default.blade.php @@ -1,7 +1,6 @@ @extends('template.'.config('settings.template').'.content.master') @section('content') -
@@ -13,6 +12,7 @@ +
@@ -23,12 +23,18 @@
- Stay focusd notebooks, pinning notes to the top of the note list, etc + {{$content->short_description}}
- + + + + Install Theme + + +
@@ -51,7 +57,7 @@
- Create an unconventional yet user-friendly website – innovative, with a clean & simple design that communicates and showcases multi-media content. Site that spreads the message: "It’s stories your love.” + {{$content->description}}
@@ -210,6 +216,104 @@
+ + + + @stop diff --git a/content/includes/nav.blade.php b/content/includes/nav.blade.php index 49c20f5..b286700 100644 --- a/content/includes/nav.blade.php +++ b/content/includes/nav.blade.php @@ -27,18 +27,18 @@ @@ -48,8 +48,14 @@ + + Publish Theme + + + + diff --git a/content/includes/scripts.blade.php b/content/includes/scripts.blade.php index b826336..069129d 100644 --- a/content/includes/scripts.blade.php +++ b/content/includes/scripts.blade.php @@ -1,18 +1,6 @@ - - - - - - - - - - - - - +