Skip to content

Commit

Permalink
(webapp)fix:footer links padding + other spacing fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Bran18 committed Jul 26, 2024
1 parent efd3613 commit 1516185
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion apps/webapp/components/layout/footer/footer-links.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export function FooterLinks() {
<div className="container flex flex-col p-10 text-left bg-primary lg:flex-row">
<Link href={`/`} className="min-w-80 lg:mr-[10%] lg:text-left">
<IconBitlauncher className="w-full" />
<p className="w-full py-5 pb-10 pl-2 paragraph lg:py-10">
<p className="w-full py-5 pb-10 paragraph lg:py-10">
Be Part Of The Intelligent Future.
</p>
</Link>
Expand Down
20 changes: 10 additions & 10 deletions apps/webapp/components/layout/footer/learn-section.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export function LearnSection() {
<div className="h-[2px] bg-[#FF52EE] w-28 mx-auto mb-9"></div>
<div className="grid grid-cols-1 gap-8 lg:grid-cols-2">
<Link href="/blog/bitcash/how-to-register-and-kyc-to-bitcash ">
<Card className="relative overflow-hidden min-h-96 bg-[#0F113E] rounded-[48px]">
<Card className="relative overflow-hidden min-h-96 bg-[#0F113E] rounded-[50px]">
<div className="flex flex-col justify-end w-auto shadow-md bg-[linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent_40%)]">
<Image
src={content.cards[0].image}
Expand All @@ -19,17 +19,17 @@ export function LearnSection() {
height={309}
className="mx-auto bg-[radial-gradient(#7D81D96E,transparent_43%)]"
/>
<CardHeader className="z-30 text-center px-16">
<CardHeader className="z-30 px-16 text-center">
<CardTitle className="mx-auto text-4xl font-medium text-left">
{content.cards[0].title}
</CardTitle>
</CardHeader>
<div className="w-28 h-[2px] bg-[#5361FF] mx-16 mb-7" />
<CardContent className="z-30 text-left px-16 pb-14">
<div className="flex flex-col justify-center items-start gap-y-5">
<CardContent className="z-30 px-16 text-left pb-14">
<div className="flex flex-col items-start justify-center gap-y-5">
{
content.cards[0].paragraphs.map((p) => (
<p key={p} className="text-base font-medium text-[#7A7CA8]">{p}</p>
<p key={p} className="text-base text-justify font-medium text-[#7A7CA8]">{p}</p>
))
}
</div>
Expand All @@ -38,13 +38,13 @@ export function LearnSection() {
</Card>
</Link>

<div className="grid grid-cols-1 gap-8 grid-rows-2 h-full">
<div className="grid h-full grid-cols-1 grid-rows-2 gap-8">
<Link href="/blog/bitcash/how-to-register-and-kyc-to-bitcash ">
<Card className="relative min-h-44 bg-[#0F113E] rounded-[48px] h-full flex jutify-center items-center">

<div className="shadow-md bg-[linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent_40%)] grid grid-cols-[60%_40%] gap-2 items-center justify-center h-full">
<CardHeader className="text-center px-20 py-16 pr-0">
<CardTitle className="mx-auto text-4xl text-left font-medium">
<CardHeader className="px-20 py-16 pr-0 text-center">
<CardTitle className="mx-auto text-4xl font-medium text-left">
{content.cards[1].title}
</CardTitle>
<div className="w-28 h-[2px] bg-[#5361FF] mt-7" />
Expand All @@ -64,8 +64,8 @@ export function LearnSection() {
<Card className="relative min-h-44 bg-[#0F113E] rounded-[48px] h-full flex jutify-center items-center">

<div className="shadow-md bg-[linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent_40%)] grid grid-cols-[60%_40%] gap-2 items-center justify-center h-full">
<CardHeader className="text-center px-20 py-16 pr-0">
<CardTitle className="mx-auto text-4xl text-left font-medium">
<CardHeader className="px-20 py-16 pr-0 text-center">
<CardTitle className="mx-auto text-4xl font-medium text-left">
{content.cards[2].title}
</CardTitle>
<div className="w-28 h-[2px] bg-[#5361FF] mt-7" />
Expand Down
6 changes: 3 additions & 3 deletions apps/webapp/components/routes/home/features.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@ export function Features({ lang, dict }: FeaturesProps) {
)}
>
<div
className={`flex flex-col justify-center space-y-4 text-left ${index % 2 === 1 ? 'lg:order-last' : ''}`}
className={`flex flex-col justify-center space-y-4 ${index % 2 === 1 ? 'lg:order-last' : ''}`}
>
<div className="space-y-2">
<Tag title={content.label} />
<h3 className="text-2xl font-bold">
<h3 className="text-2xl font-bold text-left">
<Balancer>{content.title}</Balancer>
</h3>
<p className="text-gray-500 dark:text-gray-400">
<p className="text-justify text-gray-500 dark:text-gray-400">
{content.description}
</p>
</div>
Expand Down
2 changes: 1 addition & 1 deletion apps/webapp/components/routes/home/why-choose-us.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export function WhyChooseUs({ lang, dict }: WhyChooseUsProps) {
const content = dict.whyChooseUs
return (
<Section heading={content.title} subheading={content.description}>
<div className="grid w-full grid-cols-1 gap-6 lg:grid-cols-5">
<div className="grid w-full grid-cols-1 gap-8 lg:grid-cols-5">
{content.features.map((feature: Feature) => {
const IconComponent = Icons[feature.icon] as React.ElementType
return (
Expand Down

0 comments on commit 1516185

Please sign in to comment.