Skip to content

Commit 828d666

Browse files
Merge pull request #241 from shikhar-sahay/staging
fix : footer spacing and pwa in light mode
2 parents 51b59fa + 08a782f commit 828d666

File tree

2 files changed

+8
-11
lines changed

2 files changed

+8
-11
lines changed

src/components/Footer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ export default function Footer() {
116116
</h3>
117117
<Link
118118
href={`mailto:[email protected]`}
119-
className="mx-auto flex items-center justify-center gap-2 sm:mx-0"
119+
className="mx-auto flex items-center center gap-2 sm:mx-0"
120120
>
121121
<Mail size={18} />
122122
<span>[email protected]</span>

src/components/ui/PWAInstallButton.tsx

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -53,34 +53,31 @@ const PWAInstallButton = () => {
5353

5454
return (
5555
<>
56-
57-
<div className="md:hidden flex items-center justify-between rounded-full bg-[#2b2343] px-4 py-2 shadow-md text-white w-fit">
56+
<div className="md:hidden flex items-center justify-between rounded-full dark:bg-[#2b2343] bg-transparent px-4 py-2 shadow-md text-white w-fit border border-[#3A3745] transition hover:bg-black hover:dark:bg-[#2b2b30]">
5857
<div className="flex items-center gap-3">
5958
<Image src="/papers_logo.png" alt="Papers App" width={32} height={32} />
60-
<span className="font-semibold text-lg">Papers App</span>
59+
<span className="font-semibold text-lg text-white">Papers App</span>
6160
</div>
6261
<button
6362
onClick={handleInstall}
64-
className="ml-6 flex items-center gap-2 rounded-full border border-gray-500 bg-[#1e1e24] px-4 py-1 text-sm font-semibold transition hover:bg-[#2b2b30]"
63+
className="ml-6 flex items-center gap-2 rounded-full border border-[#3A3745] dark:bg-[#1e1e24] bg-transparent px-4 py-1 text-sm font-semibold text-white transition hover:bg-black hover:dark:bg-[#2b2b30]"
6564
>
6665
<Download className="h-4 w-4" />
6766
Install
6867
</button>
6968
</div>
7069

71-
7270
<div
73-
onClick={handleInstall}
74-
className="hidden md:flex items-center gap-3 rounded-full px-5 py-2 text-white cursor-pointer bg-[#130e1f] border border-[#FFFFFF26] border-[1.5px]"
75-
>
76-
71+
onClick={handleInstall}
72+
className="hidden md:flex items-center gap-3 rounded-full px-5 py-2 text-white cursor-pointer dark:bg-[#130e1f] bg-transparent border border-[#3A3745] transition hover:bg-black hover:dark:bg-[#1A1823]"
73+
>
7774
<Image
7875
src="/papers_logo.png"
7976
alt="Papers App"
8077
width={28}
8178
height={28}
8279
/>
83-
<span className="font-semibold text-sm">Papers App</span>
80+
<span className="font-semibold text-sm text-white">Papers App</span>
8481
</div>
8582
</>
8683
);

0 commit comments

Comments
 (0)