Skip to content

Commit

Permalink
fix #174, fix #101, fix #99, fix #98, fix #95 (#190)
Browse files Browse the repository at this point in the history
* fix #174, fix #101, fix #99, fix #98

* fix #174, fix #101, fix #99, fix #98, fix #95
  • Loading branch information
FlorinZarafu authored Aug 1, 2023
1 parent 28fe510 commit 42e3c07
Show file tree
Hide file tree
Showing 7 changed files with 205 additions and 207 deletions.
32 changes: 4 additions & 28 deletions app/Http/Controllers/AdminBBTemporary.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,36 +11,12 @@ class AdminBBTemporary extends Controller
public function about()
{
$content = [
[
'id' => 1,
'img' => '/images/project_img.png',
'author' => 'Ion Popescu',
'name' => 'Importanța educației remediare în România în timpul pandemiei',
'team' => 'Echipa BCR',
'content' => 'Lorem ipsum dolor sit amet consectetur adipisicing elit. Architecto accusantium praesentium eius, ut atque fuga culpa, similique sequi cum eos quis dolorum.',
'date' => '15.02.2022',
],
[
'id' => 2,
'img' => '/images/project_img.png',
'author' => 'Ion Popescu',
'name' => 'Importanța educației remediare în România în timpul pandemiei',
'team' => 'Echipa BCR',
'content' => 'Lorem ipsum dolor sit amet consectetur adipisicing elit. Architecto accusantium praesentium eius, ut atque fuga culpa, similique sequi cum eos quis dolorum.',
'date' => '15.02.2022',
],
[
'id' => 3,
'img' => '/images/project_img.png',
'author' => 'Ion Popescu',
'name' => 'Importanța educației remediare în România în timpul pandemiei',
'team' => 'Echipa BCR',
'content' => 'Lorem ipsum dolor sit amet consectetur adipisicing elit. Architecto accusantium praesentium eius, ut atque fuga culpa, similique sequi cum eos quis dolorum.',
'date' => '15.02.2022',
],
'title' => 'Despre Bursa Binelui',
'subtitle' => 'Despre subtitle',
'body' => 'content'
];

return Inertia::render('Public/Home', [
return Inertia::render('Public/About', [
'content' => $content,
]);
}
Expand Down
Binary file added public/images/civic_tech.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions public/images/svg/filtres.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 23 additions & 0 deletions resources/js/Pages/Public/About.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<template>
<PageLayout>
<!-- Inertia page head -->
<Head :title="$t('regional_rules_title')" />
<div class="w-full mx-auto space-y-9 lg:max-w-7xl p-9">
<h1 class="text-6xl font-bold text-cyan-900">{{ content?.title }}</h1>
<h2 class="text-lg font-semibold text-gray-700">{{ content?.subtitle }}</h2>
<div v-html="content?.body"></div>
</div>
</PageLayout>
</template>

<script setup>
/** Import from inertia. */
import { Head } from '@inertiajs/vue3';

/** Import components. */
import PageLayout from '@/Layouts/PageLayout.vue';

const props = defineProps({
content: Object
})
</script>
Loading

0 comments on commit 42e3c07

Please sign in to comment.