diff --git a/src/app/(app)/page.tsx b/src/app/(app)/page.tsx
deleted file mode 100644
index 6504f55..0000000
--- a/src/app/(app)/page.tsx
+++ /dev/null
@@ -1,17 +0,0 @@
-import FAQs from "@/components/faqs";
-import { Header } from "@/components/header";
-import { Footer } from "@/components/footer";
-import { MainView } from "@/components/main-view";
-import { PrimaryFeatures } from "@/components/primary-features";
-
-export default function HomePage() {
- return (
- <>
-
-
-
-
-
- >
- )
-}
diff --git a/src/app/page.tsx b/src/app/page.tsx
new file mode 100644
index 0000000..9804ca0
--- /dev/null
+++ b/src/app/page.tsx
@@ -0,0 +1,15 @@
+import { FAQs } from "@/components/faqs";
+import { Header } from "@/components/header";
+import { Footer } from "@/components/footer";
+import { HeroSection } from "@/components/hero-section";
+import { PrimaryFeatures } from "@/components/primary-features";
+
+export default function RootPage() {
+ <>
+
+
+
+
+
+ >;
+}
diff --git a/src/components/faqs.tsx b/src/components/faqs.tsx
index 8fbb72a..a17da04 100644
--- a/src/components/faqs.tsx
+++ b/src/components/faqs.tsx
@@ -1,6 +1,6 @@
import { useTranslations } from "next-intl";
-export default function FAQs() {
+const FAQs = () => {
const t = useTranslations("HomePage.FAQs");
const faqs = [
@@ -23,7 +23,7 @@ export default function FAQs() {
id: 4,
question: t("questions.question4"),
answer: t("questions.answer4"),
- }
+ },
];
return (
@@ -53,4 +53,6 @@ export default function FAQs() {
);
-}
+};
+
+export { FAQs };
diff --git a/src/components/footer.tsx b/src/components/footer.tsx
index 7106c45..4ae49d0 100644
--- a/src/components/footer.tsx
+++ b/src/components/footer.tsx
@@ -20,7 +20,7 @@ const navigation = {
],
};
-export function Footer() {
+const Footer = () => {
return (
);
-}
+};
+
+export { Footer };
diff --git a/src/components/header.tsx b/src/components/header.tsx
index a9c2f6c..d7309aa 100644
--- a/src/components/header.tsx
+++ b/src/components/header.tsx
@@ -4,7 +4,7 @@ import { Container } from "@/components/container";
import { ThemeToggle } from "@/components/theme-toggle";
import { LanguageSettings } from "@/components/language-settings";
-export async function Header() {
+const Header = () => {
return (
);
-}
+};
+
+export { Header };
diff --git a/src/components/main-view.tsx b/src/components/hero-section.tsx
similarity index 88%
rename from src/components/main-view.tsx
rename to src/components/hero-section.tsx
index 1a49829..c43687c 100644
--- a/src/components/main-view.tsx
+++ b/src/components/hero-section.tsx
@@ -6,7 +6,7 @@ import { Button } from "@/components/ui/button";
import { Container } from "@/components/container";
import { TypingEffect } from "@/components/typing-effect";
-export function MainView() {
+const HeroSection = () => {
const t = useTranslations("HomePage.MainView");
return (
@@ -29,17 +29,13 @@ export function MainView() {
className="rounded-2xl bg-muted text-muted-foreground shadow hover:bg-muted/50"
asChild
>
-
- {t("quickStart")}
-
+ {t("quickStart")}
@@ -59,4 +55,6 @@ export function MainView() {
);
-}
+};
+
+export { HeroSection };
diff --git a/src/components/primary-features.tsx b/src/components/primary-features.tsx
index 13d4a84..c6b52f5 100644
--- a/src/components/primary-features.tsx
+++ b/src/components/primary-features.tsx
@@ -93,7 +93,7 @@ const LSPCard = () => {
);
};
-export function PrimaryFeatures() {
+const PrimaryFeatures = () => {
const t = useTranslations("HomePage.PrimaryFeatures");
return (
@@ -110,4 +110,6 @@ export function PrimaryFeatures() {
);
-}
+};
+
+export { PrimaryFeatures };