mirror of
https://github.com/diced/zipline.git
synced 2026-01-15 22:32:56 -08:00
feat: v3.2.0 - custom themes & curated themes
This commit is contained in:
@@ -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
|
||||
}
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user