Skip to content

Commit

Permalink
Merge branch 'landingBackend' into arsh-final-edits
Browse files Browse the repository at this point in the history
  • Loading branch information
ArshMalik02 committed Sep 3, 2023
2 parents 25ac472 + 1df07c4 commit b8e52a8
Show file tree
Hide file tree
Showing 8 changed files with 666 additions and 6 deletions.
2 changes: 1 addition & 1 deletion components/MainLayout.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import Head from 'next/head';
import React from 'react';
import vars from '../styles/global_variables.module.scss';
import Footer from './Footer';
import Navbar from './Navbar';
import vars from '../styles/global_variables.module.scss';

interface LayoutProps {
children: JSX.Element;
Expand Down
2 changes: 1 addition & 1 deletion pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { GetStaticProps } from 'next';
import MainLayout from '../components/MainLayout';
import getCommitteeInfo from '../scripts/landing-page-generator.mjs';
import vars from '../styles/global_variables.module.scss';
import styles from '../styles/Landing.module.scss';
import styles from '../styles/landing.module.scss';

interface Committee {
committee: string;
Expand Down
1 change: 0 additions & 1 deletion scripts/event-generator-sheets.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,6 @@ async function getGoogleSheetData(range) {
const sheets = google.sheets({ version: 'v4' });

// Get JWT Token to access sheet
// console.log(SERVICE_ACCOUNT);
const service_account = JSON.parse(SERVICE_ACCOUNT);
const jwtClient = new google.auth.JWT(
service_account.client_email,
Expand Down
1 change: 0 additions & 1 deletion scripts/landing-page-generator.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ async function getGoogleSheetData(range) {
const sheets = google.sheets({ version: 'v4' });

// Get JWT Token to access sheet
// console.log(SERVICE_ACCOUNT);
const service_account = JSON.parse(SERVICE_ACCOUNT);
const jwtClient = new google.auth.JWT(
service_account.client_email,
Expand Down
1 change: 0 additions & 1 deletion styles/Events.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
.main {
min-height: 100vh;
padding: 2rem 6rem;
margin-top: 30px;
flex: 1;
display: block;
flex-direction: column;
Expand Down
1 change: 0 additions & 1 deletion styles/Teampage.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
.main {
min-height: 100vh;
padding: 2rem 6rem;
margin-top: 30px;
flex: 1;
display: block;
flex-direction: column;
Expand Down
4 changes: 4 additions & 0 deletions styles/globals.scss
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,7 @@ a {
description-list {
font-size: 1.5rem;
}

main {
padding-top: 10vh;
}
Loading

0 comments on commit b8e52a8

Please sign in to comment.