Skip to content

Commit

Permalink
Merge pull request #22 from codenetwork/agm-page
Browse files Browse the repository at this point in the history
Added an AGM links page
  • Loading branch information
McCorsa authored Sep 25, 2023
2 parents e5e56bf + 57cbfe8 commit 49caa10
Show file tree
Hide file tree
Showing 6 changed files with 45 additions and 0 deletions.
29 changes: 29 additions & 0 deletions src/Agm.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
import './App.css'
import Rules from './Rules'
import { Routes, Route } from "react-router-dom"
import AnimatedCursor from "./component/cursor"
import teamData from "./component/TeamData.json"
import './agm.css';

function Agm() {
return (
<div className="content-wrapper">
<div className="edges" style={{ color: "#111", fontFamily: 'Montserrat' }}>
<div className="global-padding">
<h1>Code Network's 2023 AGM</h1>
<p>We will be electing our 2024 Executive Team and voting on other business, including constitution amendments.</p>
<p><b>When and Where:</b> 5-8pm Thursday 5/10/2023 at QUT GP-D106</p>
<h2>Key Links</h2>
<div style={{ display: 'flex', flexDirection: 'row', gap: '4px', flexWrap: 'wrap' }} id="agmLinks">
<a href="https://codenetwork.co/agmagenda" target="_blank">Agenda</a>
<a href="https://codenetwork.co/agmpositions" target="_blank">Executive Positions</a>
<a href="https://codenetwork.co/agmeoi" target="_blank">Executive EOI</a>
<a href="https://codenetwork.co/agmconstitution" target="_blank">Constitution Amendments</a>
</div>
</div>
</div >
</div>
)
}

export default Agm;
2 changes: 2 additions & 0 deletions src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import Header from './Header'
import Ssp from './ssp'
import Coc from './coc'
import About from './About'
import Agm from './Agm'

function App()
{
Expand All @@ -20,6 +21,7 @@ function App()
<Route path="/rules" element={<Rules />} />
<Route path="/ssp" element={<Ssp />} />
<Route path="/coc" element={<Coc />} />
<Route path="/agm" element={<Agm />} />
</Routes>
</section>

Expand Down
10 changes: 10 additions & 0 deletions src/agm.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#agmLinks>a {
padding: 8px;
background-color: rgb(1, 214, 9);
color: white;
border-radius: 16px
}

#agmLinks>a:hover {
background-color: rgb(150, 214, 150)
}
Binary file added src/assets/agm.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/component/Navbar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ function Navbar()
</div>
</div>
<a href="/rules">Rules</a>
<a href="/agm" style={{margin: 0}}>AGM 2023</a>

<button className="nav-btn nav-close-btn" onClick={showNavbar}>
<FaTimes />
Expand Down
3 changes: 3 additions & 0 deletions src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ a {
text-decoration: inherit;
overflow: hidden;
}
a.link:hover {
color: rgb(150, 214, 150)
}
a:hover {
color: #ffffff;
}
Expand Down

0 comments on commit 49caa10

Please sign in to comment.