소스 검색

adding image

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