Skip to content

Commit

Permalink
new pages
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick Grato committed Oct 2, 2023
1 parent 9e05364 commit 7ba869e
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 0 deletions.
1 change: 1 addition & 0 deletions client/pages/analytics/analytics.module.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@use '../../styles/core/boilerplate' as *;
38 changes: 38 additions & 0 deletions client/pages/analytics/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
import Head from 'next/head';
import styles from './analytics.module.scss';
import Card from '@Shared/Card/Card';

type SandboxPropsT = {};

/**
* This modal is used to sandbox code. feel free to play, this will
* not show up on prod
*/
const Sandbox = ({}: SandboxPropsT) => {
return (
<div className="page_wrapper">
<Head>
<title>Sandbox</title>
</Head>
<main>
<div className="p-80">
<Card size="large">
<h1>Analytics</h1>
</Card>
</div>
</main>
</div>
);
};

export default Sandbox;

export async function getStaticProps() {
if (process.env.ENV === 'prod') {
return { notFound: true };
}

return {
props: {},
};
}

0 comments on commit 7ba869e

Please sign in to comment.