docs: add descriptions to all pages (#195)

This commit is contained in:
Luca Casonato
2022-05-17 02:19:32 +02:00
committed by GitHub
parent 637a0463b6
commit 2a2b948a58
15 changed files with 88 additions and 2 deletions
+6
View File
@@ -1,3 +1,9 @@
---
description: |
Create a dynamic route in fresh by adding a dynamic segment to the route name
in the routes' file name on disk: `/greet/[name].tsx`.
---
The `/about` route created on the last page is pretty static. It does not matter
what query or path parameters are passed to the route, it will always render the
same page. Let's create a `/greet/:name` that will render a page with a greeting