page title

This commit is contained in:
Cypro Freelance 2024-07-01 14:54:24 +05:30
parent e83783a1c7
commit 97b6935da8
4 changed files with 28 additions and 11 deletions

View file

@ -1,7 +1,13 @@
import React from "react";
import { Metadata } from "next";
export const metadata: Metadata = {
title: "Forum - SVRJS",
};
const Forum = () => {
return <div>Forum</div>;
return <div>Forum</div>;
};
export default Forum;

View file

@ -3,19 +3,19 @@ import Navbar from "@/components/shared/Navbar";
import { Metadata } from "next";
export const metadata: Metadata = {
title: "Home - SVRJS",
title: "Home - SVRJS",
};
export default function PageLayout({
children,
children,
}: {
children: React.ReactNode;
children: React.ReactNode;
}) {
return (
<main className="flex flex-col min-h-screen">
<Navbar />
<div className="flex-grow flex-1">{children}</div>
<Footer />
</main>
);
return (
<main className="flex flex-col min-h-screen">
<Navbar />
<div className="flex-grow flex-1">{children}</div>
<Footer />
</main>
);
}

View file

@ -2,6 +2,12 @@ import { PRIVACY_POLICY } from "@/constants/guidelines";
import React from "react";
import ReactMarkdown from "react-markdown";
import { Metadata } from "next";
export const metadata: Metadata = {
title: "Privacy Policy - SVRJS",
};
const PrivacyPolicy = () => {
return (
<section

View file

@ -1,5 +1,10 @@
import ReactMarkdown from "react-markdown";
import { TERMS_AND_CONDITIONS } from "@/constants/guidelines";
import { Metadata } from "next";
export const metadata: Metadata = {
title: "Terms Of Service - SVRJS",
};
const TermsOfService = () => {
return (