diff --git a/Dockerfile b/Dockerfile index 9b2ea4a..2b339dd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,7 +10,7 @@ RUN npm install # 소스 코드 복사 및 빌드 COPY . . RUN npm install -g @angular/cli -RUN ng build +RUN ng build --configuration production # 2. Production Stage FROM node:24-alpine AS runner diff --git a/build.ps1 b/build.ps1 index ab5f743..13adee7 100644 --- a/build.ps1 +++ b/build.ps1 @@ -1,7 +1,7 @@ # AefComponentTest Docker 이미지 빌드 및 추출 스크립트 $IMAGE_NAME = "aef-component-test" -$TAG = "0.0.1" +$TAG = "0.0.2" $OUTPUT_FILE = "aef-component-test.tar" Write-Host "--- Docker 이미지 빌드 시작: ${IMAGE_NAME}:${TAG} ---" -ForegroundColor Cyan diff --git a/public/favicon.ico b/public/favicon.ico deleted file mode 100644 index 57614f9..0000000 Binary files a/public/favicon.ico and /dev/null differ diff --git a/src/app/app.html b/src/app/app.html index 5d3198e..a18cc5f 100644 --- a/src/app/app.html +++ b/src/app/app.html @@ -1,40 +1,2 @@ - -
-

AEF Component Test

- -
-

Switch Component

- -

Switch is: {{ isToggled() ? 'ON' : 'OFF' }}

-
- - -
- diff --git a/src/app/app.routes.ts b/src/app/app.routes.ts index dc39edb..29046d3 100644 --- a/src/app/app.routes.ts +++ b/src/app/app.routes.ts @@ -1,3 +1,8 @@ import { Routes } from '@angular/router'; +import { MainPage } from './pages/main/main'; +import { KnownIssuesPage } from './pages/known-issues/known-issues'; -export const routes: Routes = []; +export const routes: Routes = [ + { path: '', component: MainPage }, + { path: 'known-issues', component: KnownIssuesPage }, +]; diff --git a/src/app/app.scss b/src/app/app.scss index 7a30e9f..e69de29 100644 --- a/src/app/app.scss +++ b/src/app/app.scss @@ -1,39 +0,0 @@ -.container { - padding: 40px; - max-width: 600px; - margin: 0 auto; -} - -section { - margin-bottom: 40px; - padding: 20px; - border: 2px solid rgba(0, 0, 0, 0.2); - border-radius: 8px; -} - -h1 { - margin-bottom: 40px; - text-align: center; -} - -h2 { - margin-top: 0; - margin-bottom: 20px; - font-size: 1.2rem; - color: #666; -} - -p { - margin-top: 15px; - font-weight: 500; -} - -section#dropdown-test { - dropdown { - width: 324px; - } -} - -.test-container { - max-width: 100%; -} diff --git a/src/app/app.ts b/src/app/app.ts index 8623dbe..f0769dc 100644 --- a/src/app/app.ts +++ b/src/app/app.ts @@ -1,32 +1,12 @@ -import { Component, signal } from '@angular/core'; +import { Component } from '@angular/core'; import { RouterOutlet } from '@angular/router'; -import { Switch } from './components/switch/switch'; -import { Dropdown, DropdownOption } from './components/dropdown/dropdown'; import { HeaderMenu } from './features/header-menu/header-menu'; @Component({ selector: 'app-root', - imports: [RouterOutlet, Switch, Dropdown, HeaderMenu], + standalone: true, + imports: [RouterOutlet, HeaderMenu], templateUrl: './app.html', styleUrl: './app.scss' }) -export class App { - isToggled = signal(false); - - dropdownOptions: DropdownOption[] = [ - { label: 'English', value: "EN" }, - { label: '한국어', value: "KR" }, - { label: '日本語', value: "JP" }, - ]; - - selectedDropdownValue = signal(null); - selectedSize = signal(null); - - handleToggle(state: boolean) { - console.log('Toggle state:', state); - } - - handleDropdownChange(value: any) { - console.log('Dropdown value:', value); - } -} +export class App {} diff --git a/src/app/features/header-menu/header-menu.html b/src/app/features/header-menu/header-menu.html index 9238ab9..90b6eff 100644 --- a/src/app/features/header-menu/header-menu.html +++ b/src/app/features/header-menu/header-menu.html @@ -1,18 +1,19 @@