fix: top-align homepage section links

This commit is contained in:
2026-10-02 13:47:07 +03:30
parent 0514fca42a
commit 7da500ed97
2 changed files with 2 additions and 2 deletions

View File

@@ -25,7 +25,7 @@ export default function FeaturedEvents({ content, events, isArchive }: FeaturedE
return ( return (
<section className="py-14 md:py-20" aria-labelledby="home-events-title"> <section className="py-14 md:py-20" aria-labelledby="home-events-title">
<div className="container mx-auto px-4"> <div className="container mx-auto px-4">
<div className="mb-7 flex flex-col gap-3 sm:flex-row sm:items-end sm:justify-between md:mb-9"> <div className="mb-7 flex flex-col gap-3 sm:flex-row sm:items-start sm:justify-between md:mb-9">
<div className="max-w-2xl"> <div className="max-w-2xl">
<h2 id="home-events-title" className="text-2xl font-bold leading-relaxed text-foreground md:text-3xl"> <h2 id="home-events-title" className="text-2xl font-bold leading-relaxed text-foreground md:text-3xl">
{content.featured_events_heading} {content.featured_events_heading}

View File

@@ -61,7 +61,7 @@ export default function FeaturedPosts({ content, siteContent, posts }: FeaturedP
return ( return (
<section className="border-y border-border/70 bg-brand-wash/55 py-14 md:py-20" aria-labelledby="home-posts-title"> <section className="border-y border-border/70 bg-brand-wash/55 py-14 md:py-20" aria-labelledby="home-posts-title">
<div className="container mx-auto px-4"> <div className="container mx-auto px-4">
<div className="mb-7 flex flex-col gap-3 sm:flex-row sm:items-end sm:justify-between md:mb-9"> <div className="mb-7 flex flex-col gap-3 sm:flex-row sm:items-start sm:justify-between md:mb-9">
<div className="max-w-2xl"> <div className="max-w-2xl">
<h2 id="home-posts-title" className="text-2xl font-bold leading-relaxed text-foreground md:text-3xl"> <h2 id="home-posts-title" className="text-2xl font-bold leading-relaxed text-foreground md:text-3xl">
{content.featured_posts_heading} {content.featured_posts_heading}