feat: v3.2.0 - custom themes & curated themes
This commit is contained in:
commit
aeb2638d1e
2 changed files with 6 additions and 7 deletions
|
@ -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>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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
|
||||
}
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue