| 1 | export function App() { |
| 2 | return ( |
| 3 | <main className="mx-auto max-w-xl px-6 py-16 leading-relaxed"> |
| 4 | <h1 className="text-3xl font-bold">Docs</h1> |
| 5 | <p className="mt-4"> |
| 6 | Served through the shared <code>AWS.Website.Router</code>. |
| 7 | </p> |
| 8 | <p className="mt-2"> |
| 9 | This page is mounted at <code>/docs/</code>. |
| 10 | </p> |
| 11 | <p className="mt-2"> |
| 12 | Edit <code>apps/docs/src/App.tsx</code> and this updates instantly under{" "} |
| 13 | <code>alchemy dev</code>. |
| 14 | </p> |
| 15 | <p className="mt-2"> |
| 16 | <a className="text-blue-600 underline" href="/"> |
| 17 | Go to the web site &rarr; |
| 18 | </a> |
| 19 | </p> |
| 20 | <pre className="mt-4 rounded-lg bg-stone-100 p-3 text-sm"> |
| 21 | location.pathname = {location.pathname} |
| 22 | </pre> |
| 23 | </main> |
| 24 | ); |
| 25 | } |