Create a front page for a pc gaming shop, where users can look for gaming PC's. Make…
- User
Create a front page for a pc gaming shop, where users can look for gaming PC's. Make sure to make the website look as attractive to gamers as possible, while also being informative of what are the specifications of said computers. Put all the code in a single HTML file.
Assistant
Here's a single HTML file for a PC gaming shop's front page, designed to be attractive to gamers and informative about PC specifications.
This design utilizes a dark, vibrant aesthetic with neon accents, typical of gaming culture. It uses Google Fonts for a distinct look, and a responsive grid layout to showcase different gaming PCs with their detailed specifications.
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Nexus Gaming Systems - Unleash Your Power</title> <!-- Google Fonts for a gaming aesthetic (Orbitron for headings, Roboto for body) --> <link rel="preconnect" href="https://fonts.googleapis.com"> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> <link href="https://fonts.googleapis.com/css2?family=Orbitron:wght@400..900&family=Roboto:wght@300,400,700&display=swap" rel="stylesheet"> <style> /* General Styles */ :root { /* Define a palette of dark tones and vibrant accents */ --primary-bg: #1a1a2e; /* Dark Blue-Purple */ --secondary-bg: #0f0f1d; /* Even darker for header/footer */ --accent-color: #e0078a; /* Bright Pink/Magenta */ --text-color: #e0e0e0; /* Light Grey for readability */ --heading-color: #00f0ff; /* Neon Cyan for prominent headings */ --border-color: #3b3b5b; /* Muted Purple for borders */ --button-bg: #00c7ff; /* Bright Blue for primary actions */ --button-hover-bg: #0099cc; /* Slightly darker blue on hover */ --card-bg: #2a2a4a; /* Darker Purple for PC cards */ --footer-bg: #0f0f1d; /* Same as secondary-bg */ } * { margin: 0; padding: 0; box-sizing: border-box; } html { scroll-behavior: smooth; /* Smooth scrolling for anchor links */ } body { font-family: 'Roboto', sans-serif; background-color: var(--primary-bg); color: var(--text-color); line-height: 1.6; overflow-x: hidden; /* Prevent horizontal scroll from subtle shadows */ } h1, h2, h3, h4, h5, h6 { font-family: 'Orbitron', sans-serif; color: var(--heading-color); margin-bottom: 0.5em; } a { color: var(--accent-color); text-decoration: none; transition: color 0.3s ease; } a:hover { color: var(--button-bg); } .container { max-width: 1200px; margin: 0 auto; padding: 20px; } /* Header Styles */ header { background-color: var(--secondary-bg); padding: 20px 0; border-bottom: 1px solid var(--border-color); position: sticky; /* Sticky header for navigation */ top: 0; z-index: 1000; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); } .navbar { display: flex; justify-content: space-between; align-items: center; padding: 0 20px; } .logo { font-family: 'Orbitron', sans-serif; font-size: 2.2em; font-weight: 700; color: var(--heading-color); text-shadow: 0 0 10px var(--accent-color); /* Neon glow effect */ } .logo span { color: var(--accent-color); /* Highlight part of the logo */ } .nav-links { list-style: none; display: flex; } .nav-links li { margin-left: 30px; } .nav-links a { color: var(--text-color); font-weight: 700; font-size: 1.1em; padding: 5px 0; position: relative; } .nav-links a::after { content: ''; position: absolute; width: 0; height: 3px; background-color: var(--accent-color); left: 50%; bottom: -5px; transform: translateX(-50%); transition: width 0.3s ease; } .nav-links a:hover::after { width: 100%; /* Underline effect on hover */ } /* Hero Section */ #hero { /* Using a placeholder image URL for the background */ background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://via.placeholder.com/1920x600/0f0f1d/00f0ff?text=UNLEASH+YOUR+POWER') no-repeat center center/cover; color: white; text-align: center; padding: 100px 20px; min-height: 500px; display: flex; flex-direction: column; justify-content: center; align-items: center; position: relative; overflow: hidden; border-bottom: 2px solid var(--accent-color); /* Accent border */ } #hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.5); /* Dark overlay for text readability */ z-index: 1; } #hero > * { position: relative; z-index: 2; /* Ensure content is above overlay */ } #hero h1 { font-size: 4em; margin-bottom: 20px; text-shadow: 0 0 15px rgba(0, 240, 255, 0.7); /* Neon glow on heading */ line-height: 1.1; } #hero p { font-size: 1.5em; max-width: 800px; margin-bottom: 40px; text-shadow: 0 0 8px rgba(0, 0, 0, 0.5); } .btn { display: inline-block; background-color: var(--button-bg); color: var(--secondary-bg); /* Dark text on bright button */ padding: 15px 30px; border-radius: 8px; font-family: 'Orbitron', sans-serif; font-size: 1.2em; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease; box-shadow: 0 5px 15px rgba(0, 199, 255, 0.4); /* Button shadow */ border: none; cursor: pointer; } .btn:hover { background-color: var(--button-hover-bg); transform: translateY(-3px); /* Lift effect on hover */ box-shadow: 0 8px 20px rgba(0, 199, 255, 0.6); /* Enhanced shadow */ } /* Featured PCs Section */ #featured-pcs { padding: 80px 20px; background-color: var(--primary-bg); text-align: center; } #featured-pcs h2 { font-size: 3em; margin-bottom: 60px; position: relative; display: inline-block; } #featured-pcs h2::after { content: ''; position: absolute; left: 50%; bottom: -15px; transform: translateX(-50%); width: 80px; height: 4px; background-color: var(--accent-color); /* Underline for section titles */ border-radius: 2px; } .pc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsive grid */ gap: 40px; margin-top: 40px; } .pc-card { background-color: var(--card-bg); border-radius: 15px; padding: 30px; box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4); text-align: left; transition: transform 0.3s ease, box-shadow 0.3s ease; border: 1px solid var(--border-color); display: flex; flex-direction: column; /* Allows content to push button to bottom */ justify-content: space-between; } .pc-card:hover { transform: translateY(-10px); /* Lift effect on hover */ box-shadow: 0 12px 30px rgba(0, 199, 255, 0.3); /* Accent shadow on hover */ } .pc-card img { max-width: 100%; height: 200px; /* Fixed height for consistent card presentation */ object-fit: contain; /* Ensures entire image is visible, scales down if needed */ border-radius: 10px; margin-bottom: 20px; border: 1px solid var(--accent-color); /* Frame image with accent color */ background-color: #000; /* Black background for contrast with placeholder text */ } .pc-card h3 { font-size: 1.8em; color: var(--heading-color); margin-bottom: 10px; text-shadow: 0 0 5px rgba(0, 240, 255, 0.3); } .pc-card .price { font-family: 'Orbitron', sans-serif; font-size: 2.2em; color: var(--accent-color); font-weight: 700; margin-bottom: 15px; text-shadow: 0 0 10px rgba(224, 7, 138, 0.5); /* Price glow */ } .pc-card .specs { list-style: none; margin-bottom: 25px; padding-left: 0; font-size: 1.05em; color: var(--text-color); } .pc-card .specs li { margin-bottom: 8px; display: flex; align-items: center; } .pc-card .specs li::before { content: '•'; /* Custom bullet point */ color: var(--button-bg); font-size: 1.2em; margin-right: 10px; display: inline-block; width: 15px; /* Ensure spacing for bullet */ } .pc-card .btn { width: 100%; /* Full width button */ text-align: center; padding: 12px 20px; font-size: 1.1em; margin-top: auto; /* Pushes button to the bottom of the flex container */ } /* Why Choose Us Section */ #why-choose-us { background-color: var(--secondary-bg); padding: 80px 20px; text-align: center; border-top: 2px solid var(--border-color); border-bottom: 2px solid var(--border-color); } #why-choose-us h2 { font-size: 3em; margin-bottom: 60px; position: relative; display: inline-block; } #why-choose-us h2::after { content: ''; position: absolute; left: 50%; bottom: -15px; transform: translateX(-50%); width: 80px; height: 4px; background-color: var(--button-bg); /* Underline for section titles */ border-radius: 2px; } .features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; } .feature-item { background-color: var(--card-bg); padding: 30px; border-radius: 15px; border: 1px solid var(--border-color); transition: transform 0.3s ease, box-shadow 0.3s ease; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); } .feature-item:hover { transform: scale(1.03); /* Slight zoom effect */ box-shadow: 0 8px 20px rgba(224, 7, 138, 0.3); /* Accent shadow */ } .feature-item h3 { color: var(--heading-color); margin-bottom: 15px; font-size: 1.5em; } .feature-item p { font-size: 1.1em; color: var(--text-color); } /* Footer Styles */ footer { background-color: var(--footer-bg); color: var(--text-color); padding: 40px 20px; text-align: center; border-top: 1px solid var(--border-color); font-size: 0.9em; } .footer-content { display: flex; flex-wrap: wrap; justify-content: space-around; gap: 20px; margin-bottom: 30px; } .footer-section { flex: 1; min-width: 200px; /* Minimum width for footer columns */ text-align: left; } .footer-section h4 { color: var(--heading-color); margin-bottom: 15px; font-size: 1.2em; } .footer-section ul { list-style: none; padding: 0; } .footer-section ul li { margin-bottom: 8px; } .footer-section a { color: var(--text-color); } .social-icons a { display: inline-block; margin: 0 10px; font-size: 1.5em; /* Larger social icons */ color: var(--button-bg); transition: color 0.3s ease; } .social-icons a:hover { color: var(--accent-color); } /* Responsive Adjustments */ @media (max-width: 1024px) { #hero h1 { font-size: 3.2em; } #hero p { font-size: 1.3em; } .pc-card { padding: 25px; } .pc-card h3 { font-size: 1.6em; } .pc-card .price { font-size: 2em; } .pc-card .specs { font-size: 1em; } } @media (max-width: 768px) { .navbar { flex-direction: column; /* Stack logo and nav links */ } .nav-links { margin-top: 20px; flex-wrap: wrap; justify-content: center; } .nav-links li { margin: 0 15px 10px; /* Adjust spacing for wrapped links */ } #hero h1 { font-size: 2.5em; } #hero p { font-size: 1.1em; } .btn { padding: 12px 25px; font-size: 1.1em; } #featured-pcs h2, #why-choose-us h2 { font-size: 2.5em; } .pc-grid { grid-template-columns: 1fr; /* Single column on small screens */ } .pc-card { margin: 0 auto; /* Center single column cards */ max-width: 400px; } .footer-content { flex-direction: column; /* Stack footer sections */ text-align: center; } .footer-section { text-align: center; } .social-icons { margin-top: 20px; } } @media (max-width: 480px) { .logo { font-size: 1.8em; } #hero h1 { font-size: 2em; } #hero p { font-size: 0.9em; } .nav-links li { margin: 0 10px 10px; } #featured-pcs h2, #why-choose-us h2 { font-size: 2em; } .pc-card { padding: 20px; } .pc-card h3 { font-size: 1.4em; } .pc-card .price { font-size: 1.8em; } .pc-card .specs { font-size: 0.95em; } } </style> </head> <body> <header> <div class="navbar container"> <a href="#" class="logo">Nexus<span>Gaming</span></a> <nav> <ul class="nav-links"> <li><a href="#featured-pcs">Gaming PCs</a></li> <li><a href="#why-choose-us">Why Us</a></li> <li><a href="#">Build Your Own</a></li> <li><a href="#">Support</a></li> <li><a href="#">Contact</a></li> </ul> </nav> </div> </header> <main> <section id="hero"> <h1>UNLEASH YOUR POWER. <br> DOMINATE THE DIGITAL REALM.</h1> <p>Experience unparalleled gaming performance with custom-built PCs designed for victory. From casual play to professional esports, we have the perfect rig for you.</p> <a href="#featured-pcs" class="btn">Explore Gaming PCs</a> </section> <section id="featured-pcs"> <div class="container"> <h2>Featured Gaming Rigs</h2> <div class="pc-grid"> <!-- PC Card 1: Entry-Level Gaming --> <div class="pc-card"> <img src="https://via.placeholder.com/400x200/2a2a4a/00f0ff?text=Spectra+X10" alt="Spectra X10 Gaming PC"> <h3>Spectra X10</h3> <p class="price">$999.99</p> <ul class="specs"> <li>CPU: AMD Ryzen 5 5600X (6 Cores, 12 Threads)</li> <li>GPU: NVIDIA GeForce RTX 3060 (12GB GDDR6)</li> <li>RAM: 16GB DDR4-3200MHz (2x8GB)</li> <li>Storage: 500GB NVMe PCIe Gen3 SSD</li> <li>PSU: 650W 80+ Bronze Certified</li> <li>Case: Mid-Tower with Tempered Glass & RGB Fans</li> <li>OS: Windows 11 Home (Activated)</li> </ul> <a href="#" class="btn">View Details</a> </div> <!-- PC Card 2: Mid-Range Performance --> <div class="pc-card"> <img src="https://via.placeholder.com/400x200/2a2a4a/e0078a?text=Vortex+5000" alt="Vortex 5000 Gaming PC"> <h3>Vortex 5000</h3> <p class="price">$1799.99</p> <ul class="specs"> <li>CPU: Intel Core i7-13700KF (16 Cores, 24 Threads)</li> <li>GPU: NVIDIA GeForce RTX 4070 (12GB GDDR6X)</li> <li>RAM: 32GB DDR5-5600MHz (2x16GB)</li> <li>Storage: 1TB NVMe PCIe Gen4 SSD</li> <li>PSU: 750W 80+ Gold Certified</li> <li>Cooling: 240mm AIO Liquid Cooler</li> <li>OS: Windows 11 Home (Activated)</li> </ul> <a href="#" class="btn">View Details</a> </div> <!-- PC Card 3: High-End Powerhouse --> <div class="pc-card"> <img src="https://via.placeholder.com/400x200/2a2a4a/00c7ff?text=Apex+Predator+MK-II" alt="Apex Predator MK-II Gaming PC"> <h3>Apex Predator MK-II</h3> <p class="price">$2999.99</p> <ul class="specs"> <li>CPU: Intel Core i9-14900K (24 Cores, 32 Threads)</li> <li>GPU: NVIDIA GeForce RTX 4080 SUPER (16GB GDDR6X)</li> <li>RAM: 64GB DDR5-6000MHz (2x32GB)</li> <li>Storage: 2TB NVMe PCIe Gen4 SSD + 4TB HDD (7200 RPM)</li> <li>PSU: 1000W 80+ Platinum Certified</li> <li>Cooling: 360mm AIO Liquid Cooler</li> <li>OS: Windows 11 Pro (Activated)</li> </ul> <a href="#" class="btn">View Details</a> </div> <!-- PC Card 4: Extreme Performance --> <div class="pc-card"> <img src="https://via.placeholder.com/400x200/2a2a4a/ff0000?text=Titanfall+Z9" alt="Titanfall Z9 Gaming PC"> <h3>Titanfall Z9</h3> <p class="price">$4299.99</p> <ul class="specs"> <li>CPU: AMD Ryzen 9 7950X3D (16 Cores, 32 Threads)</li> <li>GPU: NVIDIA GeForce RTX 4090 (24GB GDDR6X)</li> <li>RAM: 64GB DDR5-6400MHz (CL32, 2x32GB)</li> <li>Storage: 2TB Gen5 NVMe SSD (Ultra-Fast)</li> <li>PSU: 1200W 80+ Titanium Certified</li> <li>Cooling: Custom Loop Liquid Cooling System</li> <li>OS: Windows 11 Pro (Activated)</li> </ul> <a href="#" class="btn">View Details</a> </div> </div> </div> </section> <section id="why-choose-us"> <div class="container"> <h2>Why Choose Nexus Gaming Systems?</h2> <div class="features-grid"> <div class="feature-item"> <h3>Elite Performance</h3> <p>We hand-pick the latest and greatest components to ensure your rig delivers maximum FPS and buttery-smooth gameplay, no matter the title.</p> </div> <div class="feature-item"> <h3>Expert Craftsmanship</h3> <p>Every PC is meticulously assembled, cable-managed, and stress-tested by our certified technicians for peak reliability and aesthetics.</p> </div> <div class="feature-item"> <h3>Customization Options</h3> <p>Tailor your dream machine. Choose your components, case, and RGB to perfectly match your style and performance needs.</p> </div> <div class="feature-item"> <h3>Unrivaled Support</h3> <p>Our dedicated support team is always ready to assist you with any questions or issues, ensuring a seamless gaming experience from day one.</p> </div> </div> </div> </section> </main> <footer> <div class="container"> <div class="footer-content"> <div class="footer-section"> <h4>Quick Links</h4> <ul> <li><a href="#featured-pcs">Gaming PCs</a></li> <li><a href="#">Build Your Own</a></li> <li><a href="#">Custom Builds</a></li> <li><a href="#">PC Parts</a></li> </ul> </div> <div class="footer-section"> <h4>Support</h4> <ul> <li><a href="#">FAQ</a></li> <li><a href="#">Contact Us</a></li> <li><a href="#">Warranty Info</a></li> <li><a href="#">Shipping & Returns</a></li> </ul> </div> <div class="footer-section"> <h4>Connect With Us</h4> <div class="social-icons"> <!-- In a real project, you'd use Font Awesome icons here. For a single HTML file without external resources, we'll use simple text placeholders. --> <a href="#" aria-label="Facebook">Facebook</a> <a href="#" aria-label="Twitter">Twitter</a> <a href="#" aria-label="Instagram">Instagram</a> <a href="#" aria-label="YouTube">YouTube</a> </div> <p>Stay updated on new releases & deals!</p> </div> </div> <div class="copyright"> <p>© 2024 Nexus Gaming Systems. All rights reserved. | <a href="#">Privacy Policy</a> | <a href="#">Terms of Service</a></p> </div> </div> </footer> </body> </html>
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.