Add /resources/services page #169
Merged
a3thakra
merged 9 commits from adi-resources-services-page
into main
2 years ago
@ -0,0 +1,6 @@ |
||||
.code { |
||||
padding: 0 calc(4rem / 16); |
||||
background: var(--code-background); |
||||
border-radius: calc(5rem / 16); |
||||
word-wrap: break-word; |
||||
} |
@ -0,0 +1,9 @@ |
||||
import React, { HTMLAttributes } from "react"; |
||||
|
||||
import styles from "./Code.module.css"; |
||||
|
||||
export function Code(props: HTMLAttributes<HTMLElement>) { |
||||
const classes = [styles.code, props.className ?? ""]; |
||||
|
||||
return <code {...props} className={classes.join(" ")} />; |
||||
} |
@ -0,0 +1,6 @@ |
||||
.pre { |
||||
padding: calc(10rem / 16); |
||||
background: var(--code-background); |
||||
overflow-x: auto; |
||||
border-radius: calc(5rem / 16); |
||||
} |
@ -0,0 +1,9 @@ |
||||
import React, { HTMLAttributes } from "react"; |
||||
|
||||
import styles from "./Pre.module.css"; |
||||
|
||||
export function Pre(props: HTMLAttributes<HTMLPreElement>) { |
||||
const classes = [styles.pre, props.className ?? ""]; |
||||
|
||||
return <pre {...props} className={classes.join(" ")} />; |
||||
} |
@ -0,0 +1,15 @@ |
||||
--- |
||||
title: Usage Policy |
||||
index: 2 |
||||
--- |
||||
|
||||
Everyone who receives an account on one of the CS Club machines must sign the agreement in the final section. This document does not state who will be allowed accounts on CS Club machines, the normal expiry period of accounts, nor any other similar matters. Further, this policy does not, in general, guarantee any rights to users. |
||||
|
||||
_Note: that in the following sections, the term "user" implies a user of a CS Club machine, unless otherwise specified._ |
||||
|
||||
The usage policy is divided into the following sections: |
||||
|
||||
1. [Acceptable and Unacceptable Use](/resources/machine-usage-agreement/acceptable-and-unacceptable-use) |
||||
1. [User Responsibilities](/resources/machine-usage-agreement/user-responsibilities) |
||||
1. [Security](/resources/machine-usage-agreement/security) |
||||
1. [Rights of the Systems Committee and the CSC Executive](/resources/machine-usage-agreement/rights-of-syscom-and-exec) |
@ -0,0 +1,20 @@ |
||||
--- |
||||
title: User Agreement |
||||
index: 9 |
||||
--- |
||||
|
||||
I have read and understood the usage policy of 29 August 2007, and I agree to use my account(s) on the CSC network in accordance with this policy. I am responsible for all actions taken by anyone using this account. Furthermore, I accept full legal responsibility for all of the actions that I commit using the CSC network according to any and all applicable laws. |
||||
|
||||
I understand that with little or no notice machines on the CSC network and resources on these machines may become unavailable. Machines may shut down while users are using them, and I will not hold the CSC responsible for lost time or data. |
||||
|
||||
``` |
||||
Name: ___________________________ |
||||
|
||||
Signature: ___________________________ |
||||
|
||||
Office Staff: ___________________________ |
||||
|
||||
Signature: ___________________________ |
||||
|
||||
Date: ___________________________ |
||||
``` |
@ -0,0 +1,12 @@ |
||||
--- |
||||
title: CS Club Email |
||||
index: 2 |
||||
--- |
||||
|
||||
Members also receive a **username@csclub.uwaterloo.ca** email address. |
||||
|
||||
- Mailboxes are considered as part of your disk quota, so your mailbox may grow up to the amount of disk quota you have. |
||||
- Attachments of any file size or type may be sent. |
||||
- Our mail server runs a POP3, IMAP, and SMTP server with SSL/TLS enabled. |
||||
|
||||
You can also access your mail via a [Roundcube web mail client](https://mail.csclub.uwaterloo.ca/). |
@ -0,0 +1,18 @@ |
||||
import path from "path"; |
||||
|
||||
import { |
||||
createReadAllPage, |
||||
Options, |
||||
} from "@/components/OrganizedContent/ReadAll"; |
||||
import { createReadAllGetStaticProps } from "@/components/OrganizedContent/static"; |
||||
|
||||
export const options: Options = { |
||||
title: "Machine Usage Agreement", |
||||
// TODO: Different image for this?
|
||||
image: "images/services.svg", |
||||
pagePath: path.join("resources", "machine-usage-agreement"), |
||||
}; |
||||
|
||||
export default createReadAllPage(options); |
||||
|
||||
export const getStaticProps = createReadAllGetStaticProps(options.pagePath); |
@ -0,0 +1,12 @@ |
||||
import { createSectionPage } from "@/components/OrganizedContent/Section"; |
||||
import { |
||||
createSectionGetStaticPaths, |
||||
createSectionGetStaticProps, |
||||
} from "@/components/OrganizedContent/static"; |
||||
|
||||
import { options } from "../machine-usage-agreement"; |
||||
|
||||
export default createSectionPage(options); |
||||
|
||||
export const getStaticProps = createSectionGetStaticProps(options.pagePath); |
||||
export const getStaticPaths = createSectionGetStaticPaths(options.pagePath); |
@ -1 +0,0 @@ |
||||
# Services Page |
@ -0,0 +1,20 @@ |
||||
import path from "path"; |
||||
|
||||
import { |
||||
createReadAllPage, |
||||
Options, |
||||
} from "@/components/OrganizedContent/ReadAll"; |
||||
import { createReadAllGetStaticProps } from "@/components/OrganizedContent/static"; |
||||
|
||||
export const options: Options = { |
||||
title: "Services", |
||||
image: "images/services.svg", |
||||
pagePath: path.join("resources", "services"), |
||||
description: |
||||
"Here you can find all the links and instructions to the different resources available to all CSC members!", |
||||
imagePosition: "right", |
||||
}; |
||||
|
||||
export default createReadAllPage(options); |
||||
|
||||
export const getStaticProps = createReadAllGetStaticProps(options.pagePath); |
@ -0,0 +1,12 @@ |
||||
import { createSectionPage } from "@/components/OrganizedContent/Section"; |
||||
import { |
||||
createSectionGetStaticPaths, |
||||
createSectionGetStaticProps, |
||||
} from "@/components/OrganizedContent/static"; |
||||
|
||||
import { options } from "../services"; |
||||
|
||||
export default createSectionPage(options); |
||||
|
||||
export const getStaticProps = createSectionGetStaticProps(options.pagePath); |
||||
export const getStaticPaths = createSectionGetStaticPaths(options.pagePath); |
After Width: | Height: | Size: 26 KiB |
Loading…
Reference in new issue