Browse Source

adding image

namnguyen 5 months ago
parent
commit
cd5ed1d1d9

+ 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