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 React from "react";
import { Metadata } from "next";
export const metadata: Metadata = {
title: "Forum - SVRJS",
};
const Forum = () => { const Forum = () => {
return <div>Forum</div>; return <div>Forum</div>;
}; };
export default Forum; export default Forum;

View file

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

View file

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

View file

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