Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature: Landing page loading (merge into main) #223

Merged
merged 31 commits into from
Apr 23, 2024

Conversation

ShrimpCryptid
Copy link
Contributor

I forgot that branches don't get auto-deleted in this repo so the landing page loading PR didn't get automatically updated to merge into main.

This is a follow-up PR to correctly merge into main.

Commit history should be the same as this PR: #212

…-landing-page

- Adds `react-router-dom` and routes for the landing page (at root URL, `/`) and viewer (`/viewer`).
- The landing page can now redirect to the viewer when a Load button is clicked, and passes the app arguments as state through the navigation API.
- Renamed the `landing-page` directory to `website`, since it now includes several website-related components.
- Adds a new `AppWrapper` component, which wraps `ImageViewerApp`.
  - Handles retrieving app arguments from URL or from routing.
- Moves the URL parsing logic to `url_utils.tsx`.
@ShrimpCryptid ShrimpCryptid self-assigned this Apr 23, 2024
@ShrimpCryptid ShrimpCryptid marked this pull request as ready for review April 23, 2024 16:42
@ShrimpCryptid ShrimpCryptid requested a review from a team as a code owner April 23, 2024 16:42
@ShrimpCryptid ShrimpCryptid removed the request for review from a team April 23, 2024 16:42
@ShrimpCryptid ShrimpCryptid merged commit 5179a2a into main Apr 23, 2024
3 checks passed
@ShrimpCryptid ShrimpCryptid deleted the feature/landing-page-styling branch April 23, 2024 20:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants