File size: 1,223 Bytes
8a48888
 
61f3789
8a48888
61f3789
 
8a48888
 
 
 
61f3789
970697d
61f3789
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
"""์ƒ๋‹จ ํ—ค๋” (๊ฐœ๋ฐœ ๊ฐ€์ด๋“œ ๋ถ€๋ก A)

๋กœ๊ณ  + ๊ณต์ •/๋ผ์ธ ์ปจํ…์ŠคํŠธ + LIVE ์‹œ๊ณ„ + ์‹œ์Šคํ…œ ์ƒํƒœ + ์‚ฌ์šฉ์ž ์˜์—ญ
"""
from datetime import datetime

import streamlit as st


def render_header():
    now = datetime.now().strftime("%H:%M:%S")
    # ๋กœ๊ณ ๋Š” ์‚ฌ์ด๋“œ๋ฐ” ์ตœ์ƒ๋‹จ์œผ๋กœ ์˜ฎ๊น€ (components/alarm_inbox.py)
    st.markdown(
        f"""
        <header class="fab-header">
          <div class="fab-context">
            <span class="ctx-label">๊ณต์ •</span><span>Photo ยท Lithography</span>
            <span class="ctx-sep"></span>
            <span class="ctx-label">๋ผ์ธ</span>
            <span style="font-family: var(--mono); font-weight: 600;">L20240511-N-03</span>
          </div>
          <span class="live-tick">
            <span class="dot"></span> LIVE ยท {now}
          </span>
          <div class="fab-header-spacer"></div>
          <div class="fab-status">
            <span class="fab-status-dot"></span> ์‹œ์Šคํ…œ ์ •์ƒ
          </div>
          <div class="fab-user">
            <span>๋ฐ•โ—‹โ—‹ ์šด์˜์ž ยท ์•ผ๊ฐ„ ๊ต๋Œ€</span>
            <span class="avatar">๋ฐ•</span>
          </div>
        </header>
        """,
        unsafe_allow_html=True,
    )