Update inpirations/Header component: clean comments
This commit is contained in:
parent
2592b1242d
commit
0b30fd37a9
1 changed files with 1 additions and 4 deletions
|
|
@ -1,22 +1,19 @@
|
||||||
<template>
|
<template>
|
||||||
<header
|
<header
|
||||||
class="flex | text-center"
|
class="flex | text-center"
|
||||||
:style="'--image: url(\'' + inspiration.cover + '\');'"
|
:style="'--image: url(\'' + inspiration.cover + '\')'"
|
||||||
>
|
>
|
||||||
<!-- $inspiration->cover()->url() -->
|
|
||||||
<h2
|
<h2
|
||||||
class="inspiration__title | font-serif | text-lg"
|
class="inspiration__title | font-serif | text-lg"
|
||||||
:class="{ new: inspiration.new }"
|
:class="{ new: inspiration.new }"
|
||||||
>
|
>
|
||||||
{{ inspiration.title }}
|
{{ inspiration.title }}
|
||||||
</h2>
|
</h2>
|
||||||
<!-- $inspiration->title() + class="new" if $inspiration->new()->isTrue() -->
|
|
||||||
<time
|
<time
|
||||||
class="inspiration__date | font-medium | text-sm"
|
class="inspiration__date | font-medium | text-sm"
|
||||||
datatime="2024-04"
|
datatime="2024-04"
|
||||||
>{{ frenchFormattedDate }}</time
|
>{{ frenchFormattedDate }}</time
|
||||||
>
|
>
|
||||||
<!-- $inspiration->date() -->
|
|
||||||
<p class="inspiration__description">
|
<p class="inspiration__description">
|
||||||
{{ inspiration.description }}
|
{{ inspiration.description }}
|
||||||
</p>
|
</p>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue