Skip to content

Commit 744ca46

Browse files
committed
updates
1 parent 7636ee1 commit 744ca46

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed

src/app/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export default function Home() {
1717

1818
{/* Title */}
1919
<h2 className="text-2xl md:text-3xl font-bold flex items-center gap-2 text-foreground mb-4">
20-
<Lock className="text-green-500 h-6 w-6" />
20+
<Lock className="text-green-500 h-6 w-6 md:block hidden" />
2121
Secure Your Private Networks
2222
</h2>
2323

src/components/misc/footer.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
import { FooterObject } from "@/components/ui/footer-object";
44

55
export default function Footer() {
6-
const currentYear = new Date().getFullYear();
7-
86
return (
97
<div className="w-full">
108
<FooterObject
@@ -13,7 +11,6 @@ export default function Footer() {
1311
{ href: "/privacy", label: "Privacy Policy" },
1412
{ href: "mailto:[email protected]", label: "Contact Us" }
1513
]}
16-
copyright={`© 2023-${currentYear} LocalCert - All Rights Reserved.`}
1714
/>
1815
</div>
1916
);

src/components/ui/footer-object.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,9 @@ interface FooterProps {
33
href: string;
44
label: string;
55
}>;
6-
copyright: string;
76
}
87

9-
export function FooterObject({ mainLinks, copyright }: FooterProps) {
8+
export function FooterObject({ mainLinks }: FooterProps) {
109
return (
1110
<footer className="w-full pb-6 pt-8 lg:pb-8 lg:pt-12">
1211
<div className="px-4 lg:px-8">
@@ -26,7 +25,7 @@ export function FooterObject({ mainLinks, copyright }: FooterProps) {
2625
</ul>
2726
</nav>
2827

29-
<div className="mt-6 pt-5 text-base leading-6 text-muted-foreground whitespace-nowrap lg:mt-0 lg:row-[1/3] lg:col-[1/4]">
28+
<div className="mt-6 pt-5 text-base leading-6 text-muted-foreground whitespace-wrap lg:mt-0 lg:row-[1/3] lg:col-[1/4]">
3029
<div>
3130
&copy; 2023-{new Date().getFullYear()} <span className="font-semibold">LocalCert</span> -
3231
All Rights Reserved.

0 commit comments

Comments
 (0)