Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scaffold regular pages #22

Merged
merged 1 commit into from
Sep 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions app/src/app/faq/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import { PlainPageLayout } from "@/components/layouts/PlainPageLayout";
import { Text } from "@/components/ui/Text";

export default function Faq() {
return (
<PlainPageLayout>
<Text variant="heading/bold">FAQ goes here!</Text>
</PlainPageLayout>
);
}
10 changes: 10 additions & 0 deletions app/src/app/privacy-policy/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import { PlainPageLayout } from "@/components/layouts/PlainPageLayout";
import { Text } from "@/components/ui/Text";

export default function PrivacyPolicy() {
return (
<PlainPageLayout>
<Text variant="heading/bold">Privacy Policy would go here!</Text>
</PlainPageLayout>
);
}
10 changes: 10 additions & 0 deletions app/src/app/terms/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import { PlainPageLayout } from "@/components/layouts/PlainPageLayout";
import { Text } from "@/components/ui/Text";

export default function Terms() {
return (
<PlainPageLayout>
<Text variant="heading/bold">Terms would go here!</Text>
</PlainPageLayout>
);
}
9 changes: 9 additions & 0 deletions app/src/components/layouts/PlainPageLayout.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import { ReactNode } from "react";

export function PlainPageLayout({ children }: { children: ReactNode }) {
return (
<div className="flex-grow border-t border-border-classic">
<div className="container py-Regular">{children}</div>
</div>
);
}