mirror of
https://github.com/System-End/site.git
synced 2026-04-19 22:05:11 +00:00
Hide items from client (#1231)
* update cards & add modals * filter items sent to client * fix faq typo --------- Co-authored-by: Dillon Barnes <dillonb07dev@gnmail.com>
This commit is contained in:
parent
a34a7d3924
commit
07010143b8
1 changed files with 3 additions and 4 deletions
|
|
@ -899,7 +899,6 @@ function thinkingWords() {
|
|||
|
||||
const Arcade = ({
|
||||
stickers = [],
|
||||
inventory = [],
|
||||
carousel = [],
|
||||
highlightedItems = []
|
||||
}) => {
|
||||
|
|
@ -1802,7 +1801,7 @@ const Arcade = ({
|
|||
>
|
||||
<FAQ
|
||||
question="Who is eligible?"
|
||||
answer="You need to be a high schooler (or younger). You just need a GitHub accound & a Slack account to participate. Different prizes have different country restrictions."
|
||||
answer="You need to be a high schooler (or younger). You just need a GitHub account & a Slack account to participate. Different prizes have different country restrictions."
|
||||
/>
|
||||
<FAQ
|
||||
question="What types of projects count?"
|
||||
|
|
@ -1814,7 +1813,7 @@ const Arcade = ({
|
|||
/>
|
||||
<FAQ
|
||||
question="How much does it cost?"
|
||||
answer="100% free– all the prizes are donated to us or paid for by us! Some shipments may have customs charges that we can't cover depending on your country."
|
||||
answer="100% free – all the prizes are donated to us or paid for by us! Some shipments may have customs charges that we can't cover depending on your country."
|
||||
/>
|
||||
<FAQ
|
||||
question="I need help!"
|
||||
|
|
@ -1903,6 +1902,7 @@ export async function getStaticProps() {
|
|||
.filter(sticker => sticker !== 'hero.jpg')
|
||||
|
||||
const items = await shopParts()
|
||||
|
||||
const carousel = items
|
||||
.filter(item => item['Enabled Carousel'])
|
||||
.map(record => ({
|
||||
|
|
@ -1918,7 +1918,6 @@ export async function getStaticProps() {
|
|||
return {
|
||||
props: {
|
||||
stickers,
|
||||
inventory: items,
|
||||
highlightedItems,
|
||||
carousel
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue