diff --git a/.drone.yml b/.drone.yml index a5becb8b..beafe344 100644 --- a/.drone.yml +++ b/.drone.yml @@ -30,6 +30,19 @@ steps: commands: - npm run export +- name: deploy (staging) + image: node:16 + depends_on: + - export + environment: + TOKEN: + from_secret: STAGING_TOKEN + commands: + - 'curl -XPOST -H "Authorization: $TOKEN" "https://csclub.uwaterloo.ca/~a3thakra/update-csc/"' + when: + branch: + - main + trigger: event: exclude: diff --git a/components/HorizontalLine.module.css b/components/HorizontalLine.module.css new file mode 100644 index 00000000..16f3ab85 --- /dev/null +++ b/components/HorizontalLine.module.css @@ -0,0 +1,7 @@ +.line { + display: block; + margin: calc(1rem / 16) 0 calc(34rem / 16); + height: calc(1rem / 16); + border: none; + background-color: var(--primary-heading); +} diff --git a/components/HorizontalLine.tsx b/components/HorizontalLine.tsx new file mode 100644 index 00000000..598f196c --- /dev/null +++ b/components/HorizontalLine.tsx @@ -0,0 +1,7 @@ +import React from "react"; + +import styles from "./HorizontalLine.module.css"; + +export function HorizontalLine() { + return
See past events here
++ See past events{" "} + + here + +
+ There are no upcoming events right now. Please check back later! +
+ ) : null}+ See more upcoming events{" "} + + here + +
+ ) : null}
Updates from our execs!
- See past news here
+ See past news{" "}
+
+ here
+