Skip to content

Commit

Permalink
initial setup (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
ArshMalik02 authored Sep 6, 2023
1 parent a707ae3 commit 1ed1f81
Show file tree
Hide file tree
Showing 8 changed files with 25 additions and 30 deletions.
4 changes: 2 additions & 2 deletions components/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ const Footer = () => {
</section>
<section className={styles.footerlogo}>
<a
href={`https://${committeeData[0].igLink}`}
href={`${committeeData[0].igLink}`}
target="_blank"
rel="noreferrer"
>
Expand All @@ -70,7 +70,7 @@ const Footer = () => {
</section>
<section className={styles.footerlogo}>
<a
href={`https://${committeeData[0].dcLink}`}
href={`${committeeData[0].dcLink}`}
target="_blank"
rel="noreferrer"
>
Expand Down
7 changes: 3 additions & 4 deletions components/MainLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import Head from 'next/head';
import React from 'react';
import Footer from './Footer';
import Navbar from './Navbar';
import vars from '../styles/global_variables.module.scss';

interface LayoutProps {
children: JSX.Element;
Expand All @@ -12,13 +11,13 @@ export default function MainLayout(props: LayoutProps) {
<>
<Head>
<meta charSet="UTF-8" />
<meta name="title" content="next acm project at ucla" />
<meta name="description" content="Generated by create next app" />
<meta name="title" content="ACM W" />
<meta name="description" content="Official website of ACM W" />
<meta
name="viewport"
content="width=device-width, initial-scale=1, minimum-scale=1"
/>
<title>ACM {vars.committee}</title>
<title>ACM W</title>
<link rel="icon" href="/favicon.svg" />
</Head>
<Navbar />
Expand Down
2 changes: 1 addition & 1 deletion components/Navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ const Navbar = () => {
</Link>
</li>
<li>
<Link href="/">
<Link href="https://acm.cs.ucla.edu/internship">
<button>Join Us</button>
</Link>
</li>
Expand Down
5 changes: 4 additions & 1 deletion pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,10 @@ export default function Home({ committee }: Props): JSX.Element {
<h2 className={styles.lead}>{committee.subtitle}</h2>
</div>
<p className={styles.description}>{committee.description}</p>
<a className={styles['cta-btn']} href="#">
<a
className={styles['cta-btn']}
href="https://acm.cs.ucla.edu/internship"
>
Join Us
</a>
</div>
Expand Down
29 changes: 11 additions & 18 deletions public/favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion public/output.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[{"committee":"ICPC","name":"ICPC","subtitle":"testing testing","description":"icpc is so icpc","logoLink":"https://drive.google.com/uc?export=download&id=19mgOEZ92Ye_VHY6rUDMDth6XYQ9nWLN5","dcLink":"https://google.com","igLink":"https://instagram.com/eliizabethkim","email":"elizabethkim03@gmail.com","favicon":"https://drive.google.com/file/d/1oAd4HxRhn4c2l4EFCJzoVXLuKDd-xHRJ/view?usp=sharing","backgroundImg":"https://drive.google.com/uc?export=download&id=19GvTskjsX4xlJ2Pf8CLeYpJZn9uNGohT"}]
[{"committee":"W","name":"W","subtitle":"acm w","description":"lorem ipsum","logoLink":"https://drive.google.com/uc?export=download&id=1eRXQtGlsRyLd5mNdDS_DOEW9bM8aJxAx","dcLink":"https://discord.gg/acm-at-ucla-702801010426511373","igLink":"https://www.instagram.com/uclaacmw/","email":"w@uclaacm.com","favicon":"https://drive.google.com/file/d/1DJMqLWB8Vk-eCiDO4oHcbNLrqHykx-q5/view?usp=drive_link","backgroundImg":"https://drive.google.com/uc?export=download&id=1Ym8yM0iM9SB6p_Ub2vPDs9nnXfUAa-Mv"}]
2 changes: 1 addition & 1 deletion scripts/global-variables.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const committee = 'ICPC';
const committee = 'W';
module.exports = {
committee: committee,
};
4 changes: 2 additions & 2 deletions styles/global_variables.module.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// to use variables across other scss files, do a @import "global_variables"
$acm-blue: #1e6cff;
$committee-color: #FF8383;
$committee: ICPC;
$committee-color: #1BC3A9;
$committee: W;

:export {
committee: $committee;
Expand Down

0 comments on commit 1ed1f81

Please sign in to comment.