Commit Graph

84 Commits

Author SHA1 Message Date
William Tran f1592e490a Refactor
continuous-integration/drone/push Build is passing Details
2021-07-24 23:29:07 -04:00
William Tran 965093b6d0 Merge remote-tracking branch 'origin/main' into feat/organized-content 2021-07-24 19:15:09 -04:00
Aditya Thakral 360d9e4b6f Get Involved Page! (#76)
continuous-integration/drone/push Build is passing Details
closes #13 and #24

- added the `<EmailSignup>` and `<ConnectWithUs>` components!
- adds the Get Involved Page

Co-authored-by: dora <d43su@uwaterloo.ca>
Co-authored-by: dora <d43su@csclub.uwaterloo.ca>
Reviewed-on: #76
Co-authored-by: Aditya Thakral <a3thakra@csclub.uwaterloo.ca>
Co-committed-by: Aditya Thakral <a3thakra@csclub.uwaterloo.ca>
2021-07-22 14:42:38 -04:00
Aditya Thakral f670247ec5 About Us page (#70)
continuous-integration/drone/push Build is passing Details
Fixes #7

Co-authored-by: Linna Luo <linnaluo18@gmail.com>
Reviewed-on: #70
Reviewed-by: Aditya Thakral <a3thakra@csclub.uwaterloo.ca>
Co-authored-by: Aditya Thakral <a3thakra@csclub.uwaterloo.ca>
Co-committed-by: Aditya Thakral <a3thakra@csclub.uwaterloo.ca>
2021-07-18 03:37:48 -04:00
Aditya Thakral 44621b2daf Add next-mdx-remote (#82)
continuous-integration/drone/push Build is passing Details
Closes #80

# Example

```ts
// lib/events.ts

import matter from "gray-matter";
import { serialize } from "next-mdx-remote/serialize";

export async function getEvent() {
  // you should use the "fs" nodejs api here
  const fileAfterReading = `
---
title: A title
online: false
location: MC
---

## Alt Tab

Wooohooo
  `.trim();

  const { content, data } = matter(fileAfterReading);
  const serialized = await serialize(content, { scope: data });

  return { serialized, data };
}
```

```tsx
// your-page.tsx

import { GetStaticProps } from "next";
import { MDXRemote } from "next-mdx-remote";
import React from "react";
import { getEvent } from "lib/events";

export default function MyPage(props) {
  return (
    <>
      <div>
        {...other stuff}
      </div>
      <MDXRemote {...props.serialized} />
    </>
  );
}

export const getStaticProps: GetStaticProps = async () => {
  const { serialized, data } = await getEvent();

  return {
    props: {
      serialized,
      data,
    },
  };
};

```

Reviewed-on: #82
Reviewed-by: n3parikh <n3parikh@localhost>
Co-authored-by: Aditya Thakral <a3thakra@csclub.uwaterloo.ca>
Co-committed-by: Aditya Thakral <a3thakra@csclub.uwaterloo.ca>
2021-07-11 16:07:55 -04:00
Aditya Thakral b8a7957beb Mobile Navbar (#75)
continuous-integration/drone/push Build is passing Details
The mobile navbar is done (finally!), except for a swipe gesture to close the navbar.

Closes #30 and #2

Co-authored-by: Amy
Reviewed-on: #75
Reviewed-by: Aditya Thakral <a3thakra@csclub.uwaterloo.ca>
Co-authored-by: Aditya Thakral <a3thakra@csclub.uwaterloo.ca>
Co-committed-by: Aditya Thakral <a3thakra@csclub.uwaterloo.ca>
2021-07-07 18:13:39 -04:00
William Tran 3d2cc1c89d Fix debounce and add navbar 2021-07-07 18:06:30 -04:00
William Tran c26452e439 Styling fix 2021-07-05 20:22:52 -04:00
William Tran db88a7699c Make burger disappear when off screen 2021-07-05 13:02:04 -04:00
William Tran 5a3fdb9005 Remove unnecessary styles 2021-07-04 17:53:10 -04:00
William Tran 07444476d0 Remove old .mdx files 2021-07-04 17:45:49 -04:00
William Tran 335594ce69 Styling changes to match Figma 2021-07-04 16:24:09 -04:00
William Tran fe754f09f0 Refactor to use consistent interfaces
Plus styling bugfixes
2021-07-04 15:09:51 -04:00
William Tran 8102daf956 Merge branch 'main' into feat/organized-content 2021-07-04 14:44:12 -04:00
Aditya Thakral 5fad324b30 Add drone.yml (#77)
continuous-integration/drone/push Build is passing Details
Removes gitlab ci and adds .drone.yml

Still need to setup autodepoly for staging websites, but that's for later.

Co-authored-by: Aditya Thakral <aditya.thakral@uwaterloo.ca>
Reviewed-on: #77
Reviewed-by: n3parikh <n3parikh@localhost>
Co-authored-by: Aditya Thakral <a3thakra@csclub.uwaterloo.ca>
Co-committed-by: Aditya Thakral <a3thakra@csclub.uwaterloo.ca>
2021-06-29 15:08:05 -04:00
William Tran 595ccd6568 Add bugfix 2021-06-28 17:16:49 -04:00
William Tran 65a178417f Add bugfix 2021-06-28 17:01:41 -04:00
William Tran d90f9db6bb Add debounce 2021-06-28 16:47:48 -04:00
William Tran 2683ed535d Show on scroll 2021-06-28 16:36:27 -04:00
William Tran d688c45808 Close on click outside 2021-06-28 16:10:10 -04:00
William Tran c060f5a398 Add scrolling 2021-06-28 15:31:59 -04:00
William Tran f07f25009c Add rudmentary mobile 2021-06-28 14:49:17 -04:00
William Tran c6fe9e047c Temporarily remove all other components from playground 2021-06-28 14:48:03 -04:00
Adi Thakral 93ede558a4 Fix font-size, line-height, and some other smaller changes 2021-06-27 03:33:09 +00:00
Bonnie Peng 48056ca82e Event Description Card: Logo update 2021-06-24 02:10:51 +00:00
Bonnie Peng ae8e84564b Our Supporters Page 2021-06-22 01:22:54 +00:00
Neil Parikh 23558a2b2b fix date format in after hours 2021-06-13 21:32:28 -04:00
Linhui Luo 7a08e0c331 Footer 2021-06-13 23:55:25 +00:00
Catherine Wan 078276efa7 Link Component 2021-06-13 19:36:34 +00:00
Linna Luo 426c81360e Fix MiniEventCard drop down icon styling 2021-06-10 01:39:37 +00:00
William Tran dc0cc390c1 OrganizedContent 2021-06-10 01:12:44 +00:00
Bonnie Peng 2594a72fdb Mobile EventDescriptionCard 2021-06-09 11:16:40 +00:00
Aditya Thakral 2b733ade44 Use NEXT_PUBLIC_ prefix for base path 2021-06-07 21:51:02 -04:00
Aditya Thakral 66f9d93d8e Only run deploy_staging on main branch 2021-06-07 21:15:21 -04:00
Aditya Thakral 699a0836b4 Fix ci lint errors 2021-06-07 21:13:32 -04:00
Aditya Thakral 102023ec2c Add job to update staging website 2021-06-07 21:04:55 -04:00
Aditya Thakral 26b279e71d Use custom link for MDX 2021-06-07 20:55:37 -04:00
Adi Thakral b494c9ee16 Staging website 2021-06-08 00:18:15 +00:00
Bonnie Peng 13c20dd88f Add Button component 2021-06-01 04:45:52 +00:00
William Tran 0762d640c3 Fix lint command to prevent error
Error message: No files matching the pattern
"'{pages,components}/**/*.{js,ts,tsx,jsx}'"
were found.
2021-05-31 21:13:50 -04:00
William Tran 552330ca9b Apply 1 suggestion(s) to 1 file(s) 2021-05-31 07:02:53 +00:00
William Tran 35b0160f62 Apply 1 suggestion(s) to 1 file(s) 2021-05-31 07:00:02 +00:00
William Tran 669646cdba Apply 1 suggestion(s) to 1 file(s) 2021-05-31 06:59:38 +00:00
William Tran be636c5085 Fix navLink width 2021-05-31 02:45:45 -04:00
William Tran f3ad802b42 Refactor content given to OrganizedContent 2021-05-31 02:45:29 -04:00
William Tran 8bbe4d5bec Add .mdx functionality to OrganizedContent 2021-05-31 02:26:27 -04:00
William Tran 5b398f8343 Fix styling for Link 2021-05-31 01:44:48 -04:00
William Tran c9a8cc09b2 Make Nav disappear on mobile 2021-05-30 20:25:53 -04:00
William Tran d7257c7223 Merge branch 'main' into feat/organized-content 2021-05-30 17:23:01 -04:00
William Tran 99d20e85ef Remove unneccessary line 2021-05-30 04:40:05 -04:00