Skip to content

Commit 5ca5935

Browse files
authored
Fix(Landing Page): text padding issue where letters were getting cut off (#814)
1 parent b92306f commit 5ca5935

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

landing-page/src/Pages/FaqPage/FAQ.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export default function FAQ() {
4545
}, [darkMode]);
4646

4747
return (
48-
<section className="relative py-20 overflow-hidden min-h-screen transition-colors duration-300 bg-gray-50 text-black dark:bg-black dark:text-white">
48+
<section className="relative py-20 overflow-hidden min-h-screen transition-colors duration-300 text-black dark:bg-black dark:text-white">
4949
<BackgroundAnimation darkMode={darkMode} />
5050

5151
<div className="container relative z-10 mx-auto px-4 md:px-8">
@@ -55,7 +55,7 @@ export default function FAQ() {
5555
transition={{ duration: 0.8 }}
5656
className="text-center mb-16"
5757
>
58-
<h2 className="text-4xl md:text-5xl font-bold mb-6 bg-clip-text text-transparent bg-gradient-to-r from-yellow-500 to-green-600 dark:from-yellow-400 dark:to-green-500">
58+
<h2 className="text-4xl md:text-5xl font-bold py-2 mb-6 bg-clip-text text-transparent bg-gradient-to-r from-yellow-500 to-green-600 dark:from-yellow-400 dark:to-green-500">
5959
Frequently Asked Questions
6060
</h2>
6161
<p className="max-w-2xl mx-auto text-lg text-gray-600 dark:text-gray-300">

landing-page/src/Pages/Footer/Footer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { FaDiscord } from 'react-icons/fa' // Import Discord icon from React Ic
33

44
const Footer: React.FC = () => {
55
return (
6-
<footer className="relative bg-black text-white py-8 overflow-hidden">
6+
<footer className="relative bg-white dark:bg-black text-black dark:text-white py-8 overflow-hidden border-t border-black dark:border-white transition-colors duration-300">
77
<div className="relative container mx-auto px-6">
88
<div className="flex justify-between items-center">
99
{/* Left-aligned PictoPy text */}

landing-page/src/Pages/Landing page/Home1.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ const ShuffleHero = () => {
2929
initial={{ opacity: 0 }}
3030
animate={{ opacity: 1 }}
3131
transition={{ duration: 1, delay: 0.2 }}
32-
className="text-4xl md:text-6xl font-bold tracking-tight bg-gradient-to-r from-yellow-500 to-green-500 text-transparent bg-clip-text"
32+
className="text-4xl md:text-6xl font-bold tracking-tight bg-gradient-to-r from-yellow-500 to-green-500 text-transparent bg-clip-text py-2"
3333
>
3434
PictoPy
3535
</motion.h3>

landing-page/src/Pages/pictopy-landing.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ const PictopyLanding: FC = () => {
126126
alt="Pictopy Logo"
127127
className="h-16 w-16 object-contain"
128128
/>
129-
<h1 className="text-4xl md:text-6xl font-bold tracking-tight text-transparent bg-clip-text bg-gradient-to-r from-yellow-500 to-green-500 transition-all duration-300">
129+
<h1 className="text-4xl md:text-6xl font-bold tracking-tight text-transparent bg-clip-text bg-gradient-to-r from-yellow-500 to-green-500 transition-all duration-300 py-2">
130130
PictoPy
131131
</h1>
132132
</div>

0 commit comments

Comments
 (0)