Remove article headings from the home page
Remove "Neueste Artikel" and "Alle Artikel" headings from the home page component. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 413891e8-d784-4bea-b9f5-91a5a68316b4 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Event-Id: bb4ae8e0-9451-4593-be16-2c284f75a8f3 Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/f209e72a-0939-48fa-84fc-57854de71967/413891e8-d784-4bea-b9f5-91a5a68316b4/kmpcO4B Replit-Helium-Checkpoint-Created: true
This commit is contained in:
parent
072a47a69a
commit
5357f3dd33
@ -17,7 +17,6 @@ function FeaturedSection({ articles }: { articles: Article[] }) {
|
||||
|
||||
return (
|
||||
<section className="mb-12" data-testid="featured-carousel">
|
||||
<h2 className="text-primary font-semibold text-xl mb-5" data-testid="text-featured-heading">Neueste Artikel</h2>
|
||||
<div className="grid grid-cols-1 lg:grid-cols-5 gap-5">
|
||||
<Link href={`/article/${hero.slug}`} className="lg:col-span-3">
|
||||
<div
|
||||
@ -196,9 +195,6 @@ export default function Home() {
|
||||
|
||||
<div className="grid grid-cols-1 lg:grid-cols-3 gap-8">
|
||||
<div className="lg:col-span-2">
|
||||
<h2 className="text-primary font-semibold text-xl mb-5" data-testid="text-articles-heading">
|
||||
Alle Artikel
|
||||
</h2>
|
||||
{isLoading ? (
|
||||
<div className="grid grid-cols-1 md:grid-cols-2 gap-6">
|
||||
{Array.from({ length: 4 }).map((_, i) => (
|
||||
|
||||
Loading…
Reference in New Issue
Block a user