Skip to content

UI enhance #73

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jan 11, 2025
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
157 changes: 2 additions & 155 deletions app/FAQ/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,7 @@ import { Metadata } from 'next'
import FAQComponent from './component/faq-component'
import ContactSection from './component/contact-section'
import Navbar1 from '@/components/navbar'
import { Github, BookOpen } from 'lucide-react'
import {Button} from '@/components/ui/button'
import { SocialLinks } from '@/components/SocialLinks'
import Link from 'next/link'
import Footer from '@/components/footer'

export const metadata: Metadata = {
title: 'FAQ - Your Company Name',
Expand All @@ -26,157 +23,7 @@ export default function FAQPage() {
<ContactSection />
</div>
</div>
<footer className="w-full py-12 px-4 md:px-6 border-t bg-secondary">
<div className="container mx-auto">
<div className="flex flex-col md:flex-row justify-between items-center mb-8">
<div className="flex items-center space-x-4 mb-4 md:mb-0">
<BookOpen className="h-6 w-6 text-primary" />
<span className="font-bold text-lg">LeetCode Journal</span>
</div>
<div className="flex items-center space-x-4 -ml-2">
<Button
variant="outline"
size="sm"
className="hidden md:flex"
asChild
>
<a
href="https://github.com/yashksaini-coder/leetcode-journal"
target="_blank"
rel="noopener noreferrer"
>
<Github className="mr-2 h-4 w-4" />
Star on GitHub
</a>
</Button>
<SocialLinks />
</div>
</div>
<div className="grid grid-cols-2 md:grid-cols-4 gap-8 mb-8">
<div>
<h3 className="font-semibold mb-3 text-lg">Product</h3>
<ul className="space-y-2">
<li>
<Link
href="#features"
className="text-sm hover:text-primary transition-colors"
>
Features
</Link>
</li>
<li>
<Link
href="#pricing"
className="text-sm hover:text-primary transition-colors"
>
Pricing
</Link>
</li>
<li>
<Link
href="#"
className="text-sm hover:text-primary transition-colors"
>
FAQ
</Link>
</li>
</ul>
</div>
<div>
<h3 className="font-semibold mb-3 text-lg">Company</h3>
<ul className="space-y-2">
<li>
<Link
href="#"
className="text-sm hover:text-primary transition-colors"
>
About
</Link>
</li>
<li>
<Link
href="#"
className="text-sm hover:text-primary transition-colors"
>
Blog
</Link>
</li>
<li>
<Link
href="#"
className="text-sm hover:text-primary transition-colors"
>
Careers
</Link>
</li>
</ul>
</div>
<div>
<h3 className="font-semibold mb-3 text-lg">Resources</h3>
<ul className="space-y-2">
<li>
<Link
href="#"
className="text-sm hover:text-primary transition-colors"
>
Documentation
</Link>
</li>
<li>
<Link
href="#"
className="text-sm hover:text-primary transition-colors"
>
Community
</Link>
</li>
<li>
<Link
href="#"
className="text-sm hover:text-primary transition-colors"
>
Support
</Link>
</li>
</ul>
</div>
<div>
<h3 className="font-semibold mb-3 text-lg">Legal</h3>
<ul className="space-y-2">
<li>
<Link
href="#"
className="text-sm hover:text-primary transition-colors"
>
Privacy Policy
</Link>
</li>
<li>
<Link
href="#"
className="text-sm hover:text-primary transition-colors"
>
Terms of Service
</Link>
</li>
<li>
<Link
href="#"
className="text-sm hover:text-primary transition-colors"
>
Cookie Policy
</Link>
</li>
</ul>
</div>
</div>
<div className="flex flex-col md:flex-row justify-between items-center pt-8 border-t border-border">
<p className="text-sm text-muted-foreground mb-4 md:mb-0">
© 2023 LeetCode Journal. All rights reserved.
</p>
</div>
</div>
</footer>
<Footer />
</div>
)
}
Expand Down
10 changes: 10 additions & 0 deletions app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@
--sidebar-accent-foreground: 240 5.9% 10%;
--sidebar-border: 220 13% 91%;
--sidebar-ring: 217.2 91.2% 59.8%;
--color-1: 0 100% 63%;
--color-2: 270 100% 63%;
--color-3: 210 100% 63%;
--color-4: 195 100% 63%;
--color-5: 90 100% 63%;
}

.dark {
Expand Down Expand Up @@ -72,6 +77,11 @@
--sidebar-accent-foreground: 240 4.8% 95.9%;
--sidebar-border: 240 3.7% 15.9%;
--sidebar-ring: 217.2 91.2% 59.8%;
--color-1: 0 100% 63%;
--color-2: 270 100% 63%;
--color-3: 210 100% 63%;
--color-4: 195 100% 63%;
--color-5: 90 100% 63%;
}
}

Expand Down
Loading
Loading