The page about the project has been revived.
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
@section('meta_title', __('site.Project') . ': ' . $content->title)
|
||||
@section('h1', $content->title)
|
||||
|
||||
<x-site.layout :project="$project" :language="$language">
|
||||
{!! $content->description !!}
|
||||
</x-site.layout>
|
@@ -0,0 +1,18 @@
|
||||
@section('meta_title', __('site.Projects'))
|
||||
|
||||
<x-home-layout>
|
||||
<h1>{{ __('site.Projects') }}</h1>
|
||||
<ul class="projects-list">
|
||||
@foreach($projects as $project)
|
||||
@php
|
||||
$logo = $project->getStorageOne(\App\Enums\StorageType::Logo);
|
||||
@endphp
|
||||
<li>
|
||||
<a href="{{ \App\Enums\Site\ProjectSection::Home->url($project) }}">
|
||||
<span class="projects-list__img">@if($logo)<img src="{{ $logo->url }}" alt="{{ $project->name }}">@endif</span>
|
||||
<span class="projects-list__title">{{ $project->name }}</span>
|
||||
</a>
|
||||
</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
</x-home-layout>
|
Reference in New Issue
Block a user