Commit Graph

10 Commits

Author SHA1 Message Date
Renovate Bot c4c0be9861 Update dependency eslint to v7.32.0 (#121)
continuous-integration/drone/push Build is passing Details
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [eslint](https://eslint.org) ([source](https://github.com/eslint/eslint)) | devDependencies | minor | [`7.31.0` -> `7.32.0`](https://renovatebot.com/diffs/npm/eslint/7.31.0/7.32.0) |

⚠️ Release Notes retrieval for this PR were skipped because no github.com credentials were available.
If you are using the hosted GitLab app, please follow [this guide](https://docs.renovatebot.com/install-gitlab-app/#configuring-a-token-for-githubcom-hosted-release-notes). If you are self-hosted, please see [this instruction](https://github.com/renovatebot/renovate/blob/master/docs/usage/self-hosting.md#githubcom-token-for-release-notes) instead.

---

### Configuration

📅 **Schedule**: At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box.

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).

Reviewed-on: #121
Co-authored-by: Renovate Bot <no-reply@csclub.uwaterloo.ca>
Co-committed-by: Renovate Bot <no-reply@csclub.uwaterloo.ca>
2021-08-02 16:00:23 -04:00
Aditya Thakral 6d5de0ff7e Upgrade Next, React, TypeScript (#91)
continuous-integration/drone/push Build is passing Details
closes #41

# Steps for reviewing

1. `git checkout adi-upgrade-deps`
1. `git clean -xfd`
1. `npm i`
1. `npm run dev`
1. make sure everything looks normal

Reviewed-on: #91
Reviewed-by: n3parikh <n3parikh@localhost>
Co-authored-by: Aditya Thakral <a3thakra@csclub.uwaterloo.ca>
Co-committed-by: Aditya Thakral <a3thakra@csclub.uwaterloo.ca>
2021-08-01 17:54:25 -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
William Tran dc0cc390c1 OrganizedContent 2021-06-10 01:12:44 +00:00
Adi Thakral 1dcc97368d Convert rems to px and use calc to convert on build time 2021-05-24 18:58:28 +00:00
Adi Thakral 45b9cfa0df Revert "Change tag"
This reverts commit 5a36f14f05.
2021-05-10 15:50:09 -04:00
Aditya Thakral 91ee5e5d95 Add mdx support and playground 2021-04-26 19:16:55 -04:00
Aditya Thakral b46b41a503 Revert "Add Buildkite pipeline"
This reverts commit 2fbe623e7f.
2021-04-26 18:13:35 -04:00
Aditya Thakral 2fbe623e7f Add Buildkite pipeline
Fixes #1
2021-04-25 20:36:11 -04:00
Aditya Thakral 6a25e28cef Initial commit 🎉 2021-04-25 19:13:07 -04:00