From c7a1b41a19c9091c9d09a70d7003eaa28813eee1 Mon Sep 17 00:00:00 2001 From: Frankie B Date: Wed, 14 Jun 2023 23:35:47 +0100 Subject: fix: make configs serializable --- resources/views/pages/bookmarks.blade.php | 6 +++--- resources/views/pages/projects.blade.php | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'resources/views/pages') diff --git a/resources/views/pages/bookmarks.blade.php b/resources/views/pages/bookmarks.blade.php index e7630c7..b0fc464 100644 --- a/resources/views/pages/bookmarks.blade.php +++ b/resources/views/pages/bookmarks.blade.php @@ -4,10 +4,10 @@ @section('description', 'This is the personal homepage of floppydisk.') @section('content') @foreach ($categories as $category) -

{{ $category->name }}

+

{{ $category['name'] }}

@endforeach diff --git a/resources/views/pages/projects.blade.php b/resources/views/pages/projects.blade.php index dcb3c43..8280fef 100644 --- a/resources/views/pages/projects.blade.php +++ b/resources/views/pages/projects.blade.php @@ -4,11 +4,11 @@ @section('description', 'This is the personal homepage of floppydisk.') @section('content') @foreach ($categories as $category) -

{{ $category->name}}

- @foreach ($category->projects as $project) +

{{ $category['name']}}

+ @foreach ($category['projects'] as $project)
- {{ $project->name }} - {{ $project->description }}
- Languages: {{ implode(", ", $project->languages) }} + {{ $project['name'] }} - {{ $project['description'] }}
+ Languages: {{ implode(", ", $project['languages']) }}

@endforeach -- cgit v1.2.3-54-g00ecf