The page about the project has been revived.

This commit is contained in:
2024-04-18 19:41:31 +05:00
parent 63ea5dac92
commit 24e0cf0eea
42 changed files with 1126 additions and 6 deletions

View File

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

View File

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