-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Nick Grato
committed
Oct 2, 2023
1 parent
9e05364
commit 7ba869e
Showing
2 changed files
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
@use '../../styles/core/boilerplate' as *; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: {}, | ||
}; | ||
} |