From 34c15fc4de69bcce76c97c296aae09ca1ac57d8c Mon Sep 17 00:00:00 2001 From: "sungjin.choi" Date: Fri, 29 May 2026 00:31:00 +0900 Subject: [PATCH] fix : main banner modify --- src/views/Main.vue | 31 +++++++------------------------ 1 file changed, 7 insertions(+), 24 deletions(-) diff --git a/src/views/Main.vue b/src/views/Main.vue index fd488fb..3d4195c 100644 --- a/src/views/Main.vue +++ b/src/views/Main.vue @@ -36,6 +36,8 @@ + +
@@ -173,6 +175,9 @@ const menuItems = [ const loggedInUser = ref(localStorage.getItem('username') || 'anonymous'); +// 🟒 [β˜…λ³΅κ΅¬] μœ μ‹€λ˜μ—ˆλ˜ 둜그인 μƒνƒœ 체크 computed ν•¨μˆ˜λ₯Ό μ œμžλ¦¬μ— 원상 볡ꡬ μ™„λ£Œ +const isLoggedIn = computed(() => !!authToken.value); + const rawAscii = ` β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ•— β–ˆβ–ˆβ•”β•β•β•β•β•β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ•”β•β•β•β•β•β–ˆβ–ˆβ•”β•β•β•β•β•β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘ @@ -291,23 +296,20 @@ const fetchVideos = async () => { const openVideo = (id) => window.open(`https://www.youtube.com/watch?v=${id}`); const handleRegister = () => alert("νšŒμ›κ°€μž…μ€ ν˜„μž¬ κ΄€λ¦¬μž 승인제둜 μš΄μ˜λ©λ‹ˆλ‹€."); -// 🟒 [UPGRADE] λ‘œκ·Έμ•„μ›ƒ μ‹œ μŠ€ν† λ¦¬μ§€ λŒ€μ²­μ†Œ 및 ν”„λ‘¬ν”„νŠΈ μ™„λ²½ 볡ꡬ const handleLogout = () => { localStorage.removeItem('token'); - localStorage.removeItem('username'); // πŸ‘ˆ [μΆ”κ°€] λΈŒλΌμš°μ €μ— 남은 아이디 파괴 + localStorage.removeItem('username'); authToken.value = null; - loggedInUser.value = 'anonymous'; // πŸ‘ˆ [μΆ”κ°€] 둜그인 λ³€μˆ˜ κΈ°λ³Έκ°’ 리셋 + loggedInUser.value = 'anonymous'; activeMenu.value = 'main'; if (termInstance.value) { termInstance.value.echo(`\n[[b;red;][ALERT]] SESSION TERMINATED. USER LOGGED OUT.`); - // πŸ‘ˆ [μΆ”κ°€] ν•˜λ‹¨ CRT λͺ¨λ‹ˆν„°μ˜ 아이디 단말기 ν”„λ‘¬ν”„νŠΈλ„ anonymous(읡λͺ…) μƒνƒœλ‘œ μ¦‰μ‹œ κ°•μ œ 원상볡ꡬ termInstance.value.set_prompt(`anonymous@specialsource:~$ `); } }; -// 🟒 [UPGRADE] 쀑볡 찌꺼기λ₯Ό μ§€μš°κ³  μˆœμ„œλ₯Ό μ •λ°€ μ •λ ¬ν•œ 둜그인 λͺ¨λ“ˆ const handleLoginSubmit = async () => { if (!loginId.value || !loginPw.value) { alert("아이디와 λΉ„λ°€λ²ˆν˜Έλ₯Ό λͺ¨λ‘ μž…λ ₯ν•΄ μ£Όμ„Έμš”."); @@ -337,7 +339,6 @@ const handleLoginSubmit = async () => { }); if (response.data && response.data.token) { - // 1) μ§€μ €λΆ„ν•˜κ²Œ 겹쳐있던 μŠ€ν† λ¦¬μ§€ μ„Έμ΄λΈŒ 둜직 1ꡰ데둜 μ΅œμ ν™” μ •λ ¬ localStorage.setItem('token', response.data.token); localStorage.setItem('username', loginId.value); @@ -700,22 +701,4 @@ iframe { width: 100%; height: 180px; border-radius: 4px; } } .monitor-header { padding: 4px 10px; font-size: 10px; } } -@keyframes blink { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } } - -/* μΌνšŒμ„± 사이버 κΈ€λ¦¬μΉ˜ ν‚€ν”„λ ˆμž„ */ -@keyframes once-cyber-glitch-wobble { - 0%, 25% { transform: translate(0) scale(1) skewX(0deg); color: var(--tui-color) !important; text-shadow: 0 0 8px var(--tui-glow) !important; opacity: 1; } - 26% { transform: translate(-3px, 1.5px) scale(1.02); color: #ffffff !important; text-shadow: 2px 0 #ff0000, -2px 0 #0000ff !important; } - 27% { transform: translate(3px, -1.5px) skewX(-2deg); color: var(--tui-color) !important; } - 28% { transform: translate(-5px, 0) skewX(10deg); color: #ff00ff !important; text-shadow: -3px 0 magenta, 3px 0 cyan;} - 29% { transform: translate(5px, 0) skewX(-10deg); color: #00ffff !important; text-shadow: 3px 0 magenta, -3px 0 cyan;} - 30% { transform: translate(0); color: var(--tui-color) !important; text-shadow: 0 0 15px var(--tui-color) !important;} - 31%, 50% { transform: translate(0); color: var(--tui-color) !important; text-shadow: 0 0 8px var(--tui-glow) !important;} - 51% { transform: scale(1.05) skewY(1deg); color: #ffffff !important; opacity: 0.05; } - 53% { opacity: 1; transform: translate(0); color: var(--tui-color) !important; text-shadow: 0 0 20px var(--tui-color), 0 0 40px var(--tui-glow) !important; } - 90% { transform: translate(-2px, 1px); text-shadow: 2px 0 red, -2px 0 blue;} - 92% { transform: translate(2px, -1px); text-shadow: -2px 0 red, 2px 0 blue;} - 95% { transform: translate(0); color: var(--tui-color) !important; text-shadow: 0 0 20px var(--tui-color) !important;} - 100% { transform: translate(0) scale(1) skewX(0deg); color: var(--tui-color) !important; text-shadow: 0 0 15px var(--tui-color), 0 0 30px var(--tui-glow) !important; opacity: 1; } -} \ No newline at end of file