A
Anonymous

Service Card - Copy this React, Tailwind Component to your project

```plaintext Generate an extensive and enhanced landing page for "Exertion Solutions," a company providing enterprise management systems implementation and automation services. Use React and Tailwind CSS. Follow these comprehensive guidelines: 1. Estructura de Navegación: Fixed navigation menu with logo and links. Responsive design with hidden mobile menu. Smooth transitions between hover states. Accessibility with clear icons and labels. Add a search bar in the menu. Create a dropdown for services. Implement breadcrumbs for easier navigation. Add a progress bar for page navigation. Include a prominent call to action (CTA) button. Highlight the current section in the navigation menu. 2. Diseño Visual y Experiencia de Usuario: Color gradient in the header for visual impact. Custom corporate color palette. Clearly defined sections: Services, Testimonials, Contact. Use grids to organize content neatly. Implement dark mode. Use high quality images for services. Add an image carousel in the testimonials section. Include custom icons for each service. Use modern and readable typography. Add animation effects for section loading. Create a section for company achievements and certifications. Include a countdown section for upcoming events or launches. Apply consistent padding and margin for a clean layout. Ensure all text content is SEO optimized. Incorporate 3D effects and interactive elements. Use incredible icons to enhance visual appeal. Implement parallax scrolling effects. 3. Componentes de Sección: Services rendered in an adaptive grid. Service cards with hover effects and 3D animations. Modern design for the testimonials section. Contact form with basic validation. Add a FAQ section. Create a blog to share news and relevant articles. Add a section for case studies or successful projects. Include a team section with member profiles. Create a partners and collaborations section. Add a newsletter subscription section. Include an interactive heat map of the company's global presence. Implement a live chat support feature. Add a customer feedback form. Create a timeline of the company's history. Design each section with 3D cards and incredible icons. 4. Optimización y Accesibilidad: HTML5 semantic tags. Responsive mobile design. Sans serif font for readability. Descriptive icons and labels. Implement form validation with JavaScript. Add subtle transition animations. Optimize images for faster loading speed. Implement lazy loading for images. Ensure the site is accessible for users with disabilities (WCAG). Include an interactive map in the contact section. Use SEO techniques to improve search engine visibility. Implement web traffic analytics to monitor performance. Include image testimonials. Add social media sharing buttons. Create a real time Q&A section (chatbot). Ensure cross browser compatibility. Implement caching strategies for improved performance. Minimize the use of external scripts and stylesheets. Use a content delivery network (CDN) for faster content delivery. Regularly update and maintain the website for security and performance. Generate the content for all pages and sections, ensuring each page has detailed and relevant information. ``` ### File Structure and Components ```plaintext src/ | assets/ | | images/ | | service1.jpg | | service2.jpg | | service3.jpg | | testimonial1.jpg | | testimonial2.jpg | | testimonial3.jpg | | team1.jpg | | team2.jpg | | team3.jpg | components/ | | Navbar.js | | Footer.js | | HeroSection.js | | ServicesSection.js | | TestimonialsSection.js | | ContactForm.js | | FAQSection.js | | BlogSection.js | | CaseStudiesSection.js | | TeamSection.js | | PartnersSection.js | | NewsletterSection.js | | InteractiveMap.js | pages/ | | HomePage.js | | ServicesPage.js | | TestimonialsPage.js | | ContactPage.js | | BlogPage.js | | CaseStudiesPage.js | | TeamPage.js | | PartnersPage.js | App.js | index.js | tailwind.config.js ``` ### Example Components ```javascript name=src/components/Navbar.js import React from 'react'; import { Link } from 'react router dom'; import { MenuIcon, XIcon } from '@heroicons/react/outline'; const Navbar = () => { const [isOpen, setIsOpen] = React.useState(false); const toggleMenu = () => { setIsOpen(!isOpen); }; return ( <nav className="fixed top 0 w full bg white shadow md z 50"> <div className="max w 7xl mx auto px 4 sm:px 6 lg:px 8"> <div className="flex items center justify between h 16"> <div className="flex items center"> <Link to="/"> <img className="h 8 w 8" src="/logo.png" alt="Exertion Solutions" /> </Link> <div className="hidden md:block"> <div className="ml 10 flex items baseline space x 4"> <Link to="/" className="px 3 py 2 rounded md text sm font medium text gray 700 hover:text gray 900"> Home </Link> <Link to="/services" className="px 3 py 2 rounded md text sm font medium text gray 700 hover:text gray 900"> Services </Link> <Link to="/testimonials" className="px 3 py 2 rounded md text sm font medium text gray 700 hover:text gray 900"> Testimonials </Link> <Link to="/contact" className="px 3 py 2 rounded md text sm font medium text gray 700 hover:text gray 900"> Contact </Link> <Link to="/blog" className="px 3 py 2 rounded md text sm font medium text gray 700 hover:text gray 900"> Blog </Link> </div> </div> </div> <div className="md:hidden"> <button onClick={toggleMenu} className="text gray 700 hover:text gray 900 focus:outline none focus:text gray 900"> {!isOpen ? <MenuIcon className="h 6 w 6" /> : <XIcon className="h 6 w 6" />} </button> </div> </div> </div> {isOpen && ( <div className="md:hidden"> <div className="px 2 pt 2 pb 3 space y 1 sm:px 3"> <Link to="/" className="block px 3 py 2 rounded md text base font medium text gray 700 hover:text gray 900"> Home </Link> <Link to="/services" className="block px 3 py 2 rounded md text base font medium text gray 700 hover:text gray 900"> Services </Link> <Link to="/testimonials" className="block px 3 py 2 rounded md text base font medium text gray 700 hover:text gray 900"> Testimonials </Link> <Link to="/contact" className="block px 3 py 2 rounded md text base font medium text gray 700 hover:text gray 900"> Contact </Link> <Link to="/blog" className="block px 3 py 2 rounded md text base font medium text gray 700 hover:text gray 900"> Blog </Link> </div> </div> )} </nav> ); }; export default Navbar; ``` ```javascript name=src/components/HeroSection.js import React from 'react'; const HeroSection = () => { return ( <section className="bg gradient to r from blue 500 to blue 700 text white py 20"> <div className="container mx auto px 6 text center"> <h1 className="text 4xl md:text 6xl font bold mb 4">Welcome to Exertion Solutions</h1> <p className="text xl md:text 2xl mb 8">Your partner in enterprise management systems and automation.</p> <a href="#contact" className="bg white text blue 700 font semibold py 2 px 4 rounded inline block hover:bg gray 200 transition duration 300" > Get Started </a> </div> </section> ); }; export default HeroSection; ``` ```javascript name=src/components/ServicesSection.js import React from 'react'; const services = [ { title: 'System Implementation', description: 'We implement enterprise management systems tailored to your business needs.', image: '/assets/images/service1.jpg', }, { title: 'Automation Solutions', description: 'Automate your processes to increase efficiency and reduce costs.', image: '/assets/images/service2.jpg', }, { title: 'Consulting Services', description: 'Expert consulting to ensure successful system integration and performance.', image: '/assets/images/service3.jpg', }, ]; const ServicesSection = () => { return ( <section className="py 20 bg gray 100"> <div className="container mx auto px 6 text center"> <h2 className="text 3xl md:text 5xl font bold mb 12">Our Services</h2> <div className="grid grid cols 1 md:grid cols 3 gap 8"> {services.map((service, index) => ( <div key={index} className="bg white shadow lg rounded lg overflow hidden transform hover:scale 105 transition transform duration 300"> <img className="w full h 48 object cover" src={service.image} alt={service.title} /> <div className="p 6"> <h3 className="text xl font semibold mb 4">{service.title}</h3> <p className="text gray 700">{service.description}</p> </div> </div> ))} </div> </div> </section> ); }; export default ServicesSection; ``` ```javascript name=src/components/TestimonialsSection.js import React from 'react'; const testimonials = [ { name: 'John Doe', role: 'CEO, Company A', image: '/assets/images/testimonial1.jpg', testimonial: 'Exertion Solutions transformed our business processes and improved our efficiency.', }, { name: 'Jane Smith', role: 'CTO, Company B', image: '/assets/images/testimonial2.jpg', testimonial: 'Their automation solutions are top notch and have significantly reduced our operating costs.', }, { name: 'Michael Johnson', role: 'Manager, Company C', image: '/assets/images/testimonial3.jpg', testimonial: 'Professional and reliable service from start to finish. Highly recommended!', }, ]; const TestimonialsSection = () => { return ( <section className="py 20 bg white"> <div className="container mx auto px 6 text center"> <h2 className="text 3xl md:text 5xl font bold mb 12">What Our Clients Say</h2> <div className="grid grid cols 1 md:grid cols 3 gap 8"> {testimonials.map((testimonial, index) => ( <div key={index} className="bg gray 100 shadow lg rounded lg overflow hidden transform hover:scale 105 transition transform duration 300"> <img className="w full h 48 object cover" src={testimonial.image} alt={testimonial.name} /> <div className="p 6"> <h3 className="text xl font semibold mb 2">{testimonial.name}</h3> <p className="text gray 500 mb 4">{testimonial.role}</p> <p className="text gray 700">{testimonial.testimonial}</p> </div> </div> ))} </div> </div> </section> ); }; export default TestimonialsSection; ``` ```javascript name=src/components/ContactForm.js import React from 'react'; const ContactForm = () => { return ( <section id="contact" className="py 20 bg blue 700 text white"> <div className="container mx auto px 6 text center"> <h2 className="text 3xl md:text 5xl font bold mb 12">Contact Us</h2> <form className="max w lg mx auto"> <div className="mb 4"> <input type="text" className="w full px 4 py 2 text gray 700 bg white rounded lg focus:outline none focus:ring 2 focus:ring blue 500" placeholder="Name" required /> </div> <div className="mb 4"> <input type="email" className="w full px 4 py 2 text gray 700 bg white rounded lg focus:outline none focus:ring 2 focus:ring blue 500" placeholder="Email" required /> </div> <div className="mb 4"> <textarea className="w full px 4 py 2 text gray 700 bg white rounded lg focus:outline none focus:ring 2 focus:ring blue 500" placeholder="Message" rows="4" required ></textarea> </div> <button type="submit" className="bg white text blue 700 font semibold py 2 px 4 rounded hover:bg gray 200 transition duration 300" > Send Message </button> </form> </div> </section> ); }; export default ContactForm; ``` ```javascript name=src/pages/HomePage.js import React from 'react'; import Navbar from '../components/Navbar'; import HeroSection from '../components/HeroSection'; import ServicesSection from '../components/ServicesSection'; import TestimonialsSection from '../components/TestimonialsSection'; import ContactForm from '../components/ContactForm'; import Footer from '../components/Footer'; const HomePage = () => { return ( <div> <Navbar /> <HeroSection /> <ServicesSection /> <TestimonialsSection /> <ContactForm /> <Footer /> </div> ); }; export default HomePage; ``` ```javascript name=src/App.js import React from 'react'; import { BrowserRouter as Router, Route, Switch } from 'react router dom'; import HomePage from './pages/HomePage'; import ServicesPage from './pages/ServicesPage'; import TestimonialsPage from './pages/TestimonialsPage'; import ContactPage from './pages/ContactPage'; import BlogPage from './pages/BlogPage'; import CaseStudiesPage from './pages/CaseStudiesPage'; import TeamPage from './pages/TeamPage'; import PartnersPage from './pages/PartnersPage'; const App = () => { return ( <Router> <Switch> <Route exact path="/" component={HomePage} /> <Route path="/services" component={ServicesPage} /> <Route path="/testimonials" component={TestimonialsPage} /> <Route path="/contact" component={ContactPage} /> <Route path="/blog" component={BlogPage} /> <Route path="/case studies" component={CaseStudiesPage} /> <Route path="/team" component={TeamPage} /> <Route path="/partners" component={PartnersPage} /> </Switch> </Router> ); }; export default App; ``` ```javascript name=src/index.js import React from 'react'; import ReactDOM from 'react dom'; import './index.css'; import App from './App'; ReactDOM.render( <React.StrictMode> <App /> </React.StrictMode>, document.getElementById('root') ); ``` ```javascript name=src/tailwind.config.js module.exports = { purge: ['./src/**/*.{js,jsx,ts,tsx}', './public/index.html'], darkMode: 'media', // or 'class' theme: { extend: { colors: { primary: '#1a202c', secondary: '#2d3748', accent: '#4a5568', }, }, }, variants: { extend: {}, }, plugins: [], }; ``` ```css name=src/index.css @tailwind base; @tailwind components; @tailwind utilities; ```

Prompt
Component Preview

About

ServiceCard - Showcase services with interactive cards featuring images, titles, and descriptions. Built with React and Tailwind. Copy component code!

Share

Last updated 1 month ago