Unification

This commit is contained in:
2024-03-24 23:35:50 +01:00
parent f062f3eaf9
commit 296fe40085
11 changed files with 36 additions and 39 deletions

View File

@@ -47,12 +47,9 @@ const tags = await getTags();
<TagComponent tag={tag} transition:name={`${tag}-tag-filter`} />
))}
</div>
<hr>
{posts.map((post, index) => (
<div>
<PostComponent post={post}/>
{index !== posts.length - 1 &&
<hr/>}
</div>
))}
</PageLayout>

View File

@@ -63,12 +63,9 @@ const {posts, tag} = Astro.props;
<TagComponent tag={tag} noLink="true" transition:name={`${tag}-tag-filter`}/>
</a>
</div>
<hr>
{posts.map((post, index) => (
<div>
<PostComponent post={post}/>
{index !== posts.length - 1 &&
<hr/>}
</div>
))}
</PageLayout>

View File

@@ -117,19 +117,19 @@ function mapMap<T, K, J>(i: Map<T, K>, fn: (key: T, value: K) => J): J[] {
<Card client:idle>
<Archive heigth="64" width="64"/>
<h1>{t("home.benefits.historic.title")}</h1>
<p>{t("home.benefits.historic.description.1")}</p>
<p>{t("home.benefits.historic.description.2")}</p>
<p class="mt-4">{t("home.benefits.historic.description.1")}</p>
<p class="mt-4">{t("home.benefits.historic.description.2")}</p>
</Card>
<Card client:idle>
<Rocket heigth="64" width="64"/>
<h1>{t("home.benefits.server.title")}</h1>
<p>{t("home.benefits.server.description")}</p>
<p class="mt-4">{t("home.benefits.server.description")}</p>
</Card>
<Card client:idle>
<Bell heigth="64" width="64"/>
<h1>{t("home.benefits.events.title")}</h1>
<p>{t("home.benefits.events.description.1")}</p>
<p>{t("home.benefits.events.description.2")}</p>
<p class="mt-4">{t("home.benefits.events.description.1")}</p>
<p class="mt-4">{t("home.benefits.events.description.2")}</p>
</Card>
</div>
<a class="btn px-8 flex" href={l("/about")}>{t("home.benefits.read")}

View File

@@ -16,7 +16,7 @@ const publics = await getCollection("publics");
<Card extraClasses="w-full mx-0">
<div class="flex justify-center">
<XRayPreview client:load>
<Image slot="normal" src={pub.data.image} alt={pub.data.name} transition:name={pub.data.id + "-img"} />
<Image style="width: 500px" slot="normal" src={pub.data.image} alt={pub.data.name} transition:name={pub.data.id + "-img"} />
{pub.data.xray && <Image slot="xray" src={pub.data.xray} alt={pub.data.name} />}
</XRayPreview>
</div>