mirror of
https://github.com/System-End/site.git
synced 2026-04-20 00:25:19 +00:00
Add new stickers
This commit is contained in:
parent
fb10cd5e73
commit
1ad41b6159
6 changed files with 1041 additions and 12 deletions
|
|
@ -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 } }
|
||||
}
|
||||
|
|
|
|||
BIN
public/stickers/game_lab.png
Normal file
BIN
public/stickers/game_lab.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 14 KiB |
BIN
public/stickers/game_lab_flask.png
Normal file
BIN
public/stickers/game_lab_flask.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 14 KiB |
539
public/stickers/sinerider_blue.svg
Normal file
539
public/stickers/sinerider_blue.svg
Normal file
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 559 KiB |
498
public/stickers/sinerider_pink.svg
Normal file
498
public/stickers/sinerider_pink.svg
Normal file
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 769 KiB |
BIN
public/stickers/some_assembly_required.png
Normal file
BIN
public/stickers/some_assembly_required.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 219 KiB |
Loading…
Add table
Reference in a new issue