귀금속 판매 홈페이지 하나 만들어줘
- User
귀금속 판매 홈페이지 하나 만들어줘
Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
귀금속 판매 홈페이지 하나 만들어줘
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
귀금속 판매 홈페이지를 만들어드리겠습니다. HTML, CSS, JavaScript를 사용한 반응형 웹사이트로 제작하겠습니다.
<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>골든트레저 - 프리미엄 귀금속 전문점</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Arial', sans-serif;
line-height: 1.6;
color: #333;
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}
/* 헤더 */
header {
background: linear-gradient(135deg, #d4af37, #ffd700);
color: white;
padding: 1rem 0;
position: fixed;
width: 100%;
top: 0;
z-index: 1000;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
nav {
display: flex;
justify-content: space-between;
align-items: center;
}
.logo {
font-size: 1.8rem;
font-weight: bold;
color: white;
text-decoration: none;
}
.nav-links {
display: flex;
list-style: none;
gap: 2rem;
}
.nav-links a {
color: white;
text-decoration: none;
font-weight: 500;
transition: color 0.3s;
}
.nav-links a:hover {
color: #333;
}
/* 메인 섹션 */
.hero {
background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%23f4f4f4" width="1200" height="600"/><circle fill="%23d4af37" cx="300" cy="150" r="50"/><circle fill="%23ffd700" cx="900" cy="450" r="70"/><rect fill="%23e6e6e6" x="100" y="300" width="200" height="100"/></svg>');
background-size: cover;
background-position: center;
height: 100vh;
display: flex;
align-items: center;
text-align: center;
color: white;
}
.hero-content h1 {
font-size: 3.5rem;
margin-bottom: 1rem;
text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
.hero-content p {
font-size: 1.3rem;
margin-bottom: 2rem;
text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}
.btn {
display: inline-block;
background: #d4af37;
color: white;
padding: 12px 30px;
text-decoration: none;
border-radius: 5px;
font-weight: bold;
transition: background 0.3s;
border: none;
cursor: pointer;
}
.btn:hover {
background: #b8941f;
}
/* 상품 섹션 */
.products {
padding: 80px 0;
background: #f9f9f9;
}
.section-title {
text-align: center;
font-size: 2.5rem;
margin-bottom: 3rem;
color: #333;
}
.product-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
margin-top: 2rem;
}
.product-card {
background: white;
border-radius: 10px;
overflow: hidden;
box-shadow: 0 5px 15px rgba(0,0,0,0.1);
transition: transform 0.3s;
}
.product-card:hover {
transform: translateY(-5px);
}
.product-image {
height: 250px;
background: linear-gradient(45deg, #f0f0f0, #e0e0e0);
display: flex;
align-items: center;
justify-content: center;
font-size: 3rem;
color: #d4af37;
}
.product-info {
padding: 1.5rem;
}
.product-info h3 {
font-size: 1.3rem;
margin-bottom: 0.5rem;
color: #333;
}
.product-info p {
color: #666;
margin-bottom: 1rem;
}
.price {
font-size: 1.5rem;
font-weight: bold;
color: #d4af37;
margin-bottom: 1rem;
}
/* 서비스 섹션 */
.services {
padding: 80px 0;
background: white;
}
.service-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 2rem;
margin-top: 2rem;
}
.service-item {
text-align: center;
padding: 2rem;
border-radius: 10px;
background: #f9f9f9;
}
.service-icon {
font-size: 3rem;
color: #d4af37;
margin-bottom: 1rem;
}
/* 연락처 섹션 */
.contact {
padding: 80px 0;
background: #333;
color: white;
}
.contact-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
margin-top: 2rem;
}
.contact-form {
background: #444;
padding: 2rem;
border-radius: 10px;
}
.form-group {
margin-bottom: 1rem;
}
.form-group label {
display: block;
margin-bottom: 0.5rem;
color: #d4af37;
}
.form-group input,
.form-group textarea {
width: 100%;
padding: 10px;
border: none;
border-radius: 5px;
background: #555;
color: white;
}
.contact-info h3 {
color: #d4af37;
margin-bottom: 1rem;
}
.contact-info p {
margin-bottom: 0.5rem;
}
/* 푸터 */
footer {
background: #222;
color: white;
text-align: center;
padding: 2rem 0;
}
/* 반응형 */
@media (max-width: 768px) {
.nav-links {
display: none;
}
.hero-content h1 {
font-size: 2.5rem;
}
.hero-content p {
font-size: 1.1rem;
}
.section-title {
font-size: 2rem;
}
}
/* 가격 실시간 업데이트 */
.price-ticker {
background: #222;
color: #d4af37;
padding: 10px 0;
text-align: center;
font-weight: bold;
}
</style>
</head>
<body>
<!-- 헤더 -->
<header>
<nav class="container">
<a href="#" class="logo">🏆 골든트레저</a>
<ul class="nav-links">
<li><a href="#home">홈</a></li>
<li><a href="#products">상품</a></li>
<li><a href="#services">서비스</a></li>
<li><a href="#contact">연락처</a></li>
</ul>
</nav>
</header>
<!-- 실시간 가격 -->
<div class="price-ticker">
📈 오늘의 금 시세: <span id="gold-price">₩85,000/g</span> | 은 시세: <span id="silver-price">₩1,200/g</span>
</div>
<!-- 메인 섹션 -->
<section id="home" class="hero">
<div class="container">
<div class="hero-content">
<h1>프리미엄 귀금속의 세계</h1>
<p>최고 품질의 금, 은, 백금 제품을 합리적인 가격에 만나보세요</p>
<a href="#products" class="btn">상품 둘러보기</a>
</div>
</div>
</section>
<!-- 상품 섹션 -->
<section id="products" class="products">
<div class="container">
<h2 class="section-title">인기 상품</h2>
<div class="product-grid">
<div class="product-card">
<div class="product-image">🥇</div>
<div class="product-info">
<h3>24K 순금 목걸이</h3>
<p>최고급 24K 순금으로 제작된 우아한 목걸이입니다.</p>
<div class="price">₩2,850,000</div>
<button class="btn">장바구니 담기</button>
</div>
</div>
<div class="product-card">
<div class="product-image">💍</div>
<div class="product-info">
<h3>다이아몬드 반지</h3>
<p>1캐럿 다이아몬드가 세팅된 18K 골드 반지입니다.</p>
<div class="price">₩4,200,000</div>
<button class="btn">장바구니 담기</button>
</div>
</div>
<div class="product-card">
<div class="product-image">⌚</div>
<div class="product-info">
<h3>플래티넘 시계</h3>
<p>스위스 무브먼트와 플래티넘 케이스의 럭셔리 시계입니다.</p>
<div class="price">₩8,500,000</div>
<button class="btn">장바구니 담기</button>
</div>
</div>
<div class="product-card">
<div class="product-image">🔗</div>
<div class="product-info">
<h3>은 팔찌</h3>
<p>925 순은으로 제작된 세련된 디자인의 팔찌입니다.</p>
<div class="price">₩180,000</div>
<button class="btn">장바구니 담기</button>
</div>
</div>
<div class="product-card">
<div class="product-image">💎</div>
<div class="product-info">
<h3>에메랄드 귀걸이</h3>
<p>천연 에메랄드와 18K 골드로 제작된 고급 귀걸이입니다.</p>
<div class="price">₩3,200,000</div>
<button class="btn">장바구니 담기</button>
</div>
</div>
<div class="product-card">
<div class="product-image">🏅</div>
<div class="product-info">
<h3>금 투자바</h3>
<p>투자용 99.99% 순금 골드바 (100g)</p>
<div class="price">₩8,500,000</div>
<button class="btn">장바구니 담기</button>
</div>
</div>
</div>
</div>
</section>
<!-- 서비스 섹션 -->
<section id="services" class="services">
<div class="container">
<h2 class="section-title">우리의 서비스</h2>
<div class="service-grid">
<div class="service-item">
<div class="service-icon">🔍</div>
<h3>품질 보증</h3>
<p>모든 제품은 국제 인증을 받은 최고 품질의 귀금속입니다.</p>
</div>
<div class="service-item">
<div class="service-icon">🚚</div>
<h3>안전 배송</h3>
<p>보험이 적용된 안전한 배송 서비스를 제공합니다.</p>
</div>
<div class="service-item">
<div class="service-icon">🔄</div>
<h3>교환/환불</h3>
<p>30일 내 무조건 교환 및 환불이 가능합니다.</p>
</div>
<div class="service-item">
<div class="service-icon">💰</div>
<h3>매입 서비스</h3>
<p>보유하신 귀금속을 최고가로 매입해드립니다.</p>
</div>
</div>
</div>
</section>
<!-- 연락처 섹션 -->
<section id="contact" class="contact">
<div class="container">
<h2 class="section-title" style="color: white;">문의하기</h2>
<div class="contact-grid">
<div class="contact-form">
<h3>온라인 문의</h3>
<form>
<div class="form-group">
<label for="name">이름</label>
<input type="text" id="name" name="name" required>
</div>
<div class="form-group">