Skip to content

Commit

Permalink
chore: FRON-10 adding placeholder pages
Browse files Browse the repository at this point in the history
  • Loading branch information
Lombardoc4 committed Feb 4, 2024
1 parent d4bc712 commit 56b83bb
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Table of Contents:
- [Contribution Guidelines](#contribution-guidelines)
- [Tests](#tests)
- [Deployment](#deployment)
- [URL Structure](#url-structure)
- [Resources](#resources)

## Setting up the project
Expand Down Expand Up @@ -97,6 +98,19 @@ This project is using [conventional commits](https://www.conventionalcommits.org

// TODO [vercel](https://vercel.com/)

## URL Structure

```
`/`
├── Results of past seasons
└──`[season]` -> year
└── `[location]` -> race location of race in season
└── `[session]` -> session of race
└── `[driver]` -> driverId in race session
├── `/` -> ???
└── `/telemetry` -> ???
```

## Resources

Key tools in use: `daisy-ui`, `tailwindcss`, `react`, `nextjs`, `pnpm`, `cypress`
7 changes: 7 additions & 0 deletions src/app/[season]/[location]/[driver]/[session]/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
export default function SessionPage({
params,
}: {
params: { session: string };
}) {
return <h1>{params.session}</h1>;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export default function TelemetryPage() {
return <h1>Telemetry</h1>;
}
3 changes: 3 additions & 0 deletions src/app/[season]/[location]/[driver]/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export default function DriverPage({ params }: { params: { driver: string } }) {
return <h1>{params.driver}</h1>;
}

0 comments on commit 56b83bb

Please sign in to comment.