Compare commits

26 Commits
Author SHA1 Message Date
sungjin.choi 911f1a171d chore : 베너변경
SpecialSource Frontend CD / deploy (push) Successful in 8s
2026-05-29 17:21:52 +09:00
sungjin.choi ce94673981 chore : 베너변경
SpecialSource Frontend CD / deploy (push) Successful in 7s
2026-05-29 10:28:43 +09:00
headporter 3ec0a0dd5a fix : main banner modify
SpecialSource Frontend CD / deploy (push) Successful in 7s
2026-05-29 00:51:22 +09:00
headporter d8dc09b4fe fix : main banner modify
SpecialSource Frontend CD / deploy (push) Successful in 7s
2026-05-29 00:47:37 +09:00
headporter 9581c89f28 fix : main banner modify
SpecialSource Frontend CD / deploy (push) Successful in 6s
2026-05-29 00:44:37 +09:00
headporter bbb7386b48 fix : main banner modify
SpecialSource Frontend CD / deploy (push) Successful in 7s
2026-05-29 00:42:15 +09:00
headporter 0c1ea82adf fix : main banner modify
SpecialSource Frontend CD / deploy (push) Successful in 7s
2026-05-29 00:39:19 +09:00
headporter 4da6d0d8ca fix : main banner modify
SpecialSource Frontend CD / deploy (push) Successful in 7s
2026-05-29 00:35:40 +09:00
headporter 34c15fc4de fix : main banner modify
SpecialSource Frontend CD / deploy (push) Successful in 7s
2026-05-29 00:31:00 +09:00
headporter 926492b7b9 fix : main banner modify
SpecialSource Frontend CD / deploy (push) Successful in 7s
2026-05-29 00:17:58 +09:00
headporter 91a02c9527 fix : main banner modify
SpecialSource Frontend CD / deploy (push) Successful in 7s
2026-05-29 00:05:21 +09:00
headporter 30c5f74f05 fix : main banner modify
SpecialSource Frontend CD / deploy (push) Successful in 7s
2026-05-28 23:44:44 +09:00
sungjin.choi ff6abf189e chore : 베너변경
SpecialSource Frontend CD / deploy (push) Successful in 7s
2026-05-28 17:43:22 +09:00
sungjin.choi 148a35d58b chore : 베너변경
SpecialSource Frontend CD / deploy (push) Successful in 7s
2026-05-28 17:41:59 +09:00
sungjin.choi 6cc02ce4ef chore : 베너변경
SpecialSource Frontend CD / deploy (push) Successful in 7s
2026-05-28 17:30:22 +09:00
sungjin.choi 53c8205b23 chore : 베너변경
SpecialSource Frontend CD / deploy (push) Successful in 7s
2026-05-28 17:25:58 +09:00
sungjin.choi 8921b43c8e chore : 베너변경
SpecialSource Frontend CD / deploy (push) Successful in 6s
2026-05-28 17:22:56 +09:00
sungjin.choi 1beac49b20 chore : 베너변경
SpecialSource Frontend CD / deploy (push) Successful in 6s
2026-05-28 17:19:30 +09:00
sungjin.choi 97341aceb8 chore : 베너변경
SpecialSource Frontend CD / deploy (push) Successful in 7s
2026-05-28 17:15:23 +09:00
sungjin.choi 4a321c96a1 chore : 베너변경
SpecialSource Frontend CD / deploy (push) Successful in 7s
2026-05-28 17:11:38 +09:00
sungjin.choi 206c14e9f1 chore : 베너변경
SpecialSource Frontend CD / deploy (push) Successful in 7s
2026-05-28 17:09:18 +09:00
sungjin.choi 2ff0bb7c74 chore : 베너변경
SpecialSource Frontend CD / deploy (push) Successful in 6s
2026-05-28 17:06:00 +09:00
sungjin.choi 722bb0328e chore : 베너변경
SpecialSource Frontend CD / deploy (push) Successful in 7s
2026-05-28 17:03:04 +09:00
sungjin.choi f9dbb21aef chore : 베너변경
SpecialSource Frontend CD / deploy (push) Successful in 6s
2026-05-28 16:56:43 +09:00
sungjin.choi 2194826a00 chore : 베너변경
SpecialSource Frontend CD / deploy (push) Successful in 6s
2026-05-28 16:53:41 +09:00
sungjin.choi 3b98916680 chore : 베너변경
SpecialSource Frontend CD / deploy (push) Successful in 6s
2026-05-28 16:52:07 +09:00
3 changed files with 341 additions and 141 deletions
+1
View File
@@ -0,0 +1 @@
VITE_YOUTUBE_API_KEY=AIzaSyCMrcXrsvmXf3D88a6RlLAUetErOx1PxGc
+54 -52
View File
@@ -3,44 +3,40 @@ import { computed } from 'vue';
// [Props 정의] // [Props 정의]
const props = defineProps({ const props = defineProps({
// 현재 진행 값
progress: { progress: {
type: Number, type: Number,
required: true, required: true,
default: 0 default: 0
}, },
// 총량
total: { total: {
type: Number, type: Number,
default: 100 default: 100
}, },
// 하단에 표시할 상태 메시지
status: { status: {
type: String, type: String,
default: 'Initializing...' default: 'Initializing...'
}, },
// 막대의 총 글자 길이
barLength: { barLength: {
type: Number, type: Number,
default: 30 default: 30
},
username: {
type: String,
default: 'anonymous'
} }
}); });
// [핵심 로직: Computed로 실시간 계산] // [진행률 및 바 문자열 계산]
// 1. 퍼센트 계산 (0 ~ 100, 소수점 버림)
const percentage = computed(() => { const percentage = computed(() => {
if (props.total <= 0) return 0; if (props.total <= 0) return 0;
const percent = (props.progress / props.total) * 100; const percent = (props.progress / props.total) * 100;
return Math.min(Math.round(percent), 100); // 100%를 넘지 않도록 제한 return Math.min(Math.round(percent), 100);
}); });
// 2. ASCII 막대 문자열 생성 (█░ 문자 조합)
const barString = computed(() => { const barString = computed(() => {
const filledCount = Math.round((props.barLength * percentage.value) / 100); const filledCount = Math.round((props.barLength * percentage.value) / 100);
const emptyCount = props.barLength - filledCount; const emptyCount = props.barLength - filledCount;
// '.repeat()'를 활용해 칼각 유지
const filledBar = '█'.repeat(filledCount); const filledBar = '█'.repeat(filledCount);
const emptyBar = '░'.repeat(emptyCount); const emptyBar = '░'.repeat(emptyCount);
@@ -51,7 +47,7 @@ const barString = computed(() => {
<template> <template>
<div class="tui-window"> <div class="tui-window">
<div class="tui-header"> <div class="tui-header">
<span class="tui-prompt">porter@specialsource-nas:~$</span> <span class="tui-prompt">{{ username }}@specialsource-nas:~$</span>
<span class="tui-cmd">deploy-service --watch</span> <span class="tui-cmd">deploy-service --watch</span>
</div> </div>
@@ -70,76 +66,82 @@ const barString = computed(() => {
</template> </template>
<style scoped> <style scoped>
/* [TUI 핵심 스타일 CSS] */ /* 🌟 [인프라 대통합최종 패치]
순정 레이아웃의 단단한 결합력(!important 락)은 그대로 유지하면서,
하드코딩된 색상값들을 마스터 테마 변수(var(--tui-...))로 싹 교체해 실시간 색상 연동 성공!
*/
.tui-window { .tui-window {
/* 레트로 터미널 배경색 및 초록색 글씨 */ background-color: #000000 !important;
background-color: #000000; color: var(--tui-color) !important; /* 🟢 테마 주축 색상 연동 */
color: #33ff33; /* 형광 초록 */ font-family: 'JetBrains Mono', monospace !important;
padding: 20px !important;
/* ★가장 중요: 칼각을 위한 고정폭 폰트 설정 */ border-radius: 4px !important;
font-family: 'Courier New', 'Fira Code', 'Monaco', monospace; border: 1px solid var(--tui-color) !important; /* 🟢 테마 테두리 연동 */
box-shadow: 0 0 15px var(--tui-border) !important; /* 🟢 테마 글로우 연동 */
padding: 1.5rem;
border-radius: 4px;
border: 1px solid #33ff33;
box-shadow: 0 0 15px rgba(51, 255, 51, 0.2);
display: inline-block; display: inline-block;
min-width: 520px; /* 폰트에 따라 깨지지 않게 최소폭 지정 */ min-width: 520px;
box-sizing: border-box; box-sizing: border-box;
} }
.tui-header { .tui-header {
color: #aaaaaa; /* 프롬프트는 약간 흐리게 */ color: var(--tui-dim) !important; /* 🟢 테마 감쇄(어두운) 색상 연동 */
margin-bottom: 1rem; margin-bottom: 15px !important;
font-size: 0.9rem; font-size: 14px !important;
} }
.tui-cmd { .tui-cmd {
color: #ffffff; color: #ffffff !important;
margin-left: 5px !important;
} }
.tui-bar-row { .tui-bar-row {
/* 막대가 스르륵 차오르는 느낌을 위한 자간 및 폰트 크기 조정 */ font-size: 20px !important;
font-size: 1.25rem; letter-spacing: 1px !important;
letter-spacing: 1px; white-space: pre !important;
display: flex !important;
/* █와 ░의 높이를 맞추기 위해 white-space 설정 */ align-items: center !important;
white-space: pre;
display: flex;
align-items: center;
} }
.tui-bracket { .tui-bracket {
color: #888888; color: var(--tui-dim) !important; /* 🟢 브래킷 색상 연동 */
} }
.tui-bar { .tui-bar {
/* 막대 문자 자체에 약간의 글로우 효과 */ color: var(--tui-color) !important; /* 🟢 차오르는 게이지 블록 색상 연동 */
text-shadow: 0 0 5px rgba(51, 255, 51, 0.5); text-shadow: 0 0 5px var(--tui-glow) !important; /* 🟢 게이지 네온 번짐 연동 */
} }
.tui-percent { .tui-percent {
color: #ffffff; color: #ffffff !important;
margin-left: 0.75rem; margin-left: 12px !important;
font-weight: bold; font-weight: bold !important;
} }
.tui-status-row { .tui-status-row {
margin-top: 1rem; margin-top: 15px !important;
font-size: 0.95rem; font-size: 14px !important;
border-top: 1px dotted #444; border-top: 1px dotted var(--tui-border) !important; /* 🟢 구분 점선 테마 연동 */
padding-top: 0.75rem; padding-top: 10px !important;
} }
.tui-label { .tui-label {
color: #888888; color: var(--tui-dim) !important; /* 🟢 라벨 색상 연동 */
margin-right: 0.5rem; margin-right: 8px !important;
} }
.tui-message { .tui-message {
color: #ffffff; color: #ffffff !important;
/* 메시지가 길어질 경우 대비 */ word-break: break-all !important;
word-break: break-all; }
/* 📱 모바일 환경 최적화 다운사이징 */
@media screen and (max-width: 650px) {
.tui-window {
min-width: 90vw !important;
padding: 15px !important;
}
.tui-bar-row {
font-size: 14px !important;
}
} }
</style> </style>
+286 -89
View File
@@ -1,9 +1,20 @@
<template> <template>
<div class="homepage-wrapper"> <div :class="['homepage-wrapper', `theme-${activeTheme}`]">
<nav class="auth-nav"> <nav class="auth-nav">
<div class="nav-left"> <div class="nav-left">
<span class="status-dot" :class="{ 'secure-mode': isLoggedIn }"></span> <span class="status-dot" :class="{ 'secure-mode': isLoggedIn }"></span>
<span class="brand">SPECIALSOURCE.SYSTEM</span> <span class="brand">SPECIALSOURCE.SYSTEM</span>
<div v-if="isLoggedIn" class="nav-stats">
[LIVE:<span class="pulse-text">{{ activeNow }}</span>|TODAY:{{ todayUnique }}]
</div>
<select v-model="activeTheme" class="theme-selector">
<option value="green">P3_GREEN (기본)</option>
<option value="amber">HERCULES (호박)</option>
<option value="vga">VGA_GRAY (회색)</option>
<option value="ega">EGA_CYAN (청록)</option>
</select>
</div> </div>
<div class="nav-menu"> <div class="nav-menu">
@@ -34,21 +45,7 @@
<div v-if="activeMenu === 'main'" class="sub-page main-page" key="main"> <div v-if="activeMenu === 'main'" class="sub-page main-page" key="main">
<div class="ascii-container"> <div class="ascii-container">
<pre class="ascii-art"> <pre class="ascii-art" v-html="formattedAscii"></pre>
</pre>
</div> </div>
</div> </div>
@@ -151,7 +148,7 @@
</template> </template>
<script setup> <script setup>
import { ref, onMounted, computed } from 'vue'; import { ref, onMounted, onUnmounted, computed } from 'vue';
import axios from 'axios'; import axios from 'axios';
import TuiProgressBar from '@/components/TuiProgressBar.vue'; import TuiProgressBar from '@/components/TuiProgressBar.vue';
@@ -164,13 +161,16 @@ const loginPw = ref('');
const activeMenu = ref('main'); const activeMenu = ref('main');
const authToken = ref(localStorage.getItem('token')); const authToken = ref(localStorage.getItem('token'));
const activeTheme = ref('green');
// 글로벌 오버레이 레이어 상태 관리 변수
const isProcessing = ref(false); const isProcessing = ref(false);
const overlayProgress = ref(0); const overlayProgress = ref(0);
const overlayStatus = ref(''); const overlayStatus = ref('');
// 메뉴 아이템 배열 const todayUnique = ref(0);
const activeNow = ref(0);
let analyticsTimer = null;
const menuItems = [ const menuItems = [
{ id: 'main', name: 'HOME' }, { id: 'main', name: 'HOME' },
{ id: 'youtube', name: 'YOUTUBE' }, { id: 'youtube', name: 'YOUTUBE' },
@@ -181,25 +181,57 @@ const menuItems = [
const isLoggedIn = computed(() => !!authToken.value); const isLoggedIn = computed(() => !!authToken.value);
// 🟢 [UPGRADE] 메뉴 이동 시 영화 같은 TUI 로딩바 시퀀스 구동 const rawAscii = `
███████╗██████╗ ███████╗ ██████╗██╗ █████╗ ██╗
██╔════╝██╔══██╗██╔════╝██╔════╝██║██╔══██╗██║
███████╗██████╔╝█████╗ ██║ ██║███████║██║
╚════██║██╔═══╝ ██╔══╝ ██║ ██║██╔══██║██║
███████║██║ ███████╗╚██████╗██║██║ ██║███████╗
╚══════╝╚═╝ ╚══════╝ ╚═════╝╚═╝╚═╝ ╚═╝╚══════╝
███████╗██████╗ ██╗ ██╗██████╗ ██████╗███████╗
██╔════╝██╔═══██╗██║ ██║██╔══██╗██╔════╝██╔════╝
███████╗██║ ██║██║ ██║██████╔╝██║ █████╗
╚════██║██║ ██║██║ ██║██╔══██╗██║ ██╔══╝
███████║╚██████╔╝╚██████╔╝██║ ██║╚██████╗███████╗
╚══════╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝
██████╗ ██████╗ ███╗ ███╗██████╗ █████╗ ███╗ ██╗██╗ ██╗
██╔════╝██╔═══██╗████╗ ████║██╔══██╗██╔══██╗████╗ ██║╚██╗ ██╔╝
██║ ██║ ██║██╔████╔██║██████╔╝███████║██╔██╗ ██║ ╚████╔╝
██║ ██║ ██║██║╚██╔╝██║██╔═══╝ ██╔══██║██║╚██╗██║ ╚██╔╝
╚██████╗╚██████╔╝██║ ╚═╝ ██║██║ ██║ ██║██║ ╚████║ ██║
╚═════╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═╝╚═╝ ╚═══╝ ╚═╝`;
const formattedAscii = computed(() => {
return rawAscii.replace(/ /g, '<span class="bg-block">█</span>');
});
const fetchAnalyticsData = async () => {
try {
const apiBaseUrl = import.meta.env.VITE_API_URL || '';
const res = await axios.get(`${apiBaseUrl}/api/analytics/live`, { withCredentials: true });
if (res.data) {
todayUnique.value = res.data.todayUnique || 0;
activeNow.value = res.data.activeNow || 0;
}
} catch (err) {
console.error("관제 통계 데이터 로드 실패:", err);
}
};
const changeMenu = (id) => { const changeMenu = (id) => {
// 이미 열려있는 메뉴를 다시 누르면 불필요한 시퀀스 방지 차단
if (activeMenu.value === id) return; if (activeMenu.value === id) return;
// 1) 즉시 화면 전체를 덮고 초기 세팅
isProcessing.value = true; isProcessing.value = true;
overlayProgress.value = 0; overlayProgress.value = 0;
overlayStatus.value = `INITIALIZING ROUTE ACCESS: /${id.toUpperCase()}...`; overlayStatus.value = `INITIALIZING ROUTE ACCESS: /${id.toUpperCase()}...`;
if (termInstance.value) { if (termInstance.value) {
termInstance.value.echo(`\n[[b;green;]>] NAVIGATING TO /${id.toUpperCase()}... INITIALIZING PIPELINE.`); termInstance.value.echo(`\n[[b;var(--tui-color);]>] NAVIGATING TO /${id.toUpperCase()}... INITIALIZING PIPELINE.`);
} }
// 2) 400ms 동안 빠르게 게이지를 채우는 인터벌 구동 (속도 체감 굿)
const interval = setInterval(() => { const interval = setInterval(() => {
overlayProgress.value += 5; overlayProgress.value += 5;
// 진행 수치별 리눅스 해커 감성 문구 전환
if (overlayProgress.value === 25) { if (overlayProgress.value === 25) {
overlayStatus.value = `ALLOCATING MEMORY BUFFER FOR VUE_COMPONENT...`; overlayStatus.value = `ALLOCATING MEMORY BUFFER FOR VUE_COMPONENT...`;
} }
@@ -207,28 +239,24 @@ const changeMenu = (id) => {
overlayStatus.value = `DECRYPTING INTERFACE LOGS & SECURE ASSETS...`; overlayStatus.value = `DECRYPTING INTERFACE LOGS & SECURE ASSETS...`;
} }
if (overlayProgress.value === 85) { if (overlayProgress.value === 85) {
// ★ 85% 지점 오버레이 베일 뒤에서 슥 메인 콘텐츠 메뉴를 스왑!
activeMenu.value = id; activeMenu.value = id;
overlayStatus.value = `MOUNTING VIRTUAL DOM TREE... SUCCESS.`; overlayStatus.value = `MOUNTING VIRTUAL DOM TREE... SUCCESS.`;
} }
// 100% 도달 완료 시 종료 세팅
if (overlayProgress.value >= 100) { if (overlayProgress.value >= 100) {
clearInterval(interval); clearInterval(interval);
if (termInstance.value) { if (termInstance.value) {
termInstance.value.echo(`[[b;green;][SUCCESS]] COMPONENT LOADED PERFECTLY.`); termInstance.value.echo(`[[b;var(--tui-color);][SUCCESS]] COMPONENT LOADED PERFECTLY.`);
} }
// 여운을 약간 준 뒤 부드럽게 창 닫기
setTimeout(() => { setTimeout(() => {
isProcessing.value = false; isProcessing.value = false;
}, 120); }, 120);
} }
}, 20); // 20ms * 20단계 = 총 400ms 로딩 스피드 보장 }, 20);
}; };
// 로그인 등 다른 비즈니스 로직에서 사용하는 동적 제어용 스크립트는 원본 유지
const triggerOverlayProcess = (durationMs, initialMsg) => { const triggerOverlayProcess = (durationMs, initialMsg) => {
isProcessing.value = true; isProcessing.value = true;
overlayProgress.value = 0; overlayProgress.value = 0;
@@ -309,7 +337,7 @@ const handleLoginSubmit = async () => {
authToken.value = response.data.token; authToken.value = response.data.token;
if (termInstance.value) { if (termInstance.value) {
termInstance.value.echo(`[[b;green;][SUCCESS]] ACCESS GRANTED. CREDENTIALS VERIFIED.`); termInstance.value.echo(`[[b;var(--tui-color);][SUCCESS]] ACCESS GRANTED. CREDENTIALS VERIFIED.`);
} }
overlayProgress.value = 100; overlayProgress.value = 100;
@@ -336,32 +364,155 @@ const handleLoginSubmit = async () => {
onMounted(() => { onMounted(() => {
fetchVideos(); fetchVideos();
fetchAnalyticsData();
analyticsTimer = setInterval(fetchAnalyticsData, 30000);
const globaljQuery = window.$; const globaljQuery = window.$;
if (globaljQuery && terminalRef.value) { if (globaljQuery && terminalRef.value) {
termInstance.value = globaljQuery(terminalRef.value).terminal({ termInstance.value = globaljQuery(terminalRef.value).terminal({
'hello': function () { this.echo('Hello, Welcome to Specialsource.company'); }, 'hello': function () { this.echo('Hello, Welcome to Specialsource.company'); },
'help': function () {
this.echo(`- hello : Say hello\n- specialsource : Core info\n- email : Contact\n- clear : Clear console`);
},
'specialsource': function () { this.echo('SPECIALSOURCE Established 2021.01.'); }, 'specialsource': function () { this.echo('SPECIALSOURCE Established 2021.01.'); },
'email': function () { this.echo('specialsource.company@gmail.com'); }, 'email': function () { this.echo('specialsource.company@gmail.com'); },
// 🟢 [NEW] 리얼타임 레이아웃 텍스트 순차 타이핑 프린팅 기믹 함수 구현
'status': function () {
const term = this;
term.pause(); // 타이핑 진행 중엔 추가 명령어 입력을 잠금(인프라 보호 감성)
// 프린팅할 덤프 행렬 배열화
const lines = [
"============================================",
" 📟 SPECIALSOURCE TRAFFIC ARCHITECTURE",
"============================================",
`- CURRENT ACTIVE USERS (5m) : ${activeNow.value} ACTIVE`,
`- TOTAL UNIQUE VISITORS TODAY : ${todayUnique.value} UVs`,
"--------------------------------------------"
];
term.echo("\n[SYS] INITIALIZING SECURE PIPELINE CHANNEL...");
term.echo("[SYS] EXTRACTING POSTGRESQL METADATA... SNAPSHOT READY.");
let index = 0;
// 110ms 간격으로 스태거드 라인 출력 기믹 기동
const typingInterval = setInterval(() => {
if (index < lines.length) {
term.echo(lines[index]);
index++;
} else {
clearInterval(typingInterval);
term.resume(); // 타이핑 종료 후 유저 입력 언락
}
}, 110);
},
'help': function () {
this.echo(`- hello : Say hello\n- specialsource : Core info\n- email : Contact\n- status : Check Live Connected Users (접속자 확인)\n- clear : Clear console`);
},
}, { }, {
greetings: `[SYSTEM V3.2] INTERFACE ONLINE. TYPE 'help' FOR COMMANDS.`, greetings: `[SYSTEM V3.2] INTERFACE ONLINE. TYPE 'help' FOR COMMANDS.`,
prompt: 'admin@specialsource:~$ ' prompt: 'admin@specialsource:~$ '
}); });
} }
}); });
onUnmounted(() => {
if (analyticsTimer) clearInterval(analyticsTimer);
});
</script> </script>
<style>
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@500;700&display=swap');
.homepage-wrapper,
.menu-btn,
.nav-item,
.terminal-box,
.tui-global-overlay,
.login-terminal-frame,
.project-item,
.about-text,
.contact-form,
.theme-selector,
.nav-stats,
:deep(.terminal),
:deep(.terminal span) {
font-family: 'JetBrains Mono', monospace !important;
}
/* 변수 모음 */
.theme-green {
--tui-color: #00ff00;
--tui-dim: #008800;
--tui-glow: rgba(0, 255, 0, 0.6);
--tui-border: rgba(0, 255, 0, 0.2);
}
.theme-amber {
--tui-color: #ffb000;
--tui-dim: #aa6600;
--tui-glow: rgba(255, 176, 0, 0.6);
--tui-border: rgba(255, 176, 0, 0.2);
}
.theme-vga {
--tui-color: #e2e8f0;
--tui-dim: #718096;
--tui-glow: rgba(226, 232, 240, 0.4);
--tui-border: rgba(226, 232, 240, 0.2);
}
.theme-ega {
--tui-color: #00ffff;
--tui-dim: #008b8b;
--tui-glow: rgba(0, 255, 255, 0.6);
--tui-border: rgba(0, 255, 255, 0.2);
}
</style>
<style scoped> <style scoped>
:deep(.terminal), :deep(.terminal span) {
--color: var(--tui-color) !important;
text-shadow: 0 0 5px var(--tui-glow) !important;
}
.homepage-wrapper { .homepage-wrapper {
background-color: #050505; background-color: #050505;
color: #00ff00; color: var(--tui-color);
min-height: 100vh; min-height: 100vh;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
} }
.nav-stats {
font-size: 13px;
color: var(--tui-color);
font-weight: bold;
border: 1px dashed var(--tui-border);
padding: 3px 10px;
background: rgba(0, 0, 0, 0.5);
letter-spacing: 1px;
}
.pulse-text {
color: var(--tui-color);
font-weight: bold;
animation: textPulse 2s infinite ease-in-out;
margin: 0 3px;
}
.theme-selector {
background: #111;
border: 1px solid var(--tui-border);
color: var(--tui-color);
font-size: 11px;
padding: 3px 6px;
outline: none;
cursor: pointer;
transition: 0.3s;
box-shadow: 0 0 4px var(--tui-border);
}
.theme-selector:hover {
border-color: var(--tui-color);
box-shadow: 0 0 8px var(--tui-glow);
}
/* --- GNB --- */ /* --- GNB --- */
.auth-nav { .auth-nav {
display: flex; display: flex;
@@ -369,39 +520,39 @@ onMounted(() => {
align-items: center; align-items: center;
padding: 15px 40px; padding: 15px 40px;
background: #000; background: #000;
border-bottom: 1px solid rgba(0, 255, 0, 0.2); border-bottom: 1px solid var(--tui-border);
} }
.nav-left { display: flex; align-items: center; gap: 15px; }
.nav-menu { display: flex; gap: 20px; } .nav-menu { display: flex; gap: 20px; }
.menu-btn { .menu-btn {
background: none; border: none; color: #008800; background: none; border: none; color: var(--tui-dim);
font-family: monospace; font-size: 16px; cursor: pointer; font-size: 16px; cursor: pointer;
transition: 0.3s; transition: 0.3s;
} }
.menu-btn:hover, .menu-btn.active { color: #00ff00; text-shadow: 0 0 10px #00ff00; } .menu-btn:hover, .menu-btn.active { color: var(--tui-color); text-shadow: 0 0 10px var(--tui-color); }
.auth-group { display: flex; align-items: center; } .auth-group { display: flex; align-items: center; }
.nav-item { .nav-item {
color: #00ff00 !important; color: var(--tui-color) !important;
text-decoration: none; text-decoration: none;
background: none; background: none;
border: 1px solid #00ff00 !important; border: 1px solid var(--tui-color) !important;
padding: 6px 18px; padding: 6px 18px;
margin-left: 10px; margin-left: 10px;
cursor: pointer; cursor: pointer;
font-family: 'Courier New', Courier, monospace;
font-size: 13px; font-size: 13px;
box-shadow: 0 0 5px rgba(0, 255, 0, 0.3); box-shadow: 0 0 5px var(--tui-border);
transition: 0.3s; transition: 0.3s;
} }
.nav-item:hover, .nav-item.active-auth { .nav-item:hover, .nav-item.active-auth {
background: rgba(0, 255, 0, 0.2) !important; background: var(--tui-border) !important;
color: #00ff00 !important; color: var(--tui-color) !important;
box-shadow: 0 0 10px #00ff00; box-shadow: 0 0 10px var(--tui-color);
} }
.user-info { color: #008800 !important; font-size: 12px; margin-right: 15px; font-family: monospace; letter-spacing: 1px;} .user-info { color: var(--tui-dim) !important; font-size: 12px; margin-right: 15px; letter-spacing: 1px;}
.status-dot { width: 8px; height: 8px; background: #ff3b3b; border-radius: 50%; box-shadow: 0 0 8px #ff3b3b; transition: 0.5s; } .status-dot { width: 8px; height: 8px; background: #ff3b3b; border-radius: 50%; box-shadow: 0 0 8px #ff3b3b; transition: 0.5s; }
.status-dot.secure-mode { background: #00ff00; box-shadow: 0 0 8px #00ff00; } .status-dot.secure-mode { background: var(--tui-color); box-shadow: 0 0 8px var(--tui-color); }
/* --- 컨텐츠 영역 --- */ /* --- 컨텐츠 영역 --- */
.content-area { .content-area {
@@ -411,9 +562,8 @@ onMounted(() => {
flex-direction: column; flex-direction: column;
} }
.sub-page { max-width: 1000px; margin: 0 auto; padding-top: 15px; width: 100%; } .sub-page { max-width: 1000px; margin: 0 auto; padding-top: 15px; width: 100%; }
.page-title { font-family: monospace; border-bottom: 1px solid #113311; padding-bottom: 10px; margin-bottom: 20px; color: #00ff00;} .page-title { border-bottom: 1px solid var(--tui-border); padding-bottom: 10px; margin-bottom: 20px; color: var(--tui-color);}
/* 메인 홈 아스키 전광판 레이아웃 */
.main-page { .main-page {
display: flex; display: flex;
justify-content: center; justify-content: center;
@@ -422,7 +572,6 @@ onMounted(() => {
position: relative; position: relative;
} }
/* 글로벌 오버레이 배경 암전 처리 레이어 CSS 스타일 */
.tui-global-overlay { .tui-global-overlay {
position: fixed; position: fixed;
top: 0; top: 0;
@@ -445,22 +594,28 @@ onMounted(() => {
position: relative; position: relative;
} }
.ascii-art { .ascii-art {
font-family: 'Courier New', Courier, monospace !important;
font-weight: bold; font-weight: bold;
white-space: pre; white-space: pre;
display: block; display: block;
margin: 0 auto; margin: 0 auto;
width: max-content; width: max-content;
color: #00ff00 !important;
color: var(--tui-color) !important;
font-size: 14px; font-size: 14px;
line-height: 1.2; line-height: 1.2;
border: none; border: none;
background: transparent; background: transparent;
transform-origin: center; transform-origin: center;
opacity: 1; opacity: 1;
animation: once-cyber-glitch-wobble 2.5s linear 1 forwards !important; animation: once-cyber-glitch-wobble 2.5s linear 1 forwards !important;
} }
:deep(.bg-block) {
color: #050505 !important;
text-shadow: none !important;
}
/* 📺 유튜브 그리드 레이아웃 */ /* 📺 유튜브 그리드 레이아웃 */
#videos-container { #videos-container {
display: grid; display: grid;
@@ -476,44 +631,43 @@ onMounted(() => {
width: 100%; width: 100%;
background: #000; background: #000;
padding: 10px; padding: 10px;
border: 1px solid #113311; border: 1px solid var(--tui-border);
position: relative; position: relative;
cursor: pointer; cursor: pointer;
transition: 0.3s; transition: 0.3s;
} }
.video-card:hover { border-color: #00ff00; box-shadow: 0 0 10px rgba(0, 255, 0, 0.3); } .video-card:hover { border-color: var(--tui-color); box-shadow: 0 0 10px var(--tui-border); }
.video-title { color: #00aa00; margin-top: 10px; font-size: 14px; height: 40px; overflow: hidden; font-family: sans-serif; } .video-title { color: var(--tui-dim); margin-top: 10px; font-size: 14px; height: 40px; overflow: hidden; font-family: sans-serif; }
iframe { width: 100%; height: 180px; border-radius: 4px; } iframe { width: 100%; height: 180px; border-radius: 4px; }
/* 보안 로그인 프레임 */ /* 보안 로그인 프레임 */
.login-terminal-frame { .login-terminal-frame {
max-width: 550px; margin: 40px auto; max-width: 550px; margin: 40px auto;
border: 1px dashed #00ff00; padding: 35px; border: 1px dashed var(--tui-color); padding: 35px;
background: #020a02; box-shadow: 0 0 15px rgba(0, 255, 0, 0.1); background: #020a02; box-shadow: 0 0 15px var(--tui-border);
font-family: 'Courier New', Courier, monospace;
} }
.login-gate-title { color: #00ff00; font-size: 20px; margin-bottom: 10px; font-weight: bold;} .login-gate-title { color: var(--tui-color); font-size: 20px; margin-bottom: 10px; font-weight: bold;}
.login-gate-desc { color: #008800; font-size: 12px; margin-bottom: 30px; line-height: 1.4; } .login-gate-desc { color: var(--tui-dim); font-size: 12px; margin-bottom: 30px; line-height: 1.4; }
.login-form-form { display: flex; flex-direction: column; gap: 20px; } .login-form-form { display: flex; flex-direction: column; gap: 20px; }
.login-input-group { display: flex; align-items: center; border-bottom: 1px solid #005500; padding-bottom: 5px; } .login-input-group { display: flex; align-items: center; border-bottom: 1px solid var(--tui-dim); padding-bottom: 5px; }
.login-label { width: 120px; color: #00ff00; font-weight: bold; font-size: 14px; } .login-label { width: 120px; color: var(--tui-color); font-weight: bold; font-size: 14px; }
.login-input { .login-input {
flex: 1; background: none; border: none; color: #00ff00; flex: 1; background: none; border: none; color: var(--tui-color);
font-family: 'Courier New', Courier, monospace; font-size: 15px; outline: none; font-size: 15px; outline: none;
} }
.login-submit-btn { .login-submit-btn {
margin-top: 15px; background: none; border: 1px solid #00ff00; margin-top: 15px; background: none; border: 1px solid var(--tui-color);
color: #00ff00; padding: 12px; font-family: 'Courier New', Courier, monospace; color: var(--tui-color); padding: 12px;
font-size: 14px; font-weight: bold; cursor: pointer; transition: 0.3s; font-size: 14px; font-weight: bold; cursor: pointer; transition: 0.3s;
} }
.login-submit-btn:hover { background: #00ff00; color: #000; box-shadow: 0 0 15px #00ff00; } .login-submit-btn:hover { background: var(--tui-color); color: #000; box-shadow: 0 0 15px var(--tui-color); }
/* 프로젝트 리스트 */ /* 프로젝트 리스트 */
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; } .project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.project-item { border: 1px solid #113311; padding: 15px; background: #080808; font-family: monospace;} .project-item { border: 1px solid var(--tui-border); padding: 15px; background: #080808; }
.item-header { font-weight: bold; margin-bottom: 10px; color: #00ff00; } .item-header { font-weight: bold; margin-bottom: 10px; color: var(--tui-color); }
.about-text { font-family: monospace; line-height: 2; color: #00cc00;} .about-text { line-height: 2; color: var(--tui-dim);}
.contact-form { font-family: monospace; line-height: 2; color: #00cc00;} .contact-form { line-height: 2; color: var(--tui-dim);}
/* 애니메이션 트랜지션 */ /* 애니메이션 트랜지션 */
.fade-enter-active, .fade-leave-active { transition: opacity 0.25s ease; } .fade-enter-active, .fade-leave-active { transition: opacity 0.25s ease; }
@@ -524,8 +678,8 @@ iframe { width: 100%; height: 180px; border-radius: 4px; }
height: 300px; margin: 10px 40px 30px; height: 300px; margin: 10px 40px 30px;
border: 2px solid #1a1a1a; background: #0a0a0a; overflow: hidden; border: 2px solid #1a1a1a; background: #0a0a0a; overflow: hidden;
} }
.monitor-header { background: #151515; padding: 5px 15px; color: #555; display: flex; justify-content: space-between; font-family: monospace; font-size: 12px;} .monitor-header { background: #151515; padding: 5px 15px; color: #555; display: flex; justify-content: space-between; font-size: 12px;}
.monitor-status { color: #00aa00; animation: blink 2s infinite; } .monitor-status { color: var(--tui-dim); animation: blink 2s infinite; }
.crt-screen-overlay { position: relative; height: calc(100% - 30px); background: #020802; } .crt-screen-overlay { position: relative; height: calc(100% - 30px); background: #020802; }
.crt-screen-overlay::before { .crt-screen-overlay::before {
content: " "; display: block; position: absolute; top: 0; left: 0; bottom: 0; right: 0; content: " "; display: block; position: absolute; top: 0; left: 0; bottom: 0; right: 0;
@@ -534,11 +688,6 @@ iframe { width: 100%; height: 180px; border-radius: 4px; }
} }
.terminal-box { width: 100%; height: 100%; padding: 10px; } .terminal-box { width: 100%; height: 100%; padding: 10px; }
:deep(.terminal), :deep(.terminal span) {
--color: #33ff33 !important; font-family: monospace !important;
text-shadow: 0 0 5px rgba(51, 255, 51, 0.6) !important;
}
/* 📱 반응형 분기점 */ /* 📱 반응형 분기점 */
@media screen and (max-width: 1100px) { @media screen and (max-width: 1100px) {
#videos-container { grid-template-columns: repeat(2, 1fr); } #videos-container { grid-template-columns: repeat(2, 1fr); }
@@ -547,25 +696,73 @@ iframe { width: 100%; height: 180px; border-radius: 4px; }
@media screen and (max-width: 650px) { @media screen and (max-width: 650px) {
#videos-container { grid-template-columns: 1fr; } #videos-container { grid-template-columns: 1fr; }
.project-grid { grid-template-columns: 1fr; } .project-grid { grid-template-columns: 1fr; }
.auth-nav { flex-direction: column; gap: 12px; padding: 15px 20px; }
.ascii-art { font-size: 7px; line-height: 1.1; } .auth-nav {
flex-direction: column;
gap: 15px;
padding: 15px 20px;
align-items: center;
}
.nav-menu {
display: flex;
gap: 12px 16px;
flex-wrap: wrap;
justify-content: center;
width: 100%;
}
.menu-btn { font-size: 14px; }
.auth-group { width: 100%; justify-content: center; margin-top: 5px; }
.nav-item { margin: 0 6px; }
.ascii-container {
width: 100%;
overflow-x: auto !important;
overflow-y: hidden !important;
padding: 20px 10px;
display: block;
box-sizing: border-box;
-webkit-overflow-scrolling: touch;
}
.ascii-art {
font-size: 11px !important;
line-height: 1.35 !important;
white-space: pre !important;
word-break: keep-all !important;
width: max-content !important;
margin: 0 !important;
-webkit-text-size-adjust: none !important;
text-size-adjust: none !important;
max-height: 999999px !important;
}
.crt-monitor-frame {
height: 180px !important;
margin: 10px 15px 15px !important;
}
.monitor-header { padding: 4px 10px; font-size: 10px; }
} }
@keyframes blink { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } } @keyframes blink { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } }
@keyframes textPulse {
0%, 100% { opacity: 0.3; }
50% { opacity: 1; text-shadow: 0 0 8px var(--tui-glow); }
}
/* 일회성 사이버 글리치 키프레임 */ /* 일회성 사이버 글리치 키프레임 */
@keyframes once-cyber-glitch-wobble { @keyframes once-cyber-glitch-wobble {
0%, 25% { transform: translate(0) scale(1) skewX(0deg); color: #00ff00 !important; text-shadow: 0 0 8px rgba(0, 255, 0, 0.7) !important; opacity: 1; } 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; } 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: #00ff00 !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;} 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;} 29% { transform: translate(5px, 0) skewX(-10deg); color: #00ffff !important; text-shadow: 3px 0 magenta, -3px 0 cyan;}
30% { transform: translate(0); color: #00ff00 !important; text-shadow: 0 0 15px rgba(0, 255, 0, 1) !important;} 30% { transform: translate(0); color: var(--tui-color) !important; text-shadow: 0 0 15px var(--tui-color) !important;}
31%, 50% { transform: translate(0); color: #00ff00 !important; text-shadow: 0 0 8px rgba(0, 255, 0, 0.7) !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; } 51% { transform: scale(1.05) skewY(1deg); color: #ffffff !important; opacity: 0.05; }
53% { opacity: 1; transform: translate(0); color: #00ffff !important; text-shadow: 0 0 20px #00ffff, 0 0 40px rgba(0, 255, 255, 0.8) !important; } 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;} 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;} 92% { transform: translate(2px, -1px); text-shadow: -2px 0 red, 2px 0 blue;}
95% { transform: translate(0); color: #00ffff !important; text-shadow: 0 0 20px #00ffff !important;} 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: #00ffff !important; text-shadow: 0 0 15px #00ffff, 0 0 30px rgba(0, 255, 255, 0.7) !important; opacity: 1; } 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; }
} }
</style> </style>