SaaS 랜딩 페이지 생성기 스킬
트리거 단어
- "SaaS 랜딩 페이지 만들어 줘"
- "generate a saas landing page"
- "소프트웨어 제품 웹사이트를 만들어 줘"
- "landing page for my saas"
이 스킬이 하는 일
완전하고 프로덕션 준비가 된 SaaS 랜딩 페이지를 생성하고, 한 번의 워크플로우로 EdgeOne Pages에 배포합니다.
출력물: 호스팅 URL + 전체 소스 코드.
기술 스택
- 프레임워크: React 18 + Vite
- 스타일링: Tailwind CSS
- 배포: EdgeOne Pages (자동)
- 선택 사항: 폼 처리를 위한 Edge Functions
워크플로우
1단계: 요구 사항 수집
사용자에게 다음 정보를 묻거나 (또는 컨텍스트에서 추론합니다):
- 제품명 / 브랜드
- 태그라인 / 한 줄 소개
- 주요 기능 (3~5개)
- 가격 티어 (선택 사항)
- 선호하는 색상 스킴
정보가 부족하면 합리적인 기본값을 사용하고 진행합니다.
2단계: 코드 생성
다음 구조로 Vite + React + Tailwind 프로젝트를 만듭니다:
saas-landing/
├── index.html
├── package.json
├── vite.config.js
├── tailwind.config.js
├── postcss.config.js
├── src/
│ ├── main.jsx
│ ├── App.jsx
│ ├── index.css
│ └── components/
│ ├── Navbar.jsx
│ ├── Hero.jsx
│ ├── Features.jsx
│ ├── Pricing.jsx
│ ├── Testimonials.jsx
│ ├── CTA.jsx
│ └── Footer.jsx
└── public/
└── favicon.svg
3단계: EdgeOne Pages에 배포
코드 생성 후 다음을 실행합니다:
# EdgeOne Pages CLI 설치
npm install -g edgeone-pages-cli
# 배포
edgeone-pages deploy . --name <프로젝트-이름>
또는 Git 리포지토리를 EdgeOne Pages에 연결하여 자동 배포하도록 안내합니다.
코드 템플릿
package.json
{
"name": "saas-landing",
"private": true,
"version": "1.0.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview"
},
"dependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@types/react": "^18.2.0",
"@types/react-dom": "^18.2.0",
"@vitejs/plugin-react": "^4.2.0",
"autoprefixer": "^10.4.17",
"postcss": "^8.4.33",
"tailwindcss": "^3.4.1",
"vite": "^5.0.0"
}
}
tailwind.config.js
/** @type {import('tailwindcss').Config} */
export default {
content: ['./index.html', './src/**/*.{js,ts,jsx,tsx}'],
theme: {
extend: {
colors: {
brand: {
50: '#eff6ff',
100: '#dbeafe',
200: '#bfdbfe',
300: '#93c5fd',
400: '#60a5fa',
500: '#3b82f6',
600: '#2563eb',
700: '#1d4ed8',
800: '#1e40af',
900: '#1e3a8a',
},
},
},
},
plugins: [],
}
src/App.jsx (전체 예제)
import React from 'react'
import Navbar from './components/Navbar'
import Hero from './components/Hero'
import Features from './components/Features'
import Pricing from './components/Pricing'
import Testimonials from './components/Testimonials'
import CTA from './components/CTA'
import Footer from './components/Footer'
export default function App() {
return (
<div className="min-h-screen bg-white">
<Navbar />
<main>
<Hero />
<Features />
<Pricing />
<Testimonials />
<CTA />
</main>
<Footer />
</div>
)
}
src/components/Hero.jsx (핵심 섹션)
import React from 'react'
export default function Hero({ productName = "Your SaaS", tagline = "The best solution for your business" }) {
return (
<section className="relative bg-gradient-to-br from-brand-600 to-brand-800 text-white py-24 px-6 text-center">
<div className="max-w-4xl mx-auto">
<h1 className="text-5xl font-bold mb-6">{productName}</h1>
<p className="text-xl mb-8 text-brand-100">{tagline}</p>
<div className="flex gap-4 justify-center">
<button className="bg-white text-brand-700 px-8 py-3 rounded-lg font-semibold hover:bg-brand-50 transition">
Get Started Free
</button>
<button className="border border-white px-8 py-3 rounded-lg font-semibold hover:bg-white/10 transition">
See Demo
</button>
</div>
</div>
</section>
)
}
EdgeOne Pages 배포
코드 생성 후 다음 방법으로 배포를 진행합니다:
- 옵션 A: CLI 배포
npx edgeone-pages-cli deploy . --name saas-landing-demo
- 옵션 B: Git 기반 배포
- 코드를 GitHub에 푸시합니다.
- EdgeOne Pages 콘솔에서 리포지토리를 연결합니다.
- 푸시 시 자동 배포됩니다.
- 배포 URL을 확인하고 사용자에게 반환합니다.
모범 사례
- SEO를 위해 시맨틱 HTML을 사용합니다.
- 모바일 반응형을 보장합니다 (Tailwind 클래스).
index.html에 메타 태그를 추가합니다.- 이미지를 최적화합니다 (가능하면 SVG 사용).
- 소셜 공유를 위한 OG 태그를 포함합니다.
사용자 프롬프트 예시
[제품명]의 SaaS 랜딩 페이지를 만들어 주세요.
태그라인: [한 줄 설명]
주요 기능: [기능1], [기능2], [기능3]
가격: 무료 / Pro ($29/월) / Enterprise (문의)
색상 스킴: [파랑/ 보라/ 초록/ 사용자 지정]
EdgeOne Pages에 배포해 주세요.