#!/bin/bash

echo "🎨 啟動 DramaLing 前端..."

cd frontend

echo "📦 檢查依賴..."
if [ ! -d "node_modules" ]; then
    echo "📦 安裝依賴..."
    npm install
fi

echo "🚀 啟動 Next.js 開發服務器..."
echo "🌐 前端網址: http://localhost:3001"
echo "📱 響應式設計已就緒"
echo ""

npm run dev