Skip to content

Routing setup#16

Merged
RedHellier merged 5 commits intomainfrom
routing-setup
May 31, 2025
Merged

Routing setup#16
RedHellier merged 5 commits intomainfrom
routing-setup

Conversation

@RedHellier
Copy link
Contributor

📌 Summary

Added Folders and Routes for page navigation
Added basic navbar that changes based on role (defined as string in root +layout.svelte)
Added +page.svelte for each router and +page.server.ts for each [slug] route (resources and groups)


🔍 Related Issues

Closes #11


📁 What's Changed (in the front end)

  • Can Navigate between different pages

What does this mean for the back end?

No Link to backend yet


🧪 How to Test

  1. No new packages added
  2. Run npm run dev
  3. In root +layout.svelte, change role variable to 'admin' or 'user' to see different flows
  4. Navigate to / route to begin clickthrouh.

📋 Checklist

  • [✔️] Code compiles and runs
  • [✔️] Tests pass
  • [✔️] Linting passes (npm run lint)
  • No console warnings or errors
  • UI looks good on all screen sizes
  • Reviewed by at least one team member

🧠 Notes for Reviewers

Let me know if you have any notes on route/file structure

@RedHellier RedHellier merged commit e3555cc into main May 31, 2025
2 checks passed
@github-project-automation github-project-automation bot moved this from Todo to Done in Resource Hub Front End May 31, 2025
@github-project-automation github-project-automation bot moved this from Todo to Done in Resource Hub Back End May 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done
Status: Done

Development

Successfully merging this pull request may close these issues.

Decide and implement front end folder structure

1 participant