Skip to content

Commit

Permalink
Hygiene + co (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
manolisliolios authored Sep 30, 2024
1 parent aeb3066 commit 820e267
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 0 deletions.
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>
);
}

0 comments on commit 820e267

Please sign in to comment.