From 97b6935da8d619baeceecdaafe5cce9143ecc8b2 Mon Sep 17 00:00:00 2001
From: Cypro Freelance <110410268+Proxyy587@users.noreply.github.com>
Date: Mon, 1 Jul 2024 14:54:24 +0530
Subject: [PATCH] page title
---
app/(root)/forum/page.tsx | 8 +++++++-
app/(root)/layout.tsx | 20 ++++++++++----------
app/(root)/privacy-policy/page.tsx | 6 ++++++
app/(root)/tos/page.tsx | 5 +++++
4 files changed, 28 insertions(+), 11 deletions(-)
diff --git a/app/(root)/forum/page.tsx b/app/(root)/forum/page.tsx
index 755fa7f..312673e 100644
--- a/app/(root)/forum/page.tsx
+++ b/app/(root)/forum/page.tsx
@@ -1,7 +1,13 @@
import React from "react";
+import { Metadata } from "next";
+
+export const metadata: Metadata = {
+ title: "Forum - SVRJS",
+};
+
const Forum = () => {
- return
Forum
;
+ return Forum
;
};
export default Forum;
diff --git a/app/(root)/layout.tsx b/app/(root)/layout.tsx
index 2a90436..a480ce1 100644
--- a/app/(root)/layout.tsx
+++ b/app/(root)/layout.tsx
@@ -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 (
-
-
- {children}
-
-
- );
+ return (
+
+
+ {children}
+
+
+ );
}
diff --git a/app/(root)/privacy-policy/page.tsx b/app/(root)/privacy-policy/page.tsx
index 7620fd3..02224b3 100644
--- a/app/(root)/privacy-policy/page.tsx
+++ b/app/(root)/privacy-policy/page.tsx
@@ -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 (