Hostinger-reg-GitHub Step 1
📦 General
✨ The Prompt Phrase
From the Hostinger new website creation screen, click "Create New Website."
💻 Code Preview
📦 All-in-One Code
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Business Dashboard</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
background-color: #f5f5f7;
padding: 20px;
}
.container {
max-width: 1000px;
margin: 0 auto;
background: white;
border-radius: 12px;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
overflow: hidden;
}
.header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 24px 32px;
border-bottom: 1px solid #e5e7eb;
}
.header h1 {
font-size: 20px;
font-weight: 600;
color: #1f2937;
}
.header-actions {
display: flex;
gap: 12px;
align-items: center;
}
.btn-migrate {
display: flex;
align-items: center;
gap: 8px;
padding: 8px 16px;
background: white;
border: 1px solid #e5e7eb;
border-radius: 6px;
color: #6366f1;
font-size: 14px;
font-weight: 500;
cursor: pointer;
transition: all 0.2s;
}
.btn-migrate:hover {
background: #f9fafb;
}
.btn-migrate svg {
width: 16px;
height: 16px;
}
.btn-add {
display: flex;
align-items: center;
gap: 8px;
padding: 8px 20px;
background: #6366f1;
border: none;
border-radius: 6px;
color: white;
font-size: 14px;
font-weight: 500;
cursor: pointer;
transition: all 0.2s;
}
.btn-add:hover {
background: #5558e3;
}
.menu-btn {
background: none;
border: none;
font-size: 20px;
color: #6b7280;
cursor: pointer;
padding: 4px 8px;
line-height: 1;
}
.website-item {
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px 32px;
border-bottom: 1px solid #e5e7eb;
transition: background 0.15s;
}
.website-item:hover {
background: #f9fafb;
}
.website-info {
display: flex;
align-items: center;
gap: 12px;
}
.website-icon {
width: 32px;
height: 32px;
background: #f3f4f6;
border: 1px solid #e5e7eb;
border-radius: 6px;
display: flex;
align-items: center;
justify-content: center;
font-size: 16px;
}
.website-name {
font-size: 14px;
color: #1f2937;
font-weight: 500;
text-decoration: none;
display: flex;
align-items: center;
gap: 6px;
}
.external-icon {
width: 14px;
height: 14px;
color: #6b7280;
}
.website-actions {
display: flex;
gap: 8px;
align-items: center;
}
.btn-tools,
.btn-dashboard {
padding: 6px 16px;
background: white;
border: 1px solid #e5e7eb;
border-radius: 6px;
color: #6366f1;
font-size: 14px;
font-weight: 500;
cursor: pointer;
transition: all 0.2s;
}
.btn-tools {
display: flex;
align-items: center;
gap: 4px;
}
.btn-tools:hover,
.btn-dashboard:hover {
background: #f9fafb;
}
.footer {
display: flex;
justify-content: flex-end;
align-items: center;
padding: 16px 32px;
gap: 24px;
}
.items-per-page {
display: flex;
align-items: center;
gap: 12px;
font-size: 14px;
color: #6b7280;
}
.items-per-page select {
padding: 6px 32px 6px 12px;
border: 1px solid #e5e7eb;
border-radius: 6px;
font-size: 14px;
color: #1f2937;
cursor: pointer;
background: white;
appearance: none;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3E%3C/svg%3E");
background-position: right 8px center;
background-repeat: no-repeat;
background-size: 16px;
}
.pagination {
font-size: 14px;
color: #6b7280;
}
</style>
</head>
<body>
<div class="container">
<!-- Header -->
<div class="header">
<h1>Business</h1>
<div class="header-actions">
<button class="btn-migrate">
<svg viewBox="0 0 20 20" fill="currentColor">
<path d="M8 5a1 1 0 100 2h5.586l-1.293 1.293a1 1 0 001.414 1.414l3-3a1 1 0 000-1.414l-3-3a1 1 0 10-1.414 1.414L13.586 5H8zM12 15a1 1 0 100-2H6.414l1.293-1.293a1 1 0 10-1.414-1.414l-3 3a1 1 0 000 1.414l3 3a1 1 0 001.414-1.414L6.414 15H12z"/>
</svg>
Migrate website
</button>
<button class="btn-add">
+ Add website
</button>
<button class="menu-btn">⋮</button>
</div>
</div>
<!-- Website List -->
<div class="website-item">
<div class="website-info">
<div class="website-icon">🌐</div>
<a href="#" class="website-name">
chemistlife.com
<svg class="external-icon" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"/>
</svg>
</a>
</div>
<div class="website-actions">
<button class="btn-tools">Tools ▼</button>
<button class="btn-dashboard">Dashboard</button>
<button class="menu-btn">⋮</button>
</div>
</div>
<div class="website-item">
<div class="website-info">
<div class="website-icon">🌐</div>
<a href="#" class="website-name">
brainstrack.com
<svg class="external-icon" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"/>
</svg>
</a>
</div>
<div class="website-actions">
<button class="btn-tools">Tools ▼</button>
<button class="btn-dashboard">Dashboard</button>
<button class="menu-btn">⋮</button>
</div>
</div>
<div class="website-item">
<div class="website-info">
<div class="website-icon">🌐</div>
<a href="#" class="website-name">
aboutgeneticlearning.com
<svg class="external-icon" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"/>
</svg>
</a>
</div>
<div class="website-actions">
<button class="btn-tools">Tools ▼</button>
<button class="btn-dashboard">Dashboard</button>
<button class="menu-btn">⋮</button>
</div>
</div>
<div class="website-item">
<div class="website-info">
<div class="website-icon">🌐</div>
<a href="#" class="website-name">
hbdnf.com
<svg class="external-icon" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"/>
</svg>
</a>
</div>
<div class="website-actions">
<button class="btn-tools">Tools ▼</button>
<button class="btn-dashboard">Dashboard</button>
<button class="menu-btn">⋮</button>
</div>
</div>
<div class="website-item">
<div class="website-info">
<div class="website-icon">🌐</div>
<a href="#" class="website-name">
hbngf.net
<svg class="external-icon" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"/>
</svg>
</a>
</div>
<div class="website-actions">
<button class="btn-tools">Tools ▼</button>
<button class="btn-dashboard">Dashboard</button>
<button class="menu-btn">⋮</button>
</div>
</div>
<div class="website-item">
<div class="website-info">
<div class="website-icon">🌐</div>
<a href="#" class="website-name">
gldashboard.com
<svg class="external-icon" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"/>
</svg>
</a>
</div>
<div class="website-actions">
<button class="btn-tools">Tools ▼</button>
<button class="btn-dashboard">Dashboard</button>
<button class="menu-btn">⋮</button>
</div>
</div>
<!-- Footer -->
<div class="footer">
<div class="items-per-page">
<span>Items per page:</span>
<select>
<option value="100" selected>100</option>
<option value="50">50</option>
<option value="25">25</option>
<option value="10">10</option>
</select>
</div>
<div class="pagination">1 - 6 of 6</div>
</div>
</div>
</body>
</html>
Live Preview