Skip to content

Commit 0ba7464

Browse files
committed
add demo301
1 parent 255b480 commit 0ba7464

10 files changed

Lines changed: 4004 additions & 3 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ jobs:
5050
107/node_modules
5151
108/node_modules
5252
201/node_modules
53+
301/node_modules
5354
key: ${{ runner.os }}-node-${{ hashFiles('*/package-lock.json') }}
5455
restore-keys: |
5556
${{ runner.os }}-node-
@@ -60,7 +61,7 @@ jobs:
6061
6162
echo "Installing dependencies for all projects..."
6263
# Install dependencies for all projects sequentially
63-
for dir in 1 2 3 4 5 5a 5b 6 6a 7 8 101 102 103 104 105 106 107 108 201; do
64+
for dir in 1 2 3 4 5 5a 5b 6 6a 7 8 101 102 103 104 105 106 107 108 201 301; do
6465
echo "Installing dependencies for project $dir..."
6566
cd $dir
6667
npm install
@@ -69,7 +70,7 @@ jobs:
6970
7071
echo "Building all projects..."
7172
# Build all projects sequentially to capture any build errors
72-
for dir in 1 2 3 4 5 5a 5b 6 6a 7 8 101 102 103 104 105 106 107 108 201; do
73+
for dir in 1 2 3 4 5 5a 5b 6 6a 7 8 101 102 103 104 105 106 107 108 201 301; do
7374
echo "Building project $dir..."
7475
cd $dir
7576
if npm run build; then
@@ -87,7 +88,7 @@ jobs:
8788
mkdir -p dist
8889
8990
echo "Copying build artifacts..."
90-
for dir in 1 2 3 4 5 5a 5b 6 6a 7 8 101 102 103 104 105 106 107 108 201; do
91+
for dir in 1 2 3 4 5 5a 5b 6 6a 7 8 101 102 103 104 105 106 107 108 201 301; do
9192
if [ -d "$dir/dist" ] && [ "$(ls -A $dir/dist 2>/dev/null)" ]; then
9293
echo "Copying $dir/dist to dist/$dir/"
9394
mkdir -p dist/$dir
@@ -238,6 +239,10 @@ jobs:
238239
<div class="demo-title">Demo 201</div>
239240
<div class="demo-desc">コンボボックス</div>
240241
</a>
242+
<a href="./301/" class="demo-card">
243+
<div class="demo-title">Demo 301</div>
244+
<div class="demo-desc">多段メニュー</div>
245+
</a>
241246
</div>
242247
</body>
243248
</html>

301/.gitignore

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
yarn-debug.log*
6+
yarn-error.log*
7+
pnpm-debug.log*
8+
lerna-debug.log*
9+
10+
node_modules
11+
dist
12+
dist-ssr
13+
*.local
14+
15+
# Editor directories and files
16+
.vscode/*
17+
!.vscode/extensions.json
18+
.idea
19+
.DS_Store
20+
*.suo
21+
*.ntvs*
22+
*.njsproj
23+
*.sln
24+
*.sw?

301/index.html

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<!doctype html>
2+
<html lang="ja">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7+
<title>Vite + React + TS</title>
8+
</head>
9+
<body>
10+
<div id="root"></div>
11+
<script type="module" src="/src/main.tsx"></script>
12+
</body>
13+
</html>

0 commit comments

Comments
 (0)