#!/bin/sh
# 11th 인수인계 자산 전량 내려받기 — 이 파일이 있는 자리에 폴더째 받는다.
set -e
BASE="https://11th-ui.pages.dev"
mkdir -p scenes img

curl -fsSL -o "index.html" "$BASE/index.html"
curl -fsSL -o "app.css" "$BASE/app.css"
curl -fsSL -o "app.js" "$BASE/app.js"
curl -fsSL -o "fixtures.js" "$BASE/fixtures.js"
curl -fsSL -o "README.md" "$BASE/README.md"
curl -fsSL -o "scenes/direction.mp4" "$BASE/scenes/direction.mp4"
curl -fsSL -o "scenes/prep_F1.mp4" "$BASE/scenes/prep_F1.mp4"
curl -fsSL -o "scenes/prep_F2.mp4" "$BASE/scenes/prep_F2.mp4"
curl -fsSL -o "scenes/prep_F3.mp4" "$BASE/scenes/prep_F3.mp4"
curl -fsSL -o "scenes/prep_F4.mp4" "$BASE/scenes/prep_F4.mp4"
curl -fsSL -o "scenes/prep_M1.mp4" "$BASE/scenes/prep_M1.mp4"
curl -fsSL -o "scenes/prep_M2.mp4" "$BASE/scenes/prep_M2.mp4"
curl -fsSL -o "scenes/script.mp4" "$BASE/scenes/script.mp4"
curl -fsSL -o "scenes/slate_F1.mp4" "$BASE/scenes/slate_F1.mp4"
curl -fsSL -o "scenes/slate_F2.mp4" "$BASE/scenes/slate_F2.mp4"
curl -fsSL -o "scenes/slate_F3.mp4" "$BASE/scenes/slate_F3.mp4"
curl -fsSL -o "scenes/slate_F4.mp4" "$BASE/scenes/slate_F4.mp4"
curl -fsSL -o "scenes/slate_M1.mp4" "$BASE/scenes/slate_M1.mp4"
curl -fsSL -o "scenes/slate_M2.mp4" "$BASE/scenes/slate_M2.mp4"
curl -fsSL -o "scenes/source.mp4" "$BASE/scenes/source.mp4"
curl -fsSL -o "scenes/direction.jpg" "$BASE/scenes/direction.jpg"
curl -fsSL -o "scenes/prep_F1.jpg" "$BASE/scenes/prep_F1.jpg"
curl -fsSL -o "scenes/prep_F2.jpg" "$BASE/scenes/prep_F2.jpg"
curl -fsSL -o "scenes/prep_F3.jpg" "$BASE/scenes/prep_F3.jpg"
curl -fsSL -o "scenes/prep_F4.jpg" "$BASE/scenes/prep_F4.jpg"
curl -fsSL -o "scenes/prep_M1.jpg" "$BASE/scenes/prep_M1.jpg"
curl -fsSL -o "scenes/prep_M2.jpg" "$BASE/scenes/prep_M2.jpg"
curl -fsSL -o "scenes/script.jpg" "$BASE/scenes/script.jpg"
curl -fsSL -o "scenes/slate_F1.jpg" "$BASE/scenes/slate_F1.jpg"
curl -fsSL -o "scenes/slate_F2.jpg" "$BASE/scenes/slate_F2.jpg"
curl -fsSL -o "scenes/slate_F3.jpg" "$BASE/scenes/slate_F3.jpg"
curl -fsSL -o "scenes/slate_F4.jpg" "$BASE/scenes/slate_F4.jpg"
curl -fsSL -o "scenes/slate_M1.jpg" "$BASE/scenes/slate_M1.jpg"
curl -fsSL -o "scenes/slate_M2.jpg" "$BASE/scenes/slate_M2.jpg"
curl -fsSL -o "scenes/source.jpg" "$BASE/scenes/source.jpg"
curl -fsSL -o "scenes/manifest.json" "$BASE/scenes/manifest.json"
curl -fsSL -o "img/model_F1_body.jpg" "$BASE/img/model_F1_body.jpg"
curl -fsSL -o "img/model_F1_face.jpg" "$BASE/img/model_F1_face.jpg"
curl -fsSL -o "img/model_F2_body.jpg" "$BASE/img/model_F2_body.jpg"
curl -fsSL -o "img/model_F2_face.jpg" "$BASE/img/model_F2_face.jpg"
curl -fsSL -o "img/model_F3_body.jpg" "$BASE/img/model_F3_body.jpg"
curl -fsSL -o "img/model_F3_face.jpg" "$BASE/img/model_F3_face.jpg"
curl -fsSL -o "img/model_F4_body.jpg" "$BASE/img/model_F4_body.jpg"
curl -fsSL -o "img/model_F4_face.jpg" "$BASE/img/model_F4_face.jpg"
curl -fsSL -o "img/model_M1_body.jpg" "$BASE/img/model_M1_body.jpg"
curl -fsSL -o "img/model_M1_face.jpg" "$BASE/img/model_M1_face.jpg"
curl -fsSL -o "img/model_M2_body.jpg" "$BASE/img/model_M2_body.jpg"
curl -fsSL -o "img/model_M2_face.jpg" "$BASE/img/model_M2_face.jpg"
curl -fsSL -o "img/prod_01.jpg" "$BASE/img/prod_01.jpg"
curl -fsSL -o "img/prod_02.jpg" "$BASE/img/prod_02.jpg"
curl -fsSL -o "img/prod_03.jpg" "$BASE/img/prod_03.jpg"
curl -fsSL -o "img/prod_04.jpg" "$BASE/img/prod_04.jpg"
curl -fsSL -o "img/prod_05.webp" "$BASE/img/prod_05.webp"
curl -fsSL -o "img/prod_06.webp" "$BASE/img/prod_06.webp"
curl -fsSL -o "img/prod_07.jpg" "$BASE/img/prod_07.jpg"
curl -fsSL -o "img/prod_08.jpg" "$BASE/img/prod_08.jpg"
curl -fsSL -o "img/prod_09.jpg" "$BASE/img/prod_09.jpg"
curl -fsSL -o "img/prod_10.jpg" "$BASE/img/prod_10.jpg"
curl -fsSL -o "img/prod_11.jpg" "$BASE/img/prod_11.jpg"
curl -fsSL -o "img/prod_12.jpg" "$BASE/img/prod_12.jpg"
curl -fsSL -o "img/prod_13.jpg" "$BASE/img/prod_13.jpg"
curl -fsSL -o "img/prod_14.jpg" "$BASE/img/prod_14.jpg"
curl -fsSL -o "img/prod_15.jpg" "$BASE/img/prod_15.jpg"
curl -fsSL -o "img/prod_16.jpg" "$BASE/img/prod_16.jpg"

echo "완료 — index.html 에서 <script src=\"fixtures.js\"> 한 줄 지우면 실서버에 붙습니다."
