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

Static frontpage #73

Open
4 tasks
jsonnull opened this issue Apr 22, 2018 · 0 comments
Open
4 tasks

Static frontpage #73

jsonnull opened this issue Apr 22, 2018 · 0 comments
Projects

Comments

@jsonnull
Copy link
Owner

Tracking issue for a static frontpage.

Background

Currently the app is served at a single endpoint, /index.html. The goal is to serve a statically rendered index.html and direct logged-in users to a dynamic /app.html.

The redirect/rewrite scheme will be this:

Server-side rewrites

  • / -> /index.html
  • /* -> /app.html

Breakdown for users and login state

  • / -> User is served index.html, follows links to access logged-in home (/games)
  • /* -> User is served app.html, app waits for login state and redirects to /login if logged-out

Todos:

  • Separate index.html and app.html endpoints
  • Modify Firebase hosting route configuration for new html endpoints
  • Add code-splitting so homepage does not load non-essential components
  • Statically render homepage during CI build
@jsonnull jsonnull added this to the Initial Release milestone Apr 22, 2018
@jsonnull jsonnull added this to Next release in Roadmap Apr 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Roadmap
Next release
Development

No branches or pull requests

1 participant