Skip to content

Commit

Permalink
Event
Browse files Browse the repository at this point in the history
  • Loading branch information
ashwud committed Feb 22, 2024
1 parent b503281 commit f48e31d
Show file tree
Hide file tree
Showing 12 changed files with 318 additions and 256 deletions.
4 changes: 2 additions & 2 deletions src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import About from './pages/about/About'
import Robots from './pages/robots/robots'
import Resources from './pages/resources/Resources'
import Sponsors from './pages/sponsors/Sponsors'
import Members from './pages/members/Members'
import Event from './pages/event/Event'
import Media from './pages/media/Media'
import Blogs from './pages/Blogs/Blogs'
import Blog from './pages/Blog'
Expand All @@ -24,7 +24,7 @@ const App = () => {
<Route path='media' element={<Media/>}/>
<Route path='resources' element={<Resources/>}/>
<Route path='sponsors' element={<Sponsors/>}/>
<Route path='members' element={<Members/>}/>
<Route path='event' element={<Event/>}/>
<Route path='blackbird' element={<Blackbird/>}/>
<Route path='blogs' element={<Blogs/>}/>
<Route path='/blog/:id' component={Blog} />
Expand Down
2 changes: 2 additions & 0 deletions src/components/Footer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,11 @@ const Footer = () => {
<article>
<h4>Permalinks</h4>
<Link to="/about">About</Link>
<Link to="/media">Media</Link>
<Link to="/robots">Robots</Link>
<Link to="/resources">Resources</Link>
<Link to="/sponsors">Sponsors</Link>
<Link to="/event">Event</Link>
</article>
<article>
<h4>Resources</h4>
Expand Down
50 changes: 50 additions & 0 deletions src/components/PagesDirectEvent.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
import {FaRobot} from 'react-icons/fa'
import SectionHead from './SectionHead'
import {pagesdirectevent} from '../data.js'
import Card from '../UI/Card'
import {AiFillCaretRight} from 'react-icons/ai'


const PagesDirectEvent = () => {
return (
<section className="pagesdirect">
<div className="container pagesdirect">
<SectionHead icon={<FaRobot/>} title="EVENT INFORMATION"/>
<div className="pages__wrapper">
<Card className="pages__page" key="1">
<span><FaRobot/></span>
<h4>Schedule</h4>
<small>Check out the schedule for all competition days</small>
<a href="https://www.firstinspires.org/sites/default/files/uploads/frc/2024-events/2024_NJALL_Agenda.pdf" rel="noreferrer noopener" className="btn sm">View<AiFillCaretRight/></a>
</Card>
<Card className="pages__page" key="1">
<span><FaRobot/></span>
<h4>Volunteer</h4>
<small>Sign up to volunteer for our District Event</small>
<a href="*" rel="noreferrer noopener" className="btn sm">View<AiFillCaretRight/></a>
</Card>
<Card className="pages__page" key="1">
<span><FaRobot/></span>
<h4>Information Packet</h4>
<small>Please read our regulations below</small>
<a href="./welcomepacket.pdf"rel="noreferrer noopener" className="btn sm">View<AiFillCaretRight/></a>
</Card>
{/* {
pagesdirectevent.map(({id, icon, title, info, url}) => {
return (
<Card className="pages__page" key={id}>
<span>{icon}</span>
<h4>{title}</h4>
<small>{info}</small>
<Link to={url} className="btn sm">View<AiFillCaretRight/></Link>
</Card>
)
})
} */}
</div>
</div>
</section>
)
}

export default PagesDirectEvent
Loading

0 comments on commit f48e31d

Please sign in to comment.