Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
261 changes: 261 additions & 0 deletions lab13.md

Large diffs are not rendered by default.

1,321 changes: 87 additions & 1,234 deletions node_modules/.package-lock.json

Large diffs are not rendered by default.

29 changes: 22 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"type": "module",
"main": "index.js",
"scripts": {
"dev": "concurrently \"npm run dev --workspace=server\" \"npm run dev --workspace=proto\"",
"dev": "concurrently \"npm run dev --workspace=server\" \"npm run dev --workspace=app\"",
"test": "echo \"Error: no test specified\" && exit 1"
},
"workspaces": [
Expand All @@ -30,4 +30,4 @@
"bcryptjs": "^3.0.3",
"jsonwebtoken": "^9.0.2"
}
}
}
28 changes: 28 additions & 0 deletions packages/app/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>National Parks Adventure Guide</title>
<link rel="stylesheet" href="/styles/reset.css" />
<script type="module">
import { pageStyles } from "/src/styles/page-styles.css.ts";
// Apply global styles to document
const style = document.createElement("style");
style.textContent = pageStyles.map((s) => s.cssText).join("");
document.head.appendChild(style);
</script>
<script type="module" src="/src/main.ts"></script>
</head>
<body>
<mu-history provides="natty:history">
<mu-auth provides="natty:auth" redirect="/app/login">
<mu-store provides="natty:model">
<article class="page">
<mu-switch></mu-switch>
</article>
</mu-store>
</mu-auth>
</mu-history>
</body>
</html>
25 changes: 25 additions & 0 deletions packages/app/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"name": "app",
"version": "1.0.0",
"description": "",
"license": "ISC",
"author": "Colter Purcell",
"type": "module",
"main": "index.html",
"scripts": {
"dev": "npx vite",
"build": "npx tsc && npx vite build",
"start": "http-server dist -p 3000"
},
"dependencies": {
"http-server": "^14.1.1",
"lit": "^3.3.1"
},
"devDependencies": {
"@calpoly/mustang": "^1.0.18",
"@types/node": "^24.9.1",
"glob": "^11.0.3",
"typescript": "^5.9.3",
"vite": "^6.4.1"
}
}
205 changes: 205 additions & 0 deletions packages/app/public/assets/icons/camping.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
47 changes: 47 additions & 0 deletions packages/app/public/images/paths/glacier-point-road.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
53 changes: 53 additions & 0 deletions packages/app/public/images/paths/grand-loop.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
39 changes: 39 additions & 0 deletions packages/app/public/images/paths/valley-loop.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading