Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | 6x 6x | // In this file, all Page components from 'src/pages` are auto-imported. Nested // directories are supported, and should be uppercase. Each subdirectory will be // prepended onto the component name. // // Examples: // // 'src/pages/HomePage/HomePage.js' -> HomePage // 'src/pages/Admin/BooksPage/BooksPage.js' -> AdminBooksPage import { Router, Route } from '@redwoodjs/router' import { Home } from './pages/home' import { Implementations } from './pages/implementations' import { NotFound } from './pages/not-found' import { Patterns } from './pages/patterns' import { Reports } from './pages/reports' import { Tests } from './pages/tests' const Routes = () => { return ( <Router> <Route notfound page={NotFound} /> <Route path="/" page={Home} name="home" /> <Route path="/patterns" page={Patterns} name="patterns" /> <Route path="/implementations" page={Implementations} name="implementations" /> <Route path="/reports" page={Reports} name="reports" /> <Route path="/tests" page={Tests} name="tests" /> </Router> ) } export default Routes |