Skip to content

Commit 402e46b

Browse files
committed
fix formatting isues
1 parent 634ae8e commit 402e46b

File tree

3 files changed

+48
-30
lines changed

3 files changed

+48
-30
lines changed

src/app/footer.tsx

Lines changed: 42 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,49 @@
1-
import { Bai_Jamjuree, Inter } from 'next/font/google';
1+
import { Bai_Jamjuree } from 'next/font/google';
22
import NebulaLogo from 'src/app/nebula-logo';
33

44
const baiJamjuree = Bai_Jamjuree({ subsets: ['latin'], weight: '700' });
55

66
export default function Footer() {
7-
return (
8-
<footer className="w-full border-none bg-orange-400 rounded-t-3xl py-4 text-center flex flex-col gap-10">
9-
<div className="flex flex-row justify-center items-center gap-4 mb-2">
10-
<NebulaLogo className="w-14 h-14" />
11-
<div className={`text-4xl text-white align-bottom ${baiJamjuree.className}`}>NEBULA LABS NOTEBOOK</div>
12-
</div>
13-
<div className="flex flex-row justify-center items-center gap-30 mb-2 ml-20">
14-
<a href= ""
15-
className="text-white text-decoration-underline cursor-pointer text-2xl font-bold">About Us
16-
</a>
7+
return (
8+
<footer className="flex w-full flex-col gap-10 rounded-t-3xl border-none bg-orange-400 py-4 text-center">
9+
<div className="mb-2 flex flex-row items-center justify-center gap-4">
10+
<NebulaLogo className="h-14 w-14" />
11+
<div
12+
className={`align-bottom text-4xl text-white ${baiJamjuree.className}`}
13+
>
14+
NEBULA LABS NOTEBOOK
15+
</div>
16+
</div>
17+
<div className="mb-2 ml-20 flex flex-row items-center justify-center gap-30">
18+
<a
19+
href=""
20+
className="text-decoration-underline cursor-pointer text-2xl font-bold text-white"
21+
>
22+
About Us
23+
</a>
1724

18-
<a href= "https://github.com/UTDNebula/utd-notebook"
19-
className="text-white text-decoration-underline cursor-pointer text-2xl font-bold" target="_blank" rel="noopener noreferrer">GitHub
20-
</a>
25+
<a
26+
href="https://github.com/UTDNebula/utd-notebook"
27+
className="text-decoration-underline cursor-pointer text-2xl font-bold text-white"
28+
target="_blank"
29+
rel="noopener noreferrer"
30+
>
31+
GitHub
32+
</a>
2133

22-
<a href= "https://www.utdnebula.com/contact"
23-
className="text-white text-decoration-underline cursor-pointer text-2xl font-bold" target="_blank" rel="noopener noreferrer">Contact
24-
</a>
25-
</div>
26-
<div className="bg-white h-0.5 w-6/13 mx-auto rounded-full"></div>
27-
<div className="text-white text-sm mb-2">© 2023-2025 Nebula Labs Maintainers. Open-source under the MIT License.</div>
28-
</footer>
29-
);
30-
}
34+
<a
35+
href="https://www.utdnebula.com/contact"
36+
className="text-decoration-underline cursor-pointer text-2xl font-bold text-white"
37+
target="_blank"
38+
rel="noopener noreferrer"
39+
>
40+
Contact
41+
</a>
42+
</div>
43+
<div className="mx-auto h-0.5 w-6/13 rounded-full bg-white"></div>
44+
<div className="mb-2 text-sm text-white">
45+
© 2023-2025 Nebula Labs Maintainers. Open-source under the MIT License.
46+
</div>
47+
</footer>
48+
);
49+
}

src/app/layout.tsx

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,10 @@ export const metadata: Metadata = {
2525
template: '%s - UTD NOTEBOOK',
2626
default: 'UTD NOTEBOOK',
2727
},
28-
description:
29-
'',
28+
description: '',
3029
openGraph: {
3130
title: 'UTD Notebook',
32-
description:
33-
'',
31+
description: '',
3432
type: 'website',
3533
},
3634
twitter: {
@@ -52,7 +50,9 @@ export default function RootLayout({
5250
}) {
5351
return (
5452
<html lang="en">
55-
<body className={`bg-white dark:bg-black ${inter.variable} font-main ${baiJamjuree.variable} text-haiti dark:text-white`}>
53+
<body
54+
className={`bg-white dark:bg-black ${inter.variable} font-main ${baiJamjuree.variable} text-haiti dark:text-white`}
55+
>
5656
{children}
5757
{process.env.NEXT_PUBLIC_VERCEL_ENV === 'production' && (
5858
<GoogleAnalytics gaId="G-" />
@@ -61,5 +61,4 @@ export default function RootLayout({
6161
</body>
6262
</html>
6363
);
64-
6564
}

src/app/nebula-logo.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ export default function NebulaLogo(props: Props) {
2828
<path d="m66.452 182.33c-0.032-2.548 1.318-4.499 3.71-5.246 0.721-0.225 1.488-0.346 2.242-0.399 4.09-0.286 4.104-0.273 4.316-4.624 0.074-1.516 0.462-2.893 1.443-4.059 2.48-2.948 7.016-2.374 8.729 1.092 0.675 1.366 0.813 2.837 0.663 4.3-0.248 2.424 0.571 3.571 3.094 3.294 0.986-0.108 2.035 0.053 3.015 0.278 2.713 0.624 4.347 2.701 4.308 5.32-0.04 2.69-1.925 4.812-4.65 5.36-1.8 0.363-4.06-0.781-5.338 0.718-1.133 1.33-0.181 3.516-0.527 5.296-0.532 2.734-2.738 4.762-5.253 4.796-2.585 0.036-4.83-2.072-5.387-4.963-0.341-1.766 0.672-3.947-0.623-5.246-1.288-1.293-3.413-0.278-5.146-0.595-2.816-0.516-4.561-2.504-4.596-5.323z" />
2929
</svg>
3030
);
31-
}
31+
}

0 commit comments

Comments
 (0)