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

Added rewards page structure #617

Merged
merged 2 commits into from
Oct 10, 2024
Merged
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
4 changes: 4 additions & 0 deletions src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import {
Schedule,
Sponsors,
Submission,
Rewards,
} from './pages'
import GlobalStyle from './theme/GlobalStyle'
import ThemeProvider from './theme/ThemeProvider'
Expand Down Expand Up @@ -128,6 +129,9 @@ function App() {
<PageRoute path="/livestream">
<Livestream />
</PageRoute>
<PageRoute path="/rewards">
<Rewards />
</PageRoute>
<PageRoute path="/sponsors">
<Sponsors />
</PageRoute>
Expand Down
1 change: 1 addition & 0 deletions src/components/Sidebar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@ const Sidebar = ({
{ location: '/', text: 'Home' },
{ location: '/schedule', text: 'Schedule' },
{ location: '/livestream', text: 'Livestream' },
{ location: '/rewards', text: 'Rewards' },
{ location: '/sponsors', text: 'Sponsors' },
],
// Tools
Expand Down
3 changes: 3 additions & 0 deletions src/containers/Rewards.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
const Rewards = () => {}

export default Rewards
8 changes: 8 additions & 0 deletions src/pages/Rewards.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import React from 'react'
import Reward from '../containers/Rewards'

const Rewards = () => {
return <Reward />
}

export default Rewards
2 changes: 2 additions & 0 deletions src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import ApplicationForm from './Application/Form'
import ApplicationReview from './Application/Review'
import ApplicationConfirmation from './Application/Confirmation'
import Livestream from './Livestream'
import Rewards from './Rewards'

export {
NotFound,
Expand All @@ -32,6 +33,7 @@ export {
JudgingAdmin,
DiscordBot,
Livestream,
Rewards,
Gallery,
JudgingView,
Submission,
Expand Down
11 changes: 5 additions & 6 deletions src/theme/ThemeProvider.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ const hackcampTheme = {
...base,
name: 'hackcamp',
colors: {
background: 'linear-gradient(0deg, #94D6EF, #94D6EF)',
backgroundSecondary: '#75AEE2',
background: '#371315',
backgroundSecondary: '#770B42',
backgroundTertiary: 'linear-gradient(180deg, #F9C745 0%, #FF880F 100%)',
text: '#45171A',
text: '#FFF',
textSecondary: '#01033D',
highlight: '#45171A',
warning: '#D04E51',
Expand Down Expand Up @@ -102,10 +102,9 @@ const hackcampTheme = {

// schedule
schedule: {
background:
'linear-gradient(180deg, rgba(0, 163, 224, 0.6) 0%, rgba(255, 248, 229, 0.6) 99.98%)',
background: 'linear-gradient(180deg, #00A3E0 0%, #FFF8E5 99.98%)',
mainEventTag: '#00A3E0',
workshopTag: '#F3F3F3',
workshopTag: '#F7891A',
activityTag: '#A9158D',
lines: '#FFFFFF',
},
Expand Down
Loading