mirror of
https://github.com/System-End/site.git
synced 2026-04-19 16:28:21 +00:00
Add flavorless (#1809)
flavorless Co-authored-by: Echo <github@3kh0.net>
This commit is contained in:
parent
2e8cf96c59
commit
5385ea4707
3 changed files with 100 additions and 0 deletions
89
components/index/cards/flavorless.js
Normal file
89
components/index/cards/flavorless.js
Normal file
|
|
@ -0,0 +1,89 @@
|
|||
import CardModel from './card-model'
|
||||
import { Box, Flex, Grid, Image, Text } from 'theme-ui'
|
||||
|
||||
/** @jsxImportSource theme-ui */
|
||||
|
||||
export default function Flavorless() {
|
||||
return (
|
||||
<CardModel
|
||||
color="black"
|
||||
sx={{
|
||||
background: 'white',
|
||||
borderRadius: '0px',
|
||||
border: '2px solid black',
|
||||
boxShadow: 'none'
|
||||
}}
|
||||
position={[null, 'bottom', 'bottom']}
|
||||
visible={true}
|
||||
>
|
||||
<Grid
|
||||
columns={[1, 1, '1.5fr 1fr']}
|
||||
sx={{
|
||||
position: 'relative',
|
||||
alignItems: 'center',
|
||||
zIndex: 2,
|
||||
paddingInline: '50px'
|
||||
}}
|
||||
>
|
||||
<Box sx={{ textAlign: ['left', 'left', 'left'] }}>
|
||||
<Text
|
||||
as="h1"
|
||||
sx={{
|
||||
fontFamily: 'Times New Roman, serif',
|
||||
fontSize: ['32px', '40px'],
|
||||
fontWeight: 'normal',
|
||||
mb: 2,
|
||||
display: 'block',
|
||||
textAlign: 'left',
|
||||
textDecoration: 'none'
|
||||
}}
|
||||
>
|
||||
flavorless
|
||||
</Text>
|
||||
|
||||
<Text
|
||||
variant="subtitle"
|
||||
sx={{
|
||||
fontFamily: 'Times New Roman, serif',
|
||||
color: 'black',
|
||||
fontSize: ['16px', '18px'],
|
||||
fontWeight: 'normal',
|
||||
lineHeight: 1.5,
|
||||
mb: 3,
|
||||
display: 'block',
|
||||
textAlign: 'left'
|
||||
}}
|
||||
>
|
||||
design the most functionally unstyled website you can imagine!
|
||||
javascript allowed, <s>css</s> forbidden.
|
||||
</Text>
|
||||
<a href="https://flavorless.hackclub.com/?utm_source=site-card">
|
||||
<button>pass the salt</button>
|
||||
</a>
|
||||
</Box>
|
||||
|
||||
<Flex sx={{ justifyContent: 'center', alignItems: 'center' }}>
|
||||
<Box
|
||||
sx={{
|
||||
position: 'relative',
|
||||
height: '200px',
|
||||
width: '100%',
|
||||
display: ['none', 'none', 'block', 'block']
|
||||
}}
|
||||
>
|
||||
<Image
|
||||
alt="flavorless logo"
|
||||
src="https://raw.githubusercontent.com/hackclub/flavorless/refs/heads/main/logo.png"
|
||||
sx={{
|
||||
position: 'absolute',
|
||||
top: '-10px',
|
||||
right: '0px',
|
||||
width: '200px'
|
||||
}}
|
||||
/>
|
||||
</Box>
|
||||
</Flex>
|
||||
</Grid>
|
||||
</CardModel>
|
||||
)
|
||||
}
|
||||
|
|
@ -34,6 +34,15 @@
|
|||
"link": "https://flagship.hackclub.com/?utm_source=c-carousel",
|
||||
"tag": "Game Jam"
|
||||
},
|
||||
{
|
||||
"background": "white",
|
||||
"titleColor": "black",
|
||||
"descriptionColor": "black",
|
||||
"title": "flavorless",
|
||||
"description": "design the most functionally unstyled website you can imagine! javascript allowed, css forbidden.",
|
||||
"img": "https://raw.githubusercontent.com/hackclub/flavorless/refs/heads/main/logo.png",
|
||||
"link": "https://flavorless.hackclub.com/?utm_source=site-carousel"
|
||||
},
|
||||
{
|
||||
"background": "#C76B0F",
|
||||
"titleColor": "#F6D193",
|
||||
|
|
|
|||
|
|
@ -43,6 +43,7 @@ import Blueprint from '../components/index/cards/blueprint'
|
|||
import CampfireFlagship from '../components/index/cards/campfire-flagship'
|
||||
import Milkyway from '../components/index/cards/milkyway'
|
||||
import Flavortown from '../components/index/cards/flavortown'
|
||||
import Flavorless from '../components/index/cards/flavorless'
|
||||
import Aces from '../components/index/cards/aces'
|
||||
import CTAS from '../components/index/ctas'
|
||||
/** @jsxImportSource theme-ui */
|
||||
|
|
@ -861,6 +862,7 @@ function Page({
|
|||
<CampfireFlagship />
|
||||
<Milkyway />
|
||||
<Aces />
|
||||
<Flavorless />
|
||||
|
||||
<Slack slackKey={slackKey} data={slackData} events={events} />
|
||||
</Box>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue