Sfoglia il codice sorgente

Merge pull request #2572 from zauberzeug/sponsor-button

Add sponsor button to the website
Falko Schindler 1 anno fa
parent
commit
2b18d3ea77
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  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}') \