Update app.py
Browse files
app.py
CHANGED
@@ -707,6 +707,18 @@ def create_interface():
|
|
707 |
max-width: 800px;
|
708 |
margin: 0 auto;
|
709 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
710 |
.container { padding: 10px !important; }
|
711 |
.gradio-row {
|
712 |
flex-direction: column !important;
|
@@ -754,6 +766,19 @@ def create_interface():
|
|
754 |
flex: 1 !important;
|
755 |
min-width: 0 !important;
|
756 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
757 |
}
|
758 |
|
759 |
/* 전반적인 UI 개선 */
|
@@ -838,6 +863,11 @@ def create_interface():
|
|
838 |
with gr.Tabs(selected=0) as tabs:
|
839 |
# 입장 탭 (축원 포함)
|
840 |
with gr.TabItem("입장") as tab_entrance:
|
|
|
|
|
|
|
|
|
|
|
841 |
# 1단계: 첫 화면
|
842 |
welcome_section = gr.Column(visible=True)
|
843 |
with welcome_section:
|
@@ -993,6 +1023,11 @@ def create_interface():
|
|
993 |
wrap=True
|
994 |
)
|
995 |
with gr.TabItem("프로젝트 소개") as tab_intro:
|
|
|
|
|
|
|
|
|
|
|
996 |
gr.Markdown("""
|
997 |
# 디지털 굿판 프로젝트
|
998 |
‘디지털 굿판’은 부산문화재단의 지원으로 루츠리딤이 제작한 다원예술 프로젝트입니다.
|
|
|
707 |
max-width: 800px;
|
708 |
margin: 0 auto;
|
709 |
}
|
710 |
+
.main-image {
|
711 |
+
width: 100%;
|
712 |
+
max-width: 100%;
|
713 |
+
}
|
714 |
+
}
|
715 |
+
|
716 |
+
/* 데스크톱 뷰 (601px 이상) */
|
717 |
+
@media (min-width: 601px) {
|
718 |
+
.main-image {
|
719 |
+
width: 600px;
|
720 |
+
max-width: 600px;
|
721 |
+
}
|
722 |
.container { padding: 10px !important; }
|
723 |
.gradio-row {
|
724 |
flex-direction: column !important;
|
|
|
766 |
flex: 1 !important;
|
767 |
min-width: 0 !important;
|
768 |
}
|
769 |
+
.main-image-container {
|
770 |
+
width: 100%;
|
771 |
+
margin: 0 auto 2rem auto;
|
772 |
+
text-align: center;
|
773 |
+
}
|
774 |
+
|
775 |
+
.main-image {
|
776 |
+
width: 100%;
|
777 |
+
height: auto;
|
778 |
+
max-width: 100%;
|
779 |
+
display: block;
|
780 |
+
margin: 0 auto;
|
781 |
+
}
|
782 |
}
|
783 |
|
784 |
/* 전반적인 UI 개선 */
|
|
|
863 |
with gr.Tabs(selected=0) as tabs:
|
864 |
# 입장 탭 (축원 포함)
|
865 |
with gr.TabItem("입장") as tab_entrance:
|
866 |
+
gr.HTML("""
|
867 |
+
<div class="main-image-container">
|
868 |
+
<img src="static/main-image.png" alt="디지털 굿판 메인 이미지" class="main-image">
|
869 |
+
</div>
|
870 |
+
""")
|
871 |
# 1단계: 첫 화면
|
872 |
welcome_section = gr.Column(visible=True)
|
873 |
with welcome_section:
|
|
|
1023 |
wrap=True
|
1024 |
)
|
1025 |
with gr.TabItem("프로젝트 소개") as tab_intro:
|
1026 |
+
gr.HTML("""
|
1027 |
+
<div class="main-image-container">
|
1028 |
+
<img src="static/main-image.png" alt="디지털 굿판 메인 이미지" class="main-image">
|
1029 |
+
</div>
|
1030 |
+
""")
|
1031 |
gr.Markdown("""
|
1032 |
# 디지털 굿판 프로젝트
|
1033 |
‘디지털 굿판’은 부산문화재단의 지원으로 루츠리딤이 제작한 다원예술 프로젝트입니다.
|