mirror of
https://github.com/System-End/site.git
synced 2026-04-19 16:28:21 +00:00
style: final prettier run
This commit is contained in:
parent
cc2c3d25a0
commit
14570cd94a
2 changed files with 20 additions and 10 deletions
|
|
@ -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(
|
||||
{},
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue