aboutsummaryrefslogtreecommitdiff
path: root/resources/views
diff options
context:
space:
mode:
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