mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 03:29:51 +02:00
feat: today embeds
This commit is contained in:
1 parent
8f6388b42b
commit
438feefa83
8 files changed
+48
-10
No files matched your search
@@ -3,9 +3,10 @@ import { theme } from '../stitches.config.js';
|
||||
|
||||
export interface WrapperProps {
|
||||
children: ReactNode;
|
||||
naked?: boolean;
|
||||
}
|
||||
|
||||
export default function Wrapper({ children }: WrapperProps) {
|
||||
export default function Wrapper({ children, naked }: WrapperProps) {
|
||||
return (
|
||||
<div
|
||||
style={{
|
||||
@@ -14,8 +15,11 @@ export default function Wrapper({ children }: WrapperProps) {
|
||||
padding: 16,
|
||||
gap: 32,
|
||||
width: 640,
|
||||
background: 'url(https://i.imgur.com/PhS06NJ.png)',
|
||||
color: theme.colors.textHighContrast,
|
||||
|
||||
...(!naked && {
|
||||
background: 'url(https://i.imgur.com/PhS06NJ.png)',
|
||||
}),
|
||||
}}
|
||||
>
|
||||
{children}
|
||||
|
||||
Reference in new issue
Block a user