Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: remove the trail from the home page #1383

Closed
wants to merge 3 commits into from
Closed
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
9 changes: 3 additions & 6 deletions pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ import Workshops from '../components/index/cards/workshops'
import HCB from '../components/index/cards/hcb'
import Hackathons from '../components/index/cards/hackathons'
import OuternetImgFile from '../public/home/outernet-110.jpg'
import Announcement from '../components/announcement'
import Konami from 'react-konami-code'
import JSConfetti from 'js-confetti'
import Secret from '../components/secret'
Expand All @@ -40,7 +39,6 @@ import Photo from '../components/photo'
import Comma from '../components/comma'
import Haxidraw from '../components/index/cards/haxidraw'
import Onboard from '../components/index/cards/onboard'
import Trail from '../components/index/cards/trail'

/** @jsxImportSource theme-ui */

Expand Down Expand Up @@ -670,7 +668,6 @@ function Page({
</Text>
</Box>
<Pizza />
<Trail />
<Slack slackKey={slackKey} data={slackData} events={events} />
</Box>
</Box>
Expand Down Expand Up @@ -1270,9 +1267,9 @@ export async function getStaticProps() {

let events = []
try {
await fetch(
'https://events.hackclub.com/api/events/upcoming/'
).then(res => res.json())
await fetch('https://events.hackclub.com/api/events/upcoming/').then(res =>
res.json()
)
} catch (error) {
console.error('Error fetching events:', error)
}
Expand Down
Loading