From 9862fa1cab7e1b2ec8af6a7a146857cdc86658a0 Mon Sep 17 00:00:00 2001 From: parthratra11 Date: Tue, 14 Jan 2025 17:15:01 +0530 Subject: [PATCH] FAQ + learn-more made responsive --- app/FAQ/page.tsx | 33 +++++++++++++++++------------- app/learn-more/page.tsx | 45 ++++++++++++++++++++++++----------------- 2 files changed, 45 insertions(+), 33 deletions(-) diff --git a/app/FAQ/page.tsx b/app/FAQ/page.tsx index 362bd42..ef025bf 100644 --- a/app/FAQ/page.tsx +++ b/app/FAQ/page.tsx @@ -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 (
-
+
+ {/* Added x-padding */}
-

Frequently Asked Questions

-

Find answers to common questions about our products and services

+

+ Frequently Asked Questions +

+

+ Find answers to common questions about our products and services +

-
+
+ {/* Changed width for small screens */}
- ) + ); } - diff --git a/app/learn-more/page.tsx b/app/learn-more/page.tsx index 5937662..5b2db7b 100644 --- a/app/learn-more/page.tsx +++ b/app/learn-more/page.tsx @@ -1,19 +1,20 @@ -'use client' +"use client"; -import Link from 'next/link' -import { motion } from 'framer-motion' -import { TabContainer } from './components/TabContainer' -import Navbar1 from '@/components/navbar' -import Footer from '@/components/footer' -import ShinyButton from '@/components/ui/shiny-button' +import Link from "next/link"; +import { motion } from "framer-motion"; +import { TabContainer } from "./components/TabContainer"; +import Navbar1 from "@/components/navbar"; +import Footer from "@/components/footer"; +import ShinyButton from "@/components/ui/shiny-button"; export default function LearnMorePage() { return (
-
- + {/* Changed the x-padding for small devices + reduced y-padding-top for small devices */} + - -

Want to Contribute ?

-

Join hundreds of developers who have contributed to making LeetCode Journal better for everyone.

+

+ Want to Contribute ? +

+

+ Join hundreds of developers who have contributed to making + LeetCode Journal better for everyone. +

Contribute Now - + href="https://github.com/yashksaini-coder/Leetcode-Journal" + target="_blank" + > + Contribute Now + +
-
- ) + ); } -