Skip to content

Commit 4d12afe

Browse files
UPDATE: config file basepath, corresponding changes made for paths in necessary files
1 parent 7588250 commit 4d12afe

6 files changed

Lines changed: 16 additions & 14 deletions

File tree

blogs/UMDCTF2025.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ An outstanding effort from our team representing Maastricht University on the gl
1919

2020
Congratulations to the entire team - onwards and upwards!
2121

22-
![Art](/ctf_team.jpeg)
22+
![Art](/Platform/ctf_team.jpeg)

blogs/hackathondebut.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ The project was met with great feedback for its technical ambition, thoughtful d
1818

1919
We’re proud of our team for pushing boundaries and stepping confidently into the world of hackathons. More to come. 🚀
2020

21-
![Art](/hackathon_team.jpeg)
21+
![Art](/Platform/hackathon_team.jpeg)

next.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ import type { NextConfig } from "next";
33
const nextConfig: NextConfig = {
44
/* config options here */
55
//
6-
//basePath: "/maasec.com",
7-
output: 'export',
6+
basePath: "/Platform",
7+
//output: 'export',
88
reactStrictMode: true,
99
//assetPrefix: "/maasec.com/"
1010
};

src/app/components/Navbar.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ import Image from "next/image";
33
import Link from "next/link";
44

55
const navItems = [
6-
{ label: "Our Events", id: "/Calendar"},
7-
{ label: "FAQ", id: "/FAQ"},
8-
{ label: "Blog", id: "/Blog"},
9-
{ label: "Announcements", id: "/Announcements"}
6+
{ label: "Our Events", id: "/Platform/Calendar"},
7+
{ label: "FAQ", id: "/Platform/FAQ"},
8+
{ label: "Blog", id: "/Platform/Blog"},
9+
{ label: "Announcements", id: "/Platform/Announcements"}
1010
];
1111

1212
export default function Navbar() {
@@ -15,7 +15,7 @@ export default function Navbar() {
1515
<nav className="container mx-auto px-4 py-4 flex justify-between items-center">
1616
<div className="flex items-center gap-2">
1717
<Link href="/">
18-
<Image src="/acm.svg" alt="ACM logo" width={64} height={64} />
18+
<Image src="/Platform/acm.svg" alt="ACM logo" width={64} height={64} />
1919
<span className="font-archivo font-bold text-xl text-black">
2020
at Maastricht University
2121
</span>

src/app/layout.tsx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
import "./globals.css";
2+
import type { Metadata } from 'next';
3+
import { ReactNode } from 'react';
24

35
/*
46
const geistSans = Geist({
@@ -10,12 +12,12 @@ const geistMono = Geist_Mono({
1012
variable: "--font-geist-mono",
1113
subsets: ["latin"],
1214
});
15+
*/
1316

1417
export const metadata: Metadata = {
15-
title: "Create Next App",
16-
description: "Generated by create next app",
18+
title: "Maasec.com",
19+
description: "Official website of ACM Student chapter MaaSec",
1720
};
18-
*/
1921

2022
export default function RootLayout({
2123
children,

src/app/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,10 +158,10 @@ export default function Home() {
158158
<Github className="w-10 h-10 inline text-black" />
159159
</a>
160160
<a href="https://discord.com/invite/ghpWe7wawV" className="text-white hover:bg-gray-200 transition-colors">
161-
<Image src="/discord.svg" alt = "discord" className="w-10 h-10 inline" width={64} height={64} />
161+
<Image src="/Platform/discord.svg" alt = "discord" className="w-10 h-10 inline" width={64} height={64} />
162162
</a>
163163
<a href="https://ctftime.org/team/365940" className="text-white hover:bg-gray-200 transition-colors">
164-
<Image src="/ctftime.png" alt = "ctftime" className="w-10 h-10 inline" width={64} height={64} />
164+
<Image src="/Platform/ctftime.png" alt = "ctftime" className="w-10 h-10 inline" width={64} height={64} />
165165
</a>
166166
</div>
167167
</section>

0 commit comments

Comments
 (0)