Skip to content

Commit f11a7ad

Browse files
committed
fine ill use next
1 parent 85cb7c3 commit f11a7ad

5 files changed

Lines changed: 2 additions & 8 deletions

File tree

src/app/about/actual/page.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
/* eslint-disable @next/next/no-img-element */
22
"use client";
33

4-
import SetColor from "@/components/SetColor";
54
import Link from "next/link";
65

76
export default function ActualAbout() {
87
return (
98
<div className="flex flex-col items-center gap-5">
10-
<SetColor />
119
<h1 className="text-5xl text-primary overflow-hidden">About me</h1>
1210
<h2 className="justify-center text-3xl w-fit text-secondary overflow-hidden">
1311
(for real this time)

src/app/about/page.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
"use client";
22

3-
import SetColor from "@/components/SetColor";
43
import Link from "next/link";
54

65
export default function About() {
76
return (
87
<div className="flex flex-col items-center gap-5">
9-
<SetColor />
108
<h1 className="text-5xl text-primary overflow-hidden">About me</h1>
119
<h2 className="justify-center text-3xl w-fit text-secondary overflow-hidden">
1210
i am probably a human person

src/app/games/page.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
"use client";
22

33
import GamesButton from "@/components/GamesButton";
4-
import SetColor from "@/components/SetColor";
54
import { useSearchParams } from "next/navigation";
65

76
export default function GamesClient() {
@@ -14,7 +13,6 @@ export default function GamesClient() {
1413
} else {
1514
return (
1615
<div className="flex flex-col items-center gap-5">
17-
<SetColor />
1816
<h1 className="justify-center text-7xl w-fit text-primary overflow-hidden">
1917
Games
2018
</h1>

src/app/layout.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import SetColor from "@/components/SetColor";
12
import SwitcherLink from "@/components/SwitcherLink";
23
import { Metadata } from "next";
34
import "./globals.css";
@@ -23,6 +24,7 @@ export default function RootLayout({
2324
</nav>
2425
</header>
2526

27+
<SetColor />
2628
<main className="grow content-center">{children}</main>
2729
</body>
2830
</html>

src/app/page.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
"use client";
22

3-
import SetColor from "@/components/SetColor";
43
import { useEffect, useRef, useState } from "react";
54

65
const splashArray: Array<string> = [
@@ -107,7 +106,6 @@ export default function Home() {
107106

108107
return (
109108
<div className="flex flex-col items-center gap-5">
110-
<SetColor />
111109
<h1 className="justify-center text-7xl w-fit text-primary overflow-hidden font-fancy">
112110
Precontation
113111
</h1>

0 commit comments

Comments
 (0)