Sure! Below is a complete, single HTML file for a front page of a PC gaming shop. It’s designed to be visually appealing to gamers with a dark theme, neon accents, and clear, informative specs for each gaming PC. The layout is responsive and includes a hero section, a search bar, and a grid of gaming PCs with specs.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>NextLevel Gaming PCs</title>
<style>
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@700&family=Roboto:wght@400;700&display=swap');
/* Reset */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background: #0d0d0d;
color: #eee;
font-family: 'Roboto', sans-serif;
min-height: 100vh;
display: flex;
flex-direction: column;
}
header {
background: linear-gradient(90deg, #0f0f0f, #1a1a1a);
padding: 1rem 2rem;
display: flex;
align-items: center;
justify-content: space-between;
border-bottom: 2px solid #00ff99;
}
header h1 {
font-family: 'Orbitron', sans-serif;
font-size: 1.8rem;
color: #00ff99;
letter-spacing: 2px;
text-shadow: 0 0 8px #00ff99;
}
nav a {
color: #00ff99;
text-decoration: none;
margin-left: 1.5rem;
font-weight: 700;
transition: color 0.3s ease;
}
nav a:hover {
color: #00cc7a;
}
.hero {
background: url('https://images.unsplash.com/photo-1511512578047-dfb367046420?auto=format&fit=crop&w=1470&q=80') center/cover no-repeat;
height: 350px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
color: #00ff99;
text-shadow: 0 0 10px #00ff99;
padding: 0 1rem;
}
.hero h2 {
font-family: 'Orbitron', sans-serif;
font-size: 3rem;
margin-bottom: 0.5rem;
}
.hero p {
font-size: 1.2rem;
max-width: 600px;
margin-bottom: 1.5rem;
}
.search-bar {
display: flex;
justify-content: center;
margin-bottom: 2rem;
}
.search-bar input[type="text"] {
width: 300px;
padding: 0.75rem 1rem;
border: none;
border-radius: 30px 0 0 30px;
font-size: 1rem;
outline: none;
}
.search-bar button {
background: #00ff99;
border: none;
padding: 0 1.5rem;
border-radius: 0 30px 30px 0;
cursor: pointer;
font-weight: 700;
color: #0d0d0d;
font-size: 1rem;
transition: background 0.3s ease;
}
.search-bar button:hover {
background: #00cc7a;
}
main {
flex-grow: 1;
padding: 0 2rem 3rem;
max-width: 1200px;
margin: 0 auto;
}
.pc-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
gap: 2rem;
}
.pc-card {
background: #121212;
border: 2px solid #00ff99;
border-radius: 12px;
overflow: hidden;
box-shadow: 0 0 15px #00ff99aa;
display: flex;
flex-direction: column;
transition: transform 0.3s ease;
}
.pc-card:hover {
transform: scale(1.05);
box-shadow: 0 0 25px #00ff99ff;
}
.pc-image {
width: 100%;
height: 180px;
object-fit: cover;
border-bottom: 2px solid #00ff99;
}
.pc-content {
padding: 1rem 1.5rem;
flex-grow: 1;
display: flex;
flex-direction: column;
}
.pc-title {
font-family: 'Orbitron', sans-serif;
font-size: 1.4rem;
margin-bottom: 0.5rem;
color: #00ff99;
text-shadow: 0 0 5px #00ff99;
}
.pc-price {
font-weight: 700;
font-size: 1.2rem;
margin-bottom: 1rem;
color: #00cc7a;
}
.specs {
flex-grow: 1;
}
.specs ul {
list-style: none;
}
.specs li {
margin-bottom: 0.5rem;
font-size: 0.95rem;
display: flex;
align-items: center;
}
.specs li svg {
margin-right: 0.5rem;
fill: #00ff99;
min-width: 18px;
}
.btn-buy {
margin-top: 1rem;
background: #00ff99;
border: none;
padding: 0.75rem;
border-radius: 30px;
font-weight: 700;
color: #0d0d0d;
cursor: pointer;
transition: background 0.3s ease;
text-align: center;
}
.btn-buy:hover {
background: #00cc7a;
}
footer {
background: #0f0f0f;
text-align: center;
padding: 1rem 2rem;
border-top: 2px solid #00ff99;
font-size: 0.9rem;
color: #666;
}
/* Icons for specs */
.icon-cpu::before {
content: "🖥️";
margin-right: 0.5rem;
}
.icon-gpu::before {
content: "🎮";
margin-right: 0.5rem;
}
.icon-ram::before {
content: "⚡";
margin-right: 0.5rem;
}
.icon-storage::before {
content: "💾";
margin-right: 0.5rem;
}
.icon-psu::before {
content: "🔌";
margin-right: 0.5rem;
}
.icon-price::before {
content: "💰";
margin-right: 0.5rem;
}
</style>
</head>
<body>
<header>
<h1>NextLevel Gaming PCs</h1>
<nav>
<a href="#pcs">Shop</a>
<a href="#about">About</a>
<a href="#contact">Contact</a>
</nav>
</header>
<section class="hero">
<h2>Unleash Your Gaming Power</h2>
<p>Find the perfect gaming PC tailored to your style and performance needs. Ready to dominate every game.</p>
<div class="search-bar">
<input type="text" id="searchInput" placeholder="Search gaming PCs by name or spec..." />
<button onclick="filterPCs()">Search</button>
</div>
</section>
<main id="pcs">
<div class="pc-grid" id="pcGrid">
<!-- PC Cards inserted here by JS -->
</div>
</main>
<footer id="about">
<p>© 2025 NextLevel Gaming PCs. Crafted for gamers, by gamers.</p>
</footer>
<script>
const pcs = [
{
name: "Vortex X9",
price: "$2,499",
cpu: "Intel Core i9-13900K",
gpu: "NVIDIA RTX 4090 24GB",
ram: "32GB DDR5 6000MHz",
storage: "2TB NVMe SSD",
psu: "1000W Gold Certified",
image: "https://images.unsplash.com/photo-1612832021081-0a7a7a3a7a7a?auto=format&fit=crop&w=800&q=80"
},
{
name: "Phantom R5",
price: "$1,799",
cpu: "AMD Ryzen 7 7800X",
gpu: "AMD Radeon RX 7900 XT",
ram: "16GB DDR5 5600MHz",
storage: "1TB NVMe SSD + 2TB HDD",
psu: "850W Gold Certified",
image: "https://images.unsplash.com/photo-1603791440384-56cd371ee9a7?auto=format&fit=crop&w=800&q=80"
},
{
name: "Nebula Z3",
price: "$1,299",
cpu: "Intel Core i7-13700F",
gpu: "NVIDIA RTX 4070 Ti 12GB",
ram: "16GB DDR4 3200MHz",
storage: "1TB NVMe SSD",
psu: "750W Bronze Certified",
image: "https://images.unsplash.com/photo-1587202372775-3a7a7a7a7a7a?auto=format&fit=crop&w=800&q=80"
},
{
name: "Titanium G7",
price: "$999",
cpu: "AMD Ryzen 5 5600X",
gpu: "NVIDIA RTX 3060 12GB",
ram: "16GB DDR4 3200MHz",
storage: "512GB NVMe SSD + 1TB HDD",
psu: "650W Bronze Certified",
image: "https://images.unsplash.com/photo-1612831455547-0a7a7a7a7a7a?auto=format&fit=crop&w=800&q=80"
},
{
name: "Blaze V2",
price: "$1,499",
cpu: "Intel Core i7-12700K",
gpu: "NVIDIA RTX 3080 10GB",
ram: "32GB DDR4 3600MHz",
storage: "1TB NVMe SSD + 2TB HDD",
psu: "850W Gold Certified",
image: "https://images.unsplash.com/photo-1612832021081-0a7a7a3a7a7a?auto=format&fit=crop&w=800&q=80"
}
];
const pcGrid = document.getElementById('pcGrid');
const searchInput = document.getElementById('searchInput');
function createPCCard(pc) {
const card = document.createElement('div');
card.className = 'pc-card';
card.innerHTML = `
<img src="${pc.image}" alt="${pc.name}" class="pc-image" />
<div class="pc-content">
<h3 class="pc-title">${pc.name}</h3>
<div class="pc-price">${pc.price}</div>
<div class="specs">
<ul>
<li class="icon-cpu">CPU: ${pc.cpu}</li>
<li class="icon-gpu">GPU: ${pc.gpu}</li>
<li class="icon-ram">RAM: ${pc.ram}</li>
<li class="icon-storage">Storage: ${pc.storage}</li>
<li class="icon-psu">PSU: ${pc.psu}</li>
</ul>
</div>
<button class="btn-buy" onclick="alert('Added ${pc.name} to cart!')">Buy Now</button>
</div>
`;
return card;
}
function displayPCs(list) {
pcGrid.innerHTML = '';
if (list.length === 0) {
pcGrid.innerHTML = '<p style="color:#00ff99; text-align:center; grid-column: 1/-1;">No PCs found matching your search.</p>';
return;
}
list.forEach(pc => {
pcGrid.appendChild(createPCCard(pc));
});
}
function filterPCs() {
const query = searchInput.value.toLowerCase();
const filtered = pcs.filter(pc => {
return (
pc.name.toLowerCase().includes(query) ||
pc.cpu.toLowerCase().includes(query) ||
pc.gpu.toLowerCase().includes(query) ||
pc.ram.toLowerCase().includes(query) ||
pc.storage.toLowerCase().includes(query) ||
pc.psu.toLowerCase().includes(query)
);
});
displayPCs(filtered);
}
// Initial display
displayPCs(pcs);
</script>
</body>
</html>
Features:
- Dark neon theme with green accents popular in gaming UI.
- Hero section with a background image and tagline.
- Search bar to filter PCs by name or specs.
- Grid layout showing cards for each gaming PC with image, name, price, and detailed specs.
- Buy button with a simple alert (can be replaced with real cart functionality).
- Responsive design for different screen sizes.
- Clean, modern fonts with Orbitron for headings and Roboto for body text.
Open this file in any modern browser to see the shop front page in action. Let me know if you want me to add more features like sorting, filtering by specs, or a cart system!