Skip to content

Commit

Permalink
Update buttons, add newsletter section
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert336 committed Oct 15, 2021
1 parent 0ad464f commit 78d4b6d
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 29 deletions.
44 changes: 22 additions & 22 deletions .firebase/hosting.YnVpbGQ.cache
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
asset-manifest.json,1631205763499,daeed0c64f85ff1b1b7b6410375745466c51ebf0adac9e71a7e2a36e3e96bdfd
icon.svg,1631205752749,f9c03b1882674627420b08fe01d71b0b860239e59b47708f5a4fa9b1443ef8db
index.html,1631205763499,f606750577462667b14b8765b43efc702c162513571a0b3627f09144b7e59b45
manifest.json,1631205752749,0958a5e0c831126100c8c2d06a6bbaa665a3900f21aaff4130238a6f5a113aa1
robots.txt,1631205752749,2544ca049f223a42bff01f72ad930a5edba75bbb7199d0f8430a02ff5aca16ec
static/css/main.fa8813e4.chunk.css,1631205763499,bcff9531ffc3e38a42ff845780f615a70e322e9c1df9d54c65247b136b81690d
static/css/main.fa8813e4.chunk.css.map,1631205763499,cfd96f8659af54e18e81fed178f2309394825a2855b6b836311a257b1d6f9cfc
static/js/2.8f2cd43f.chunk.js.LICENSE.txt,1631205763499,03317c09b574953c4cf42432d479010ada188aea5580612edeceb656f81c5e02
static/js/main.0486e39c.chunk.js,1631205763499,e7c717d2705b441dc2b4bf64424646128d6b7464740753c71d1a1aa6b1741334
static/js/runtime-main.408c6aad.js,1631205763499,9a5e6d4d4ab8cdb999cbc53a9c08ec937714021128b654e7606fd1ee4b82e588
static/js/runtime-main.408c6aad.js.map,1631205763509,c429426f65c8f20b7dcab012994ef6a8d5b6fa30ff4311ea11cc361617bee3cf
static/media/FaqBackground.e786ce96.svg,1631205763499,bc07adbe37f14dde6d283d360d5c9215992adb590bc23ad8db93ada5da81e8ae
static/media/Icon.e79baadb.svg,1631205763499,14cfc93ef92fd85f7c45e93a4b3cf924084b56c58c357ea60b4997dedffe9cdf
static/media/Window.f9f276e8.svg,1631205763499,cf0f9666fa921fb50463e00a1c3c309d24c3977b0e36f65db3e7ad27064c7da9
static/media/daner.7f69bc38.jpg,1631205763499,ae2940e7d0dd75646f80daf107df67ba7d0081cb015eb19fa1501c8102255735
static/media/Footer.cb47f53d.svg,1631205763499,2414ae902f7641156eafb662a6629aecda1394f9d48bf68861fdf4a7630ebfad
static/media/UnknownMember.f164b3e6.png,1631205763499,cc6616b3ae92e761f456dc1353d8d84559ef222409ba80e84b6c47a0c3cf566b
static/js/main.0486e39c.chunk.js.map,1631205763499,925165984078b8f45504eb0501ef619e7a5a56a735340884e1a88f498ec66352
static/js/2.8f2cd43f.chunk.js,1631205763499,1d43f01cd22ded155210fe1b166fc960c856d95c3285d1555f3088ca972915e7
static/media/nerds.27caab84.png,1631205763499,7229005f021d34ffc032a5c3e1f4ee59f5d7eafa7c97112f05850aa95503e99b
static/js/2.8f2cd43f.chunk.js.map,1631205763509,46d8c8415654af857c16928feda38e2d79ef1274719304de5c525c45d1d3f5c2
static/media/nausher.52c182eb.png,1631205763499,3e243ed9dbcf840f7983fd0d3f61b51ba8b59ed40874a9937c3962b520c87b68
asset-manifest.json,1634256729398,df586bcd5859446fe2539ceacc7fa2af11fa0501fafd8c52bce59cba4205de6b
icon.svg,1634256718138,f9c03b1882674627420b08fe01d71b0b860239e59b47708f5a4fa9b1443ef8db
manifest.json,1634256718138,0958a5e0c831126100c8c2d06a6bbaa665a3900f21aaff4130238a6f5a113aa1
index.html,1634256729398,79bcd3a20258578f7788e14f8fee53309b22163826b0c88484a295fb4f414fb0
robots.txt,1634256718138,2544ca049f223a42bff01f72ad930a5edba75bbb7199d0f8430a02ff5aca16ec
static/css/main.fa8813e4.chunk.css,1634256729388,bcff9531ffc3e38a42ff845780f615a70e322e9c1df9d54c65247b136b81690d
static/css/main.fa8813e4.chunk.css.map,1634256729398,cfd96f8659af54e18e81fed178f2309394825a2855b6b836311a257b1d6f9cfc
static/js/2.8f2cd43f.chunk.js.LICENSE.txt,1634256729398,03317c09b574953c4cf42432d479010ada188aea5580612edeceb656f81c5e02
static/js/runtime-main.408c6aad.js,1634256729398,9a5e6d4d4ab8cdb999cbc53a9c08ec937714021128b654e7606fd1ee4b82e588
static/js/runtime-main.408c6aad.js.map,1634256729408,c429426f65c8f20b7dcab012994ef6a8d5b6fa30ff4311ea11cc361617bee3cf
static/media/FaqBackground.e786ce96.svg,1634256729398,bc07adbe37f14dde6d283d360d5c9215992adb590bc23ad8db93ada5da81e8ae
static/js/main.262f8e13.chunk.js,1634256729388,095010dc2602297d2d58ef080544810e5b206bbc4242d7322b3620f517b4e331
static/media/Icon.e79baadb.svg,1634256729398,14cfc93ef92fd85f7c45e93a4b3cf924084b56c58c357ea60b4997dedffe9cdf
static/media/Window.f9f276e8.svg,1634256729398,cf0f9666fa921fb50463e00a1c3c309d24c3977b0e36f65db3e7ad27064c7da9
static/media/daner.7f69bc38.jpg,1634256729398,ae2940e7d0dd75646f80daf107df67ba7d0081cb015eb19fa1501c8102255735
static/media/Footer.cb47f53d.svg,1634256729398,2414ae902f7641156eafb662a6629aecda1394f9d48bf68861fdf4a7630ebfad
static/media/UnknownMember.f164b3e6.png,1634256729398,cc6616b3ae92e761f456dc1353d8d84559ef222409ba80e84b6c47a0c3cf566b
static/js/main.262f8e13.chunk.js.map,1634256729398,6362ac6d1919bc5016a723c7b47e0ba5c3d6275c8f1f3565fe510e0711af69d6
static/js/2.8f2cd43f.chunk.js,1634256729398,1d43f01cd22ded155210fe1b166fc960c856d95c3285d1555f3088ca972915e7
static/media/nerds.27caab84.png,1634256729388,7229005f021d34ffc032a5c3e1f4ee59f5d7eafa7c97112f05850aa95503e99b
static/js/2.8f2cd43f.chunk.js.map,1634256729408,46d8c8415654af857c16928feda38e2d79ef1274719304de5c525c45d1d3f5c2
static/media/nausher.52c182eb.png,1634256729398,3e243ed9dbcf840f7983fd0d3f61b51ba8b59ed40874a9937c3962b520c87b68
6 changes: 4 additions & 2 deletions firestore.rules
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@ rules_version = '2';
service cloud.firestore {
match /databases/{database}/documents {
match /{document=**} {
allow read, write: if
request.time < timestamp.date(2021, 10, 2);
allow read: if
true;
allow write: if
request.auth != null;
}
}
}
30 changes: 25 additions & 5 deletions src/LandingPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -281,12 +281,27 @@ const FaqListContainer = Styled.div`
`;



const SectionTitle = Styled.h1`
color: white;
font-family: Rubik;
font-style: normal;
font-weight: 100;
font-size: clamp(2em, 5vw, 4em);
margin-top: 50px;
margin-left: 0.5em;
margin-bottom: 0.5em;
`;

export default function LandingPage() {


// handle join buttons
function handleClick(event) {
window.open("https://discord.lauriercs.ca/").focus();
}

// handle subscribe to newsletter
function handleSub(event) {
window.open("https://g0gslyum8od.typeform.com/to/I9RXsuiT").focus();
}

Expand All @@ -296,17 +311,14 @@ export default function LandingPage() {
<HeaderDiv>
<Logo src={logo}></Logo>
<Title>LAURIER COMPUTING SOCIETY</Title>
<JoinButton onClick={handleClick}>
Join
</JoinButton>
</HeaderDiv>

<HeroDiv>
<HeroImage src={heroImg} />
<Window>
<HeroTitle>Interested in joining the Club?</HeroTitle>
<HeroSubTitle>Join our Discord for our official announcements about the school year, as well as stay up-to-date all things LCS.</HeroSubTitle>
<HeroButton onClick={handleClick}>Join</HeroButton>
<HeroButton onClick={handleClick}>Join Discord</HeroButton>
</Window>
</HeroDiv>

Expand Down Expand Up @@ -338,6 +350,14 @@ export default function LandingPage() {

<TeamMember />

<div style={{ display: 'flex', justifyContent: 'center', alignItems: 'center', flexDirection: "column" }}>
<SectionTitle>Join our newsletter</SectionTitle>
<HeroSubTitle style={{ marginLeft: 'auto', marginRight: 'auto', marginTop: '0.1em' }}>Subscribe to our newsletter to recieve event annoucements, and more!</HeroSubTitle>

<HeroButton onClick={handleSub} style={{ marginLeft: 'auto' }}>Subscribe</HeroButton>

</div>

<Footer>
<div style={{
textAlign: 'center',
Expand Down

0 comments on commit 78d4b6d

Please sign in to comment.