feat: v3.2.0 - custom themes & curated themes

This commit is contained in:
diced 2021-08-26 12:33:18 -07:00
commit aeb2638d1e
No known key found for this signature in database
GPG key ID: 85AB64C74535D76E
2 changed files with 6 additions and 7 deletions

View file

@ -210,12 +210,12 @@ export default function Layout({ children, user, loading, noPaper }) {
id='zipline-user-menu'
anchorEl={anchorEl}
open={open}
onClose={handleClose}
onClose={handleClose(null)}
MenuListProps={{
'aria-labelledby': 'basic-button',
}}
>
<MenuItem>
<MenuItem disableRipple>
<Typography variant='h5'>
<b>{user.username}</b>
</Typography>
@ -335,12 +335,12 @@ export default function Layout({ children, user, loading, noPaper }) {
id='zipline-user-menu'
anchorEl={anchorEl}
open={open}
onClose={handleClose}
onClose={handleClose(null)}
MenuListProps={{
'aria-labelledby': 'basic-button',
}}
>
<MenuItem>
<MenuItem disableRipple>
<Typography variant='h5'>
<b>{user.username}</b>
</Typography>
@ -414,4 +414,4 @@ export default function Layout({ children, user, loading, noPaper }) {
</Box>
</Box>
);
}
}

View file

@ -6,7 +6,6 @@ import config from 'lib/config';
import prisma from 'lib/prisma';
export default function EmbeddedImage({ image, title, username, color, normal, embed }) {
console.log(normal, embed);
const dataURL = (route: string) => `${route}/${image.file}`;
return (
@ -89,4 +88,4 @@ export const getServerSideProps: GetServerSideProps = async (context) => {
embed: config.uploader.embed_route
}
};
};
};