فهرست منبع

add sponsor button to documentation entry page

Rodja Trappe 1 سال پیش
والد
کامیت
629ad16338
1فایلهای تغییر یافته به همراه3 افزوده شده و 0 حذف شده
  1. 3 0
      website/documentation/content/overview.py

+ 3 - 0
website/documentation/content/overview.py

@@ -110,6 +110,9 @@ tiles = [
 
 
 @doc.extra_column
 @doc.extra_column
 def create_tiles():
 def create_tiles():
+    with ui.row().classes('items-center content-between'):
+        ui.label('If you like NiceGUI, go and become a')
+        ui.html('<iframe src="https://github.com/sponsors/zauberzeug/button" title="Sponsor zauberzeug" height="32" width="114" style="border: 0; border-radius: 6px;"></iframe>')
     for documentation, description in tiles:
     for documentation, description in tiles:
         page = doc.get_page(documentation)
         page = doc.get_page(documentation)
         with ui.link(target=f'/documentation/{page.name}') \
         with ui.link(target=f'/documentation/{page.name}') \