fix: make configs serializable

This commit is contained in:
Frankie B 2023-06-14 23:35:47 +01:00
commit c7a1b41a19
No known key found for this signature in database
8 changed files with 175 additions and 207 deletions

View file

@ -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