Skip to content

Commit 8d73767

Browse files
committed
feat: Add how-to-pitch guide and update routes
Adds guide on how to pitch ideas, includes Table of Contents, TLDR and other considerations. Adds new route for the guide.
1 parent af75f32 commit 8d73767

3 files changed

Lines changed: 847 additions & 21 deletions

File tree

CLAUDE.md

Lines changed: 3 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,13 @@
11
# mlai website
22

3-
This file provides guidance to assistants when working with code in this repository.
4-
5-
## Project Overview
6-
73
This is the MLAI website - a React Router v7 application for a not-for-profit community based in Australia that aims to empower the Australian AI Community.
84

95
## Common advice
106

11-
Add new routes to the `routes.ts` file
7+
Use `bun` over `npm` -- `bun run typecheck`, `bun run typegen`
128

9+
Add new routes to the `routes.ts` file
1310

14-
use [@TODO.md](@file:mlai-au/TODO.md) as your scratchpad to keep track.
11+
Read and use [@TODO.md](@file:mlai-au/TODO.md) as your scratchpad to keep track.
1512

1613
you may use commands like `tree -I 'node_modules' mlai/ mlai-au/` to get an initial overview of the project structure.
17-
18-
# Migration advice
19-
20-
We're migrating `./mlai` to a new repo at `./mlai-au`, this means we'11 migrate page routes one by one to the new stack, from nextjs/vercel, to new standards compatible with wrangler and Cloudflare workers runtime, and react-router v7.
21-
22-
In many cases you should prefer to (first best):
23-
24-
1. Use `cp` (copy) commands and `read_file` (the first 50 lines) on new files to assess imports.
25-
2. `read_file` the old file, then `write_file` the new file with updates applied.
26-
27-
Migration transformations:
28-
- use `~/` instead of `@/` as the root alias
29-
30-
<important>
31-
Don't do too much at once! You can use

app/routes.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ export default [
77
route("/hackathon", "routes/hackathon.tsx"),
88
route("/contact", "routes/contact.tsx"),
99
route("/luma-events", "routes/luma-events.tsx"),
10+
route("/how-to-pitch-your-idea", "routes/how-to-pitch-your-idea.tsx"),
1011
route("/api/luma-events", "routes/api.luma-events.tsx"),
1112
route("/api/notion-events", "routes/api.notion-events.tsx"),
1213
] satisfies RouteConfig;

0 commit comments

Comments
 (0)