Unification
This commit is contained in:
@@ -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>
|
||||
@@ -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>
|
||||
@@ -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")}
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user