Add new stickers

This commit is contained in:
Ella 2022-08-25 18:19:23 -04:00
parent fb10cd5e73
commit 1ad41b6159
6 changed files with 1041 additions and 12 deletions

View file

@ -1,14 +1,4 @@
import {
Card,
Box,
Button,
Container,
Flex,
Grid,
Heading,
Image,
Text
} from 'theme-ui'
import { Card, Box, Flex, Grid, Heading, Image, Text } from 'theme-ui'
import Meta from '@hackclub/meta'
import Head from 'next/head'
import Nav from '../components/nav'
@ -190,6 +180,8 @@ export default StickersPage
export const getStaticProps = () => {
const stickersDir = path.join(process.cwd(), 'public', 'stickers')
const stickers = fs.readdirSync(stickersDir).filter(sticker => sticker != "hero.jpg")
const stickers = fs
.readdirSync(stickersDir)
.filter(sticker => sticker != 'hero.jpg')
return { props: { stickers } }
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 559 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 769 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 219 KiB