@crsimpson5
Posted
Hey Ryan, great job on this! It looks great and I love the dark mode too.
Here's a couple of things to consider:
- The
background-position
properties aren't working in Chrome. You can change them to something likebackground-position-y: 27%;
- If you refresh on a page other than home you get a 404. You'll need a Vercel config to make react-router work: https://stackoverflow.com/a/65644138.
Keep up the good work!
Marked as helpful
@rmartin93
Posted
@crsimpson5
Thanks! I'm not sure why, but this works great. I don't have to add to the vercel.json every time I add a route, which is what I was afraid of.
{
"routes": [{ "src": "/[^.]+", "dest": "/", "status": 200 }]
}