Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -8,9 +8,15 @@ inject("graphite_gold")
|
|
| 8 |
|
| 9 |
PASSWORD = "ajin2025"
|
| 10 |
|
|
|
|
|
|
|
|
|
|
| 11 |
if "authenticated" not in st.session_state:
|
| 12 |
st.session_state["authenticated"] = False
|
| 13 |
|
|
|
|
|
|
|
|
|
|
| 14 |
if not st.session_state["authenticated"]:
|
| 15 |
st.title("๐ FormingStar ์ ์ ์ธ์ฆ")
|
| 16 |
pwd = st.text_input("๋น๋ฐ๋ฒํธ๋ฅผ ์
๋ ฅํ์ธ์", type="password")
|
|
@@ -22,9 +28,49 @@ if not st.session_state["authenticated"]:
|
|
| 22 |
else:
|
| 23 |
st.error("โ ๋น๋ฐ๋ฒํธ๊ฐ ํ๋ ธ์ต๋๋ค.")
|
| 24 |
|
|
|
|
|
|
|
|
|
|
| 25 |
else:
|
| 26 |
# -------------------------------
|
| 27 |
-
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 28 |
# -------------------------------
|
| 29 |
def find_logo():
|
| 30 |
here = Path(__file__).parent
|
|
|
|
| 8 |
|
| 9 |
PASSWORD = "ajin2025"
|
| 10 |
|
| 11 |
+
# -------------------------------
|
| 12 |
+
# ์ธ์
์ด๊ธฐํ
|
| 13 |
+
# -------------------------------
|
| 14 |
if "authenticated" not in st.session_state:
|
| 15 |
st.session_state["authenticated"] = False
|
| 16 |
|
| 17 |
+
# -------------------------------
|
| 18 |
+
# ๋ก๊ทธ์ธ ํ๋ฉด
|
| 19 |
+
# -------------------------------
|
| 20 |
if not st.session_state["authenticated"]:
|
| 21 |
st.title("๐ FormingStar ์ ์ ์ธ์ฆ")
|
| 22 |
pwd = st.text_input("๋น๋ฐ๋ฒํธ๋ฅผ ์
๋ ฅํ์ธ์", type="password")
|
|
|
|
| 28 |
else:
|
| 29 |
st.error("โ ๋น๋ฐ๋ฒํธ๊ฐ ํ๋ ธ์ต๋๋ค.")
|
| 30 |
|
| 31 |
+
# -------------------------------
|
| 32 |
+
# ์ธ์ฆ ํ ๋ฉ์ธ ํ๋ฉด
|
| 33 |
+
# -------------------------------
|
| 34 |
else:
|
| 35 |
# -------------------------------
|
| 36 |
+
# CSS (Home.py์ ๋์ผ)
|
| 37 |
+
# -------------------------------
|
| 38 |
+
st.markdown(
|
| 39 |
+
"""
|
| 40 |
+
<style>
|
| 41 |
+
.block-container { padding-top: 1.25rem !important; }
|
| 42 |
+
|
| 43 |
+
.logo-wrap { display:flex; justify-content:center; margin: 6px 0 10px; }
|
| 44 |
+
.logo-wrap img { width: clamp(160px, 24vw, 320px); height: auto; }
|
| 45 |
+
|
| 46 |
+
h2.hero-title {
|
| 47 |
+
margin: 4px 0 6px !important;
|
| 48 |
+
text-align:center; color: var(--text);
|
| 49 |
+
font-size: clamp(22px, 3vw, 36px);
|
| 50 |
+
line-height: 1.12;
|
| 51 |
+
}
|
| 52 |
+
p.hero-sub {
|
| 53 |
+
margin: 2px 0 8px !important;
|
| 54 |
+
text-align:center; color: var(--muted);
|
| 55 |
+
}
|
| 56 |
+
hr.hr-thin {
|
| 57 |
+
border: 0; border-top: 1px solid var(--border);
|
| 58 |
+
margin: 10px 0 !important;
|
| 59 |
+
}
|
| 60 |
+
.notice {
|
| 61 |
+
background-color:#2A2F3A; color:#E0E6ED;
|
| 62 |
+
padding:10px 16px; border-radius:10px; text-align:center;
|
| 63 |
+
max-width:640px; margin: 8px auto 0;
|
| 64 |
+
font-weight:600; border:1px solid var(--border);
|
| 65 |
+
box-shadow: 0 8px 20px rgba(0,0,0,.25);
|
| 66 |
+
}
|
| 67 |
+
</style>
|
| 68 |
+
""",
|
| 69 |
+
unsafe_allow_html=True
|
| 70 |
+
)
|
| 71 |
+
|
| 72 |
+
# -------------------------------
|
| 73 |
+
# ๐ธ ํ์ฌ ๋ก๊ณ
|
| 74 |
# -------------------------------
|
| 75 |
def find_logo():
|
| 76 |
here = Path(__file__).parent
|