Skip to content

Commit

Permalink
fix(side-pages): fixed dark mode text, added footer to pages
Browse files Browse the repository at this point in the history
  • Loading branch information
ImJustChew committed Aug 22, 2024
1 parent c45e0f7 commit 8d817f5
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/app/[lang]/(mods-pages)/(side-pages)/contribute/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,12 @@ import {
import Link from "next/link";
import ContributeComment from "./ContributeComment";
import IssueFormDialog from "@/components/Forms/IssueFormDialog";
import Footer from "@/components/Footer";

const ContributePage = () => {
return (
<div className="px-4">
<article className="prose">
<article className="prose prose-neutral dark:prose-invert">
<h1>Be a Contributor</h1>
<p>
NTHUMods is a 100% pure student-led, open source project. We rely on
Expand Down Expand Up @@ -104,6 +105,7 @@ const ContributePage = () => {
</Link>
</Button>
</article>
<Footer />
</div>
);
};
Expand Down
4 changes: 3 additions & 1 deletion src/app/[lang]/(mods-pages)/(side-pages)/issues/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { Codepen, Database, Globe } from "lucide-react";
import Link from "next/link";
import EmptyIssueForm from "./EmptyIssueForm";
import { Separator } from "@/components/ui/separator";
import Footer from "@/components/Footer";

const IssueButton = ({
title,
Expand All @@ -27,7 +28,7 @@ const IssueButton = ({

const IssuesPage = () => {
return (
<div className="flex flex-col max-w-2xl px-4 prose">
<div className="flex flex-col max-w-2xl px-4 prose prose-neutral dark:prose-invert">
<h1>Report an Issue</h1>
<div id="dataissue" className="flex flex-col">
{/* Explainer of the data sources */}
Expand Down Expand Up @@ -74,6 +75,7 @@ const IssuesPage = () => {
{/* Data issue form */}
</div>
<EmptyIssueForm />
<Footer />
</div>
);
};
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { Metadata } from "next";
import Footer from "@/components/Footer";

export const metadata: Metadata = {
title: "隱私權政策 Privacy Policy",
Expand Down Expand Up @@ -194,6 +195,7 @@ const PrivacyPolicyENPage = () => {
discrepancies are found, please refer to the Chinese Version.
</p>
</article>
<Footer />
</div>
);
};
Expand Down
2 changes: 2 additions & 0 deletions src/app/[lang]/(mods-pages)/(side-pages)/proxy-login/page.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import Script from "next/script";
import Footer from "@/components/Footer";

const ProxyLoginExplainer = () => {
return (
Expand Down Expand Up @@ -110,6 +111,7 @@ const ProxyLoginExplainer = () => {
</p>
</article>
<Footer />
</div>
);
};
Expand Down
8 changes: 8 additions & 0 deletions src/app/[lang]/(mods-pages)/(side-pages)/team/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@ import { Button } from "@/components/ui/button";
import { Github, Link2, LinkedinIcon } from "lucide-react";
import Link from "next/link";
import team from "@/const/team.json";
import Footer from "@/components/Footer";

/**
* Woah woah did you stumble here? Is this because you wanna join us!
*
* Leave your name at ./const/team.json and let everyone remember who you are!
*/

const Team = () => {
return (
Expand Down Expand Up @@ -123,6 +130,7 @@ const Team = () => {
))}
</div>
</article>
<Footer />
</div>
);
};
Expand Down

0 comments on commit 8d817f5

Please sign in to comment.