Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 43 additions & 3 deletions pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ import {
Grid,
Heading,
Link,
Text
Text,
Image
} from 'theme-ui'
import React, { useEffect, useRef, useState } from 'react'
import Head from 'next/head'
Expand Down Expand Up @@ -209,7 +210,15 @@ function Page({
property="og:logo"
content="https://assets.hackclub.com/icon-rounded.png"
size="512x512"
/>
/>
<style>{`
@font-face {
font-family: 'Wack Club Sans';
src: url('https://cloud-599nblthw-hack-club-bot.vercel.app/0wackclubsans-regular.woff2')
format('woff2'),

}
`}</style>
</Head>
<ForceTheme theme="light" />
<Nav />
Expand Down Expand Up @@ -551,7 +560,37 @@ function Page({
</Link>
.
</Text>
<Grid columns={[1, 1, 1, '2.5fr 3fr']} gap={[0, 3, 4]} pt={[3, 4]}>
<Text
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What if we used Wack Club Sans as the font?

as="p"
sx={{
fontSize: ['18px', '20px', '22px'],
lineHeight: '20px',
pb: [3, 3, 4],
ml: '-150px',
maxWidth: '62ch',
position: 'absolute',
transform: 'rotate(-25deg)',
textAlign: 'center',
fontWeight: 'bold',
fontFamily: 'Wack Club Sans, sans-serif'
}}
>
Click to see
<br></br>
more!
<br></br>
<Image src="/home/arrow.png"
sx={{
position: 'absolute',
width: '50%',
pt: '5px',
}}
>

</Image>
</Text>

<Grid columns={['2.5fr 3fr']} gap={[0, 3, 4]} pt={[3, 4]}>
<Box
sx={{
position: 'relative',
Expand All @@ -565,6 +604,7 @@ function Page({
<Box
sx={{ position: 'absolute', width: '100%', height: '100%' }}
>

<Box
sx={{
position: 'relative',
Expand Down
Binary file added public/home/arrow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.