This repository has been archived by the owner on Nov 2, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
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
1 parent
dce3cbc
commit 761298f
Showing
5 changed files
with
159 additions
and
28 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
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
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
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,93 @@ | ||
import { Box, Typography } from '@mui/material'; | ||
import React from 'react'; | ||
import MasonryCard from '~/components/Nolla/Card'; | ||
import ProfileCard from '~/components/Nolla/ProfileCard'; | ||
import NollaLayout from '~/components/Nolla/layout'; | ||
import theme from '~/components/Nolla/theme'; | ||
import useNollaTranslate from '~/components/Nolla/useNollaTranslate'; | ||
import genGetProps from '~/functions/genGetServerSideProps'; | ||
|
||
function Row({ children }) { | ||
return ( | ||
<Box | ||
sx={{ | ||
display: 'flex', | ||
justifyContent: 'space-evenly', | ||
width: '100%', | ||
flexWrap: 'wrap', | ||
gap: 4, | ||
}} | ||
> | ||
{children} | ||
</Box> | ||
); | ||
} | ||
|
||
function Staben() { | ||
const translate = useNollaTranslate(); | ||
|
||
return ( | ||
<Box | ||
sx={{ | ||
display: 'flex', | ||
flexDirection: 'column', | ||
gap: 4, | ||
}} | ||
> | ||
<Box sx={{ maxWidth: '65ch', margin: 'auto' }}> | ||
<MasonryCard> | ||
<Typography variant="h4">{translate('staben.title')}</Typography> | ||
<Typography variant="body1">{translate('staben.text')}</Typography> | ||
</MasonryCard> | ||
</Box> | ||
|
||
<Row> | ||
<ProfileCard | ||
name={( | ||
<> | ||
<div>Øverphøs</div> | ||
<div>Zira Ca||isto</div> | ||
</> | ||
)} | ||
desc={translate('staben.zira')} | ||
image="/images/nolla/nollning_logo_small.png" | ||
/> | ||
<ProfileCard | ||
name="HyperI/On eClipse" | ||
desc={translate('staben.hyperion')} | ||
image="/images/nolla/nollning_logo_small.png" | ||
/> | ||
<ProfileCard | ||
name="Noctus AeterNUM" | ||
desc={translate('staben.noctus')} | ||
image="/images/nolla/nollning_logo_small.png" | ||
/> | ||
<ProfileCard | ||
name="AlUXio Ray" | ||
desc={translate('staben.aluxio')} | ||
image="/images/nolla/nollning_logo_small.png" | ||
/> | ||
<ProfileCard | ||
name="Adrastea VolatiliON" | ||
desc={translate('staben.adrastea')} | ||
image="/images/nolla/nollning_logo_small.png" | ||
/> | ||
<ProfileCard | ||
name="DeimOS Valo" | ||
desc={translate('staben.deimos')} | ||
image="/images/nolla/nollning_logo_small.png" | ||
/> | ||
</Row> | ||
</Box> | ||
); | ||
} | ||
|
||
export const getStaticProps = genGetProps(['nolla']); | ||
|
||
Staben.getLayout = function getLayout({ children }) { | ||
return <NollaLayout>{children}</NollaLayout>; | ||
}; | ||
|
||
Staben.theme = theme; | ||
|
||
export default Staben; |
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