namnguyen преди 5 месеца
родител
ревизия
cd5ed1d1d9
променени са 2 файла, в които са добавени 2 реда и са изтрити 0 реда
  1. 2 0
      doc/gui/extension/company_profile.py
  2. BIN
      doc/gui/extension/example_library/resources/taipy_logo.png

+ 2 - 0
doc/gui/extension/company_profile.py

@@ -14,11 +14,13 @@ from taipy.gui import Gui
 
 example_library = ExampleLibrary()
 text_file_path = example_library.get_resource("resources/company_profile.md")
+logo_path = example_library.get_resource("resources/taipy_logo.png")
 
 with open(text_file_path, "r") as file:
     text_content = file.read()
 
 page = """
+<|{logo_path}|image|width=100px|>
 <|{text_content}|text|mode=markdown|>
 """
 

BIN
doc/gui/extension/example_library/resources/taipy_logo.png