From c69447a9c168c347da26fe213f8975c898cb28a8 Mon Sep 17 00:00:00 2001 From: Dariusz Niemczyk Date: Sun, 13 Apr 2025 15:40:59 +0200 Subject: [PATCH] fix: unused section --- src/components/landing-page.tsx | 24 +----------------------- 1 file changed, 1 insertion(+), 23 deletions(-) diff --git a/src/components/landing-page.tsx b/src/components/landing-page.tsx index b7932d4..a2376b3 100644 --- a/src/components/landing-page.tsx +++ b/src/components/landing-page.tsx @@ -5,6 +5,7 @@ import dynamic from 'next/dynamic'; import { jgs7 } from '@/fonts'; +import { Lang } from '@/i18n/locales'; import { Translations } from "@/i18n/translations"; import { cn } from "@/lib/utils"; import { ReactElement, useEffect, useRef } from "react"; @@ -12,7 +13,6 @@ import { MainpageNav } from './nav'; import { NewsletterPopup } from './newsletter-form'; import { useTheme } from "./providers"; import { Skeleton } from './ui/skeleton'; -import { Lang } from '@/i18n/locales'; function Heading({ children }: { children: ReactElement | string }) { return

{children}

@@ -56,28 +56,6 @@ function NewSection({ ) } -function Section({ - id, - title, - paragraphs, - after -}: { - id: string - title: string; - paragraphs: ReactElement; - after?: ReactElement; -}) { - return (
-
-

{title}

-
- {paragraphs} -
- {after} -
-
) -} - function getSource({ src, type