File size: 750 Bytes
036b3a6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import about.vision, about.overview, about.foundations, about.tech, about.components
from fasthtml.common import *
from monsterui.all import *

hdrs = (
    *Theme.blue.headers(highlightjs=True, mode='light'),
    Script(src="https://cdn.jsdelivr.net/gh/highlightjs/[email protected]/build/languages/html.min.js"),
    *Socials(title='About FastHTML', description='Learn the foundations of FastHTML', site_name='fastht.ml/about',
             twitter_site='@answerdotai', image=f'/assets/og-sq.png', url=''),
)

app,rt = fast_app(hdrs=hdrs)
app.get('/')(about.overview.page)
app.get('/components')(about.components.page)
app.get('/foundation')(about.foundations.page)
app.get('/tech')(about.tech.page)
app.get('/vision')(about.vision.page)

serve()