aboutsummaryrefslogtreecommitdiff
path: root/resources/views
diff options
context:
space:
mode:
authorFrankie B <git@diskfloppy.me>2023-06-14 23:35:47 +0100
committerFrankie B <git@diskfloppy.me>2023-06-14 23:35:47 +0100
commitc7a1b41a19c9091c9d09a70d7003eaa28813eee1 (patch)
tree4aed6cc46556dd1d32bf8394f7b8f4bcb4255355 /resources/views
parente5ac640025d24b14e3a24632a768c789b6085a7f (diff)
fix: make configs serializable
Diffstat (limited to 'resources/views')
-rw-r--r--resources/views/pages/bookmarks.blade.php6
-rw-r--r--resources/views/pages/projects.blade.php8
2 files changed, 7 insertions, 7 deletions
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)
- <h1>{{ $category->name }}</h1>
+ <h1>{{ $category['name'] }}</h1>
<ul>
- @foreach ($category->bookmarks as $bookmark)
- <li><a href="{{ $bookmark->url }}">{{ $bookmark->name }}</a> - {{ $bookmark->description }}</li>
+ @foreach ($category['bookmarks'] as $bookmark)
+ <li><a href="{{ $bookmark['url'] }}">{{ $bookmark['name'] }}</a> - {{ $bookmark['description'] }}</li>
@endforeach
</ul>
@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)
- <h1>{{ $category->name}}</h1>
- @foreach ($category->projects as $project)
+ <h1>{{ $category['name']}}</h1>
+ @foreach ($category['projects'] as $project)
<div>
- <a href="{{ $project->url }}">{{ $project->name }}</a> - {{ $project->description }}<br/>
- <b>Languages:</b> {{ implode(", ", $project->languages) }}
+ <a href="{{ $project['url'] }}">{{ $project['name'] }}</a> - {{ $project['description'] }}<br/>
+ <b>Languages:</b> {{ implode(", ", $project['languages']) }}
</div>
<br/>
@endforeach