Skip to content

Commit 538756b

Browse files
remove: duplicate metadata
1 parent 6ee3ec3 commit 538756b

File tree

5 files changed

+2
-26
lines changed

5 files changed

+2
-26
lines changed

app/exam/layout.tsx

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,4 @@
11
import { ReactNode } from "react";
2-
import { Metadata } from "next";
3-
4-
export const metadata: Metadata = {
5-
title: "🧪 Practice Exams Platform - Exam | Ditectrev",
6-
openGraph: {
7-
title: "🧪 Practice Exams Platform - Exam | Ditectrev",
8-
},
9-
};
102

113
export default function ExamLayout({ children }: { children: ReactNode }) {
124
return <>{children}</>;

app/modes/layout.tsx

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,6 @@
11
import { ReactNode } from "react";
2-
import { Metadata } from "next";
32
import "styles/globals.css";
43

5-
export const metadata: Metadata = {
6-
title: "🧪 Practice Exams Platform - Modes | Ditectrev",
7-
openGraph: {
8-
title: "🧪 Practice Exams Platform - Modes | Ditectrev",
9-
},
10-
};
11-
124
type ModesLayoutProps = {
135
children: ReactNode;
146
};

app/practice/layout.tsx

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,4 @@
11
import { ReactNode } from "react";
2-
import { Metadata } from "next";
3-
4-
export const metadata: Metadata = {
5-
title: "🧪 Practice Exams Platform | Ditectrev",
6-
openGraph: {
7-
title: "🧪 Practice Exams Platform | Ditectrev",
8-
},
9-
};
102

113
export default function ExamLayout({ children }: { children: ReactNode }) {
124
return <>{children}</>;

components/TopNav.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ const TopNav = () => {
3939
height={50}
4040
width={200}
4141
/>
42-
<p className={`windowWidth < 640 ? "text-lg" : "text-sm"`}>
42+
<p className={`windowWidth < 640 ? "text-md" : "text-lg"`}>
4343
🧪 Practice Exams Platform
4444
</p>
4545
</div>

public/sw.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)