Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions client/src/Pages/Community.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@ const Community = () => {
];

return (
<div className="min-h-screen bg-gradient-to-b from-[#150617] via-[#132299] to-[#7541dc] text-white font-sans overflow-x-hidden">
<div className="min-h-screen bg-gradient-to-b from-[#150617] via-[#132299] to-[#7541dc] dark:from-gray-900 dark:via-indigo-900 dark:to-purple-900 text-white dark:text-white font-sans overflow-x-hidden">
<Navbar />

{/* Hero Section */}
<section className="max-w-4xl mx-auto px-6 pt-24 pb-16 text-center" data-aos="fade-up">
<h1 className="text-5xl font-extrabold mb-6">
Join the <span className="text-[#38BDF8]">Community</span>
Join the <span className="text-[#38BDF8] dark:text-cyan-400">Community</span>
</h1>
<p className="text-lg text-[#94A3B8] leading-relaxed">
<p className="text-lg text-[#94A3B8] dark:text-gray-300 leading-relaxed">
Connect with fellow DIY repair enthusiasts. Share tips, ask questions,
and learn together in our vibrant community of tinkerers and technicians.
</p>
Expand All @@ -52,34 +52,34 @@ const Community = () => {
{features.map((feature, i) => (
<div
key={i}
className="bg-[#334155] rounded-2xl p-8 text-center shadow-lg hover:scale-105 transition duration-300"
className="bg-gray-700 dark:bg-gray-800 rounded-2xl p-8 text-center shadow-lg hover:scale-105 transition duration-300"
data-aos="fade-up"
data-aos-delay={i * 200}
>
<div className="text-4xl text-[#38BDF8] mb-4 flex justify-center">
<div className="text-4xl text-[#38BDF8] dark:text-cyan-400 mb-4 flex justify-center">
{feature.icon}
</div>
<h3 className="text-xl font-semibold mb-4 text-[#38BDF8]">
<h3 className="text-xl font-semibold mb-4 text-[#38BDF8] dark:text-cyan-400">
{feature.title}
</h3>
<p className="text-[#CBD5E1]">{feature.desc}</p>
<p className="text-[#CBD5E1] dark:text-gray-300">{feature.desc}</p>
</div>
))}
</div>
</section>

{/* CTA */}
<section className="bg-[#0F172A] py-20 text-center" data-aos="zoom-in">
<h2 className="text-4xl font-bold mb-6 text-[#38BDF8]">Ready to Connect?</h2>
<p className="text-[#94A3B8] max-w-xl mx-auto mb-8 px-4">
<section className="bg-[#0F172A] dark:bg-gray-900 py-20 text-center" data-aos="zoom-in">
<h2 className="text-4xl font-bold mb-6 text-[#38BDF8] dark:text-cyan-400">Ready to Connect?</h2>
<p className="text-[#94A3B8] dark:text-gray-300 max-w-xl mx-auto mb-8 px-4">
Join our community today and start sharing your repair journey with others.
</p>
<button className="px-10 py-3 bg-[#38BDF8] text-black font-semibold rounded-full shadow-lg hover:bg-[#0EA5E9] transition">
<button className="px-10 py-3 bg-[#38BDF8] dark:bg-cyan-400 text-black dark:text-black font-semibold rounded-full shadow-lg hover:bg-[#0EA5E9] dark:hover:bg-cyan-500 transition">
Join Community
</button>
</section>
</div>
);
};

export default Community;
export default Community;
33 changes: 16 additions & 17 deletions client/src/Pages/Contact.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

import React, { useEffect, useState } from 'react';
import Navbar from '../components/NavBar';
import AOS from 'aos';
Expand Down Expand Up @@ -33,23 +32,23 @@ const Contact = () => {
};

return (
<div className="min-h-screen bg-gradient-to-b from-[#150617] via-[#132299] to-[#7541dc] text-white font-sans overflow-x-hidden">
<div className="min-h-screen bg-gradient-to-b from-[#150617] via-[#132299] to-[#7541dc] dark:from-gray-900 dark:via-gray-800 dark:to-gray-700 text-white font-sans overflow-x-hidden">
<Navbar />

{/* Hero Section */}
<section className="max-w-4xl mx-auto px-6 pt-24 pb-16 text-center" data-aos="fade-up">
<h1 className="text-5xl font-extrabold mb-6">
Contact <span className="text-[#38BDF8]">Us</span>
Contact <span className="text-[#38BDF8] dark:text-cyan-400">Us</span>
</h1>
<p className="text-lg text-[#94A3B8] leading-relaxed">
<p className="text-lg text-[#94A3B8] dark:text-gray-300 leading-relaxed">
Have questions or feedback? We'd love to hear from you.
Reach out and we'll get back to you as soon as possible.
</p>
</section>

{/* Contact Form */}
<section className="max-w-2xl mx-auto px-6 py-16" data-aos="fade-up">
<div className="bg-[#334155] rounded-2xl p-8 shadow-lg">
<div className="bg-[#334155] dark:bg-gray-800 rounded-2xl p-8 shadow-lg">
<form onSubmit={handleSubmit} className="space-y-6">
<div>
<input
Expand All @@ -58,7 +57,7 @@ const Contact = () => {
placeholder="Your Name"
value={formData.name}
onChange={handleChange}
className="w-full px-4 py-3 bg-[#1E293B] text-white rounded-lg border border-gray-600 focus:border-[#38BDF8] focus:outline-none transition"
className="w-full px-4 py-3 bg-[#1E293B] dark:bg-gray-700 text-white dark:text-gray-200 rounded-lg border border-gray-600 dark:border-gray-500 focus:border-[#38BDF8] dark:focus:border-cyan-400 focus:outline-none transition"
required
/>
</div>
Expand All @@ -69,7 +68,7 @@ const Contact = () => {
placeholder="Your Email"
value={formData.email}
onChange={handleChange}
className="w-full px-4 py-3 bg-[#1E293B] text-white rounded-lg border border-gray-600 focus:border-[#38BDF8] focus:outline-none transition"
className="w-full px-4 py-3 bg-[#1E293B] dark:bg-gray-700 text-white dark:text-gray-200 rounded-lg border border-gray-600 dark:border-gray-500 focus:border-[#38BDF8] dark:focus:border-cyan-400 focus:outline-none transition"
required
/>
</div>
Expand All @@ -80,13 +79,13 @@ const Contact = () => {
rows="6"
value={formData.message}
onChange={handleChange}
className="w-full px-4 py-3 bg-[#1E293B] text-white rounded-lg border border-gray-600 focus:border-[#38BDF8] focus:outline-none transition resize-none"
className="w-full px-4 py-3 bg-[#1E293B] dark:bg-gray-700 text-white dark:text-gray-200 rounded-lg border border-gray-600 dark:border-gray-500 focus:border-[#38BDF8] dark:focus:border-cyan-400 focus:outline-none transition resize-none"
required
></textarea>
</div>
<button
type="submit"
className="w-full py-3 bg-[#38BDF8] text-black font-semibold rounded-lg hover:bg-[#0EA5E9] transition"
className="w-full py-3 bg-[#38BDF8] dark:bg-cyan-500 text-black dark:text-white font-semibold rounded-lg hover:bg-[#0EA5E9] dark:hover:bg-cyan-400 transition"
>
Send Message
</button>
Expand All @@ -96,22 +95,22 @@ const Contact = () => {

{/* Contact Info */}
<section className="max-w-4xl mx-auto px-6 py-16 text-center" data-aos="fade-up">
<div className="bg-[#334155] rounded-2xl p-8 shadow-lg">
<div className="bg-[#334155] dark:bg-gray-800 rounded-2xl p-8 shadow-lg">
<div className="flex items-center justify-center mb-4">
<FaEnvelope className="text-2xl text-[#38BDF8] mr-3" />
<span className="text-lg">support@refixly.com</span>
<FaEnvelope className="text-2xl text-[#38BDF8] dark:text-cyan-400 mr-3" />
<span className="text-lg dark:text-gray-200">support@refixly.com</span>
</div>
<p className="text-[#94A3B8] mb-6">
<p className="text-[#94A3B8] dark:text-gray-300 mb-6">
We typically respond within 24 hours
</p>
<div className="flex justify-center space-x-6 text-xl">
<a href="#" className="hover:text-[#38BDF8] transition">
<a href="#" className="hover:text-[#38BDF8] dark:hover:text-cyan-400 transition">
<FaTwitter />
</a>
<a href="#" className="hover:text-[#38BDF8] transition">
<a href="#" className="hover:text-[#38BDF8] dark:hover:text-cyan-400 transition">
<FaFacebookF />
</a>
<a href="#" className="hover:text-[#38BDF8] transition">
<a href="#" className="hover:text-[#38BDF8] dark:hover:text-cyan-400 transition">
<FaLinkedinIn />
</a>
</div>
Expand All @@ -121,4 +120,4 @@ const Contact = () => {
);
};

export default Contact;
export default Contact;
Loading
Loading