|
@@ -92,6 +92,17 @@ async def index_page(client: Client):
|
|
|
with ui.row().classes('w-full q-pa-md'):
|
|
|
reference.create_intro()
|
|
|
|
|
|
+ with ui.row() \
|
|
|
+ .classes('w-full items-center gap-28 px-32 py-16 no-wrap') \
|
|
|
+ .style(f'background: {ACCENT_COLOR}'):
|
|
|
+ with ui.column().classes('gap-4'):
|
|
|
+ ui.markdown('Go to the API reference to see a ton of live examples') \
|
|
|
+ .style('font-size: 220%; color: white; line-height: 0.9; font-weight: 500')
|
|
|
+ ui.label('The whole content of https://nicegui.io/ is implemented with NiceGUI itself.') \
|
|
|
+ .style('font-size: 150%; color: white')
|
|
|
+ ui.link('API reference', '/reference') \
|
|
|
+ .classes('rounded-full px-12 py-2 text-xl text-bold bg-white')
|
|
|
+
|
|
|
|
|
|
@ui.page('/reference')
|
|
|
def reference_page():
|