Skip to content

Commit

Permalink
remove: duplicate metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
danieldanielecki committed Aug 19, 2024
1 parent 6ee3ec3 commit 538756b
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 26 deletions.
8 changes: 0 additions & 8 deletions app/exam/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,4 @@
import { ReactNode } from "react";
import { Metadata } from "next";

export const metadata: Metadata = {
title: "🧪 Practice Exams Platform - Exam | Ditectrev",
openGraph: {
title: "🧪 Practice Exams Platform - Exam | Ditectrev",
},
};

export default function ExamLayout({ children }: { children: ReactNode }) {
return <>{children}</>;
Expand Down
8 changes: 0 additions & 8 deletions app/modes/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,14 +1,6 @@
import { ReactNode } from "react";
import { Metadata } from "next";
import "styles/globals.css";

export const metadata: Metadata = {
title: "🧪 Practice Exams Platform - Modes | Ditectrev",
openGraph: {
title: "🧪 Practice Exams Platform - Modes | Ditectrev",
},
};

type ModesLayoutProps = {
children: ReactNode;
};
Expand Down
8 changes: 0 additions & 8 deletions app/practice/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,4 @@
import { ReactNode } from "react";
import { Metadata } from "next";

export const metadata: Metadata = {
title: "🧪 Practice Exams Platform | Ditectrev",
openGraph: {
title: "🧪 Practice Exams Platform | Ditectrev",
},
};

export default function ExamLayout({ children }: { children: ReactNode }) {
return <>{children}</>;
Expand Down
2 changes: 1 addition & 1 deletion components/TopNav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const TopNav = () => {
height={50}
width={200}
/>
<p className={`windowWidth < 640 ? "text-lg" : "text-sm"`}>
<p className={`windowWidth < 640 ? "text-md" : "text-lg"`}>
🧪 Practice Exams Platform
</p>
</div>
Expand Down
2 changes: 1 addition & 1 deletion public/sw.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 538756b

Please sign in to comment.