-
-
Notifications
You must be signed in to change notification settings - Fork 23
FAQs + learn-more made responsive #81
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
Closed
Closed
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
5ad4a7b
Footer made dynamic
parthratra11 2c77d70
Merge pull request #1 from parthratra11/dev
parthratra11 e25ca2c
Copyright centered + Footer padding fixed
parthratra11 132f0c2
Merge pull request #2 from parthratra11/dev
parthratra11 05f9eb6
Merge branch 'yashksaini-coder:main' into main
parthratra11 d4bdfdd
Update README.md
parthratra11 3a77e82
Theme toggle button fixed
parthratra11 e661111
Merge pull request #3 from parthratra11/dev
parthratra11 81e30ac
Hide/Unhide button added for password
parthratra11 0d3ee6e
Hide/Unhide button added on password v2
parthratra11 d7bc49c
Dev branch commit
parthratra11 b0b1c78
Navbar made responsive
parthratra11 0c143f4
Navbar made responsive v2
parthratra11 c96580c
Update README.md
parthratra11 4ecc762
Delete components/ui/shiny-button.tsx
yashksaini-coder 273f103
Merge branch 'main' of https://github.com/parthratra11/Leetcode-Journ…
parthratra11 17900c9
FAQs + learn-more made responsive
parthratra11 c1f1eb8
Merge branch 'dev' of https://github.com/parthratra11/Leetcode-Journa…
parthratra11 6103e30
FAQs + learn-more made responsive
parthratra11 065059d
Merge branch 'main' of https://github.com/parthratra11/Leetcode-Journ…
parthratra11 c4b9655
FAQs + learn-more made responsive
parthratra11 a62d3b8
Update shiny-button.tsx
parthratra11 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,32 @@ | ||
import { Button } from "@/components/ui/button" | ||
import { Mail, Phone } from 'lucide-react' | ||
import { Button } from "@/components/ui/button"; | ||
import { Mail, Phone } from "lucide-react"; | ||
|
||
export default function ContactSection() { | ||
return ( | ||
<div className="mt-16 bg-white rounded-lg p-8 text-center"> | ||
<h2 className="text-2xl font-bold text-purple-800 mb-4">Still have questions?</h2> | ||
<p className="text-purple-600 mb-6">Our support team is here to help you</p> | ||
<div className="flex justify-center space-x-4"> | ||
<h2 className="text-2xl font-bold text-purple-800 mb-4"> | ||
Still have questions? | ||
</h2> | ||
<p className="text-purple-600 mb-6"> | ||
Our support team is here to help you | ||
</p> | ||
<div className="flex justify-center space-x-4 flex-row"> | ||
{/* Changed the alignment of buttons for small width devices */} | ||
<Button | ||
variant="outline" | ||
className="flex items-center space-x-2 bg-white hover:bg-purple-300 text-black hover:text-black" | ||
variant="outline" | ||
className="flex items-center space-x-2 bg-white hover:bg-purple-300 text-black hover:text-black" | ||
> | ||
<Mail size={20} /> | ||
<span>Email Us</span> | ||
<Mail size={20} /> | ||
<span>Email Us</span> | ||
</Button> | ||
<Button | ||
variant="outline" | ||
className="flex items-center space-x-2 bg-white hover:bg-purple-300 text-black hover:text-black" | ||
variant="outline" | ||
className="flex items-center space-x-2 bg-white hover:bg-purple-300 text-black hover:text-black" | ||
> | ||
<Phone size={20} /> | ||
<span>Call Us</span> | ||
<Phone size={20} /> | ||
<span>Call Us</span> | ||
</Button> | ||
</div> | ||
</div> | ||
) | ||
); | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,35 @@ | ||
import { Metadata } from 'next' | ||
import FAQComponent from './component/faq-component' | ||
import ContactSection from './component/contact-section' | ||
import Navbar1 from '@/components/navbar' | ||
import Footer from '@/components/footer' | ||
import { Metadata } from "next"; | ||
import FAQComponent from "./component/faq-component"; | ||
import ContactSection from "./component/contact-section"; | ||
import Navbar1 from "@/components/navbar"; | ||
import Footer from "@/components/footer"; | ||
|
||
export const metadata: Metadata = { | ||
title: 'FAQ - Your Company Name', | ||
description: 'Frequently Asked Questions about our products and services', | ||
} | ||
title: "FAQ - Your Company Name", | ||
description: "Frequently Asked Questions about our products and services", | ||
}; | ||
|
||
export default function FAQPage() { | ||
return ( | ||
<div className="min-h-screen space-y-12"> | ||
<Navbar1 /> | ||
<div className="text-center mb-12"> | ||
<div className="text-center mb-12"> | ||
<h1 className="text-4xl font-bold mb-4 text-purple-500" >Frequently Asked Questions</h1> | ||
<p className="text-xl text-purple-600">Find answers to common questions about our products and services</p> | ||
<h1 className="text-4xl font-bold mb-4 text-purple-500"> | ||
Frequently Asked Questions | ||
</h1> | ||
<p className="text-xl text-purple-600 px-4"> | ||
{/* Added x-padding */} | ||
Find answers to common questions about our products and services | ||
</p> | ||
</div> | ||
<FAQComponent /> | ||
<div className="rounded-lg text-center w-[50%] mx-auto"> | ||
<div className="rounded-lg text-center w-[100%] px-4 md:w-[60%] md:px-0 mx-auto"> | ||
{/* Changed the width for small devices */} | ||
<ContactSection /> | ||
</div> | ||
</div> | ||
<Footer /> | ||
</div> | ||
) | ||
); | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is there so much space here @parthratra11 Fix this