svrjs-nextjs-website/app/(root)/page.tsx

57 lines
1.8 KiB
TypeScript
Raw Normal View History

2024-06-15 14:55:33 +02:00
import About from "@/components/shared/About";
2024-06-15 18:41:36 +02:00
import Faq from "@/components/shared/FAQ";
2024-06-15 14:55:33 +02:00
import Hero from "@/components/shared/Hero";
import Features from "@/components/shared/Features";
2024-06-15 17:30:51 +02:00
import Newsletter from "@/components/shared/Newsletter";
import DemoVideo from "@/components/shared/DemoVideo";
2024-07-23 19:08:18 +02:00
import Testimonials from "@/components/shared/Testimonials";
2024-11-25 08:42:23 +01:00
import { Metadata } from "next";
// baseURL [ENV]
export const metadata: Metadata = {
title: "SVR.JS - a web server running on Node.JS",
description:
"Host your websites with SVR.JS - a free, open-source, scalable, and secure web server built on Node.JS. Supports JavaScript and PHP applications.",
alternates: { canonical: `${process.env.NEXT_PUBLIC_WEBSITE_URL}` },
openGraph: {
title: "SVR.JS - a web server running on Node.JS",
description:
"Host your websites with SVR.JS - a free, open-source, scalable, and secure web server built on Node.JS. Supports JavaScript and PHP applications.",
url: `${process.env.NEXT_PUBLIC_WEBSITE_URL}`,
type: "website",
images: [
{
url: `${process.env.NEXT_PUBLIC_WEBSITE_URL}/metadata/svrjs-cover.png`,
width: 800,
height: 600,
alt: "SVR.JS - a web server running on Node.JS"
}
]
},
twitter: {
card: "summary_large_image",
site: "@SVR_JS",
title: "SVR.JS - a web server running on Node.JS",
description:
"Host your websites with SVR.JS - a free, open-source, scalable, and secure web server built on Node.JS. Supports JavaScript and PHP applications.",
images: [`${process.env.NEXT_PUBLIC_WEBSITE_URL}/metadata/svrjs-cover.png`],
creator: "@SVR_JS"
}
};
2024-06-15 14:55:33 +02:00
const RootPage = () => {
return (
<>
<Hero />
<Features />
<Testimonials />
<DemoVideo />
<About />
<Faq />
<Newsletter />
</>
);
2024-06-15 14:55:33 +02:00
};
export default RootPage;