atharesinc / athares

Expo Web and Native Codebase
0 stars 0 forks source link

DEV: Build/port new splash/info screens #8

Closed actuallydan closed 4 years ago

actuallydan commented 4 years ago

If we npm run build:web and deployed it to AWS it would be significantly lacking in landing page functionality, which is pretty solid I'd argue. It'd be nice to have something, at least on the web, to act as a splash page.

Also, static or otherwise, the FAQs, roadmap and 404 pages should be ported over to the /web directory. These can just be static pages or routes, but they shouldn't(?) appear in the app in iOS or Android.

actuallydan commented 4 years ago

My plan for this is to copy all the pages -> components as near as possible from the existing site, where each page will be a screen, and will be optionally included

// ...routes
{ Platform.OS === 'web' &&
(
<Screen name='splash'/>
<Screen name='about'/>
<Screen name='404'/>
... more optional routes
)}

Convert the components to be use existing ones where possible. Additionally, set the default route (presumably whatever route is at the top) to be the splash page (should be ignored automatically if they plugged in a different route).

Acceptance Criteria: