Create me a React landing page that demonstrates the following design system. I want a…
- User
Create me a React landing page that demonstrates the following design system. I want a combination between glassmorphism and neomorphism. Incorporate many glassmorphic elements that. Also make them context aware and high quality. For the colors, I want neomorphic colors, meaning I want a deep purple and electric blue accent color. Make sure to keep a dark and not too distracting background while not making it just a plain color.
Assistant
Here's a complete implementation of a React landing page that combines glassmorphism and neomorphism design systems with deep purple and electric blue accents:
import React from 'react'; import './App.css'; function App() { return ( <div className="app"> <Header /> <HeroSection /> <FeatureCards /> <Footer /> </div> ); } function Header() { return ( <header className="header"> <nav className="navbar"> <ul> <li><a href="#">Home</a></li> <li><a href="#">Features</a></li> <li><a href="#">About</a></li> <li><a href="#">Contact</a></li> </ul> </nav> </header> ); } function HeroSection() { return ( <section className="hero"> <div className="hero-content"> <h1>Welcome to Our Landing Page</h1> <p>Discover the future of design with glassmorphism and neomorphism.</p> <button className="cta-button">Get Started</button> </div> </section> ); } function FeatureCards() { return ( <section className="features"> <div className="feature-card"> <h2>Feature One</h2> <p>Description of feature one.</p> </div> <div className="feature-card"> <h2>Feature Two</h2> <p>Description of feature two.</p> </div> <div className="feature-card"> <h2>Feature Three</h2> <p>Description of feature three.</p> </div> </section> ); } function Footer() { return ( <footer className="footer"> <p>© 2023 My Landing Page. All rights reserved.</p> </footer> ); } export default App;/* Base styles */ body { margin: 0; font-family: 'Arial', sans-serif; } .app { background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%); min-height: 100vh; padding: 20px; color: white; } /* Header styles */ .header { padding: 20px 0; } .navbar ul { list-style: none; display: flex; justify-content: center; padding: 0; margin: 0; } .navbar li { margin: 0 15px; } .navbar a { color: white; text-decoration: none; font-weight: bold; } /* Hero section styles */ .hero { display: flex; justify-content: center; align-items: center; text-align: center; padding: 100px 20px; } .hero-content { max-width: 800px; } .hero h1 { font-size: 3rem; margin-bottom: 20px; } .hero p { font-size: 1.2rem; margin-bottom: 30px; } .cta-button { padding: 12px 24px; background: rgba(106, 13, 173, 0.7); /* Deep purple with transparency */ color: white; border: none; border-radius: 10px; font-size: 1rem; cursor: pointer; transition: all 0.3s ease; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.2); box-shadow: 8px 8px 15px rgba(26, 26, 26, 0.5), -8px -8px 15px rgba(58, 58, 58, 0.5); } .cta-button:hover { background: rgba(106, 13, 173, 0.9); transform: translateY(-3px); box-shadow: 10px 10px 20px rgba(26, 26, 26, 0.6), -10px -10px 20px rgba(58, 58, 58, 0.6); } /* Feature cards styles */ .features { display: flex; justify-content: center; flex-wrap: wrap; gap: 20px; padding: 50px 20px; } .feature-card { background: rgba(42, 42, 42, 0.5); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.2); padding: 30px; width: 300px; box-shadow: 8px 8px 15px rgba(26, 26, 26, 0.5), -8px -8px 15px rgba(58, 58, 58, 0.5); transition: all 0.3s ease; } .feature-card:hover { box-shadow: 10px 10px 20px rgba(26, 26, 26, 0.6), -10px -10px 20px rgba(58, 58, 58, 0.6); transform: translateY(-5px); } .feature-card h2 { color: #00b4d8; /* Electric blue */ margin-top: 0; } /* Footer styles */ .footer { text-align: center; padding: 20px 0; margin-top: 50px; border-top: 1px solid rgba(255, 255, 255, 0.1); } /* Responsive styles */ @media (max-width: 768px) { .hero h1 { font-size: 2rem; } .hero p { font-size: 1rem; } .features { flex-direction: column; align-items: center; } .feature-card { width: 100%; max-width: 400px; } }This implementation combines glassmorphism and neomorphism by using transparency, blur effects, and subtle shadows to create a modern and visually appealing landing page. The color scheme includes deep purple and electric blue accents, and the background is a dark gradient to keep it from being too plain. The elements are context-aware with hover effects that enhance the user experience.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.