style: final prettier run

This commit is contained in:
phthallo 2025-01-28 11:52:08 -05:00
parent cc2c3d25a0
commit 14570cd94a
2 changed files with 20 additions and 10 deletions

View file

@ -1,8 +1,19 @@
import { Box, Text, Image, Link } from 'theme-ui'
const Screen = ({ backgroundImage, title, sxProps, children, expand, expand2}) => {
const Screen = ({
backgroundImage,
title,
sxProps,
children,
expand,
expand2
}) => {
let color = backgroundImage ? '' : '#fff'
let expan = expand2 ? ['100%', null, null, '68vh'] : (expand ? ['100%', null, null, '58vh'] : '58vh') // jank
let expan = expand2
? ['100%', null, null, '68vh']
: expand
? ['100%', null, null, '58vh']
: '58vh' // jank
let props = Object.assign(
{},
{

View file

@ -1,10 +1,4 @@
import {
Box,
Link,
Heading,
Image,
Text
} from 'theme-ui'
import { Box, Link, Heading, Image, Text } from 'theme-ui'
import Meta from '@hackclub/meta'
import Countdown from 'react-countdown'
@ -458,7 +452,12 @@ function Page({ carouselCards }) {
<Polaroid
image="https://cloud-k3x2sjgmj-hack-club-bot.vercel.app/0sprig-front.jpeg"
caption="Sprig, an open-source game console"
sxProps={{ width: ['100%', null, '80%'], marginX: 'auto', position: "relative" }}/>
sxProps={{
width: ['100%', null, '80%'],
marginX: 'auto',
position: 'relative'
}}
/>
</Box>
</Box>