diff --git a/app/md/about-us.md b/app/md/about-us.md
deleted file mode 100644
index 01f8229..0000000
--- a/app/md/about-us.md
+++ /dev/null
@@ -1,22 +0,0 @@
----
-title: About Us
-excerpt: SeattleJS is a safe and inclusive event for everyone
----
-
-
-
-SeattleJS is the largest JavaScript and web developer meetup in Seattle.
-
-We are an inclusive community and welcome everyone, including folks who are just getting started in tech.
-
-Our mission is to help folks:
-
- Level up their skills
-
- Grow their network
-
- Get connected to job opportunities
-
- Advocate for the open web
-
-Our meetings are the 2nd Wednesday of each month, we hope you can join us!
diff --git a/app/md/email-templates/accepted.md b/docs/email-templates/accepted.md
similarity index 100%
rename from app/md/email-templates/accepted.md
rename to docs/email-templates/accepted.md
diff --git a/app/md/email-templates/details-confirmation.md b/docs/email-templates/details-confirmation.md
similarity index 100%
rename from app/md/email-templates/details-confirmation.md
rename to docs/email-templates/details-confirmation.md
diff --git a/app/md/organizer-notes/2023-01-04.md b/docs/organizer-notes/2023-01-04.md
similarity index 100%
rename from app/md/organizer-notes/2023-01-04.md
rename to docs/organizer-notes/2023-01-04.md
diff --git a/app/md/organizer-notes/2024-08.md b/docs/organizer-notes/2024-08.md
similarity index 100%
rename from app/md/organizer-notes/2024-08.md
rename to docs/organizer-notes/2024-08.md
diff --git a/src/App.tsx b/src/App.tsx
index cae5c50..e82c75c 100644
--- a/src/App.tsx
+++ b/src/App.tsx
@@ -7,17 +7,70 @@ import {
} from 'preact-iso'
import { NotFound } from './components/NotFound'
-import aboutUsUrl from './routes/about-us.md'
+import aboutUsPath from './routes/about-us.md'
+import codeOfConductPath from './routes/code-of-conduct.md'
+import confPromoInfoPath from './routes/conf/promo-info.md'
+import confSpeakerInfoPath from './routes/conf/speaker-info.md'
+import joinPath from './routes/join.md'
+import signupNextStepsPath from './routes/signup-next-steps.md'
+import speakPath from './routes/speak.md'
+import volunteerGuidePath from './routes/volunteer-guide.md'
+import volunteerPath from './routes/volunteer.md'
+import welcomePath from './routes/welcome.md'
+
import { renderMarkdownRoute } from './utils/renderMarkdownRoute'
-const AboutUs = lazy(() => renderMarkdownRoute(aboutUsUrl))
+const routes = [
+ {
+ url: '/about-us',
+ component: lazy(() => renderMarkdownRoute(aboutUsPath)),
+ },
+ {
+ url: './conf/promo-info',
+ component: lazy(() => renderMarkdownRoute(confPromoInfoPath)),
+ },
+ {
+ url: '/conf/speaker-info',
+ component: lazy(() => renderMarkdownRoute(confSpeakerInfoPath)),
+ },
+ {
+ url: '/code-of-conduct',
+ component: lazy(() => renderMarkdownRoute(codeOfConductPath)),
+ },
+ {
+ url: '/join',
+ component: lazy(() => renderMarkdownRoute(joinPath)),
+ },
+ {
+ url: '/signup-next-steps',
+ component: lazy(() => renderMarkdownRoute(signupNextStepsPath)),
+ },
+ {
+ url: '/speak',
+ component: lazy(() => renderMarkdownRoute(speakPath)),
+ },
+ {
+ url: '/volunteer-guide',
+ component: lazy(() => renderMarkdownRoute(volunteerGuidePath)),
+ },
+ {
+ url: '/volunteer',
+ component: lazy(() => renderMarkdownRoute(volunteerPath)),
+ },
+ {
+ url: '/welcome',
+ component: lazy(() => renderMarkdownRoute(welcomePath)),
+ },
+]
export default function App() {
return (
-
+ {routes.map(({ url, component }) => (
+
+ ))}
diff --git a/app/md/code-of-conduct.md b/src/routes/code-of-conduct.md
similarity index 100%
rename from app/md/code-of-conduct.md
rename to src/routes/code-of-conduct.md
diff --git a/app/md/conf/promo-info.md b/src/routes/conf/promo-info.md
similarity index 100%
rename from app/md/conf/promo-info.md
rename to src/routes/conf/promo-info.md
diff --git a/app/md/conf/speaker-info.md b/src/routes/conf/speaker-info.md
similarity index 100%
rename from app/md/conf/speaker-info.md
rename to src/routes/conf/speaker-info.md
diff --git a/app/md/join.md b/src/routes/join.md
similarity index 100%
rename from app/md/join.md
rename to src/routes/join.md
diff --git a/app/md/signup-next-steps.md b/src/routes/signup-next-steps.md
similarity index 100%
rename from app/md/signup-next-steps.md
rename to src/routes/signup-next-steps.md
diff --git a/app/md/speak.md b/src/routes/speak.md
similarity index 100%
rename from app/md/speak.md
rename to src/routes/speak.md
diff --git a/app/md/volunteer-guide.md b/src/routes/volunteer-guide.md
similarity index 100%
rename from app/md/volunteer-guide.md
rename to src/routes/volunteer-guide.md
diff --git a/app/md/volunteer.md b/src/routes/volunteer.md
similarity index 100%
rename from app/md/volunteer.md
rename to src/routes/volunteer.md
diff --git a/app/md/welcome.md b/src/routes/welcome.md
similarity index 100%
rename from app/md/welcome.md
rename to src/routes/welcome.md