Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

Added footer

Steven Teyc23baf3337cb
diff --git a/components/home/features.tsx b/components/home/features.tsx
index 13dd6d634b..1a904571af 100644
--- a/components/home/features.tsx
+++ b/components/home/features.tsx
@@ -103,7 +103,7 @@ const Features = ({ stars }: { stars: number }) => {
review, or contribute to it however you want!
</p>
<a
- href="https://dub.sh/github"
+ href="https://github.com/steven-tey/dub"
target="_blank"
rel="noreferrer"
className="rounded-full px-4 py-1.5 bg-black text-white hover:bg-white hover:text-black text-sm border border-black block max-w-fit transition-all"
@@ -115,7 +115,7 @@ const Features = ({ stars }: { stars: number }) => {
<div className="flex items-center justify-center rounded-2xl w-full max-w-[700px] bg-gray-900 h-96">
<div className="flex items-center">
<a
- href="https://dub.sh/github"
+ href="https://github.com/steven-tey/dub"
target="_blank"
rel="noreferrer"
className="flex items-center space-x-2 p-4 h-10 rounded-md bg-gray-800 border border-gray-600"
diff --git a/components/home/footer.tsx b/components/home/footer.tsx
index f429961ea7..9b4540608c 100644
--- a/components/home/footer.tsx
+++ b/components/home/footer.tsx
@@ -1,11 +1,24 @@
-import { Github, Logo, Twitter } from "../shared/icons";
+import { Github, Logo, Twitter } from "@/components/shared/icons";
+import Link from "next/link";
const Footer = () => {
return (
- <div className="border-t border-gray-200 h-20 flex items-center justify-center space-x-3">
- <Github className="w-4 h-4 text-gray-600" />
- <Logo className="w-6 h-6 text-gray-600" />
- <Twitter className="w-4 h-4 text-gray-600" />
+ <div className="border-t border-gray-200 h-20 flex items-center justify-center space-x-12">
+ <a href="https://twitter.com/dubdotsh" target="_blank" rel="noreferrer">
+ <Twitter className="w-6 h-6 text-gray-600" />
+ </a>
+ <Link href="/">
+ <a>
+ <Logo className="w-7 h-7 text-gray-600" />
+ </a>
+ </Link>
+ <a
+ href="https://github.com/steven-tey/dub"
+ target="_blank"
+ rel="noreferrer"
+ >
+ <Github className="w-6 h-6 text-gray-600" />
+ </a>
</div>
);
};
diff --git a/components/home/pricing.tsx b/components/home/pricing.tsx
index 861d621445..1d5e5948a9 100644
--- a/components/home/pricing.tsx
+++ b/components/home/pricing.tsx
@@ -45,7 +45,7 @@ const pricingItems = [
const Pricing = () => {
return (
- <MaxWidthWrapper className="my-20 text-center">
+ <MaxWidthWrapper className="mt-20 mb-40 text-center">
<div className="max-w-sm sm:max-w-md mx-auto my-10">
<h2 className="text-4xl sm:text-5xl font-display font-extrabold text-black">
Simple,{" "}
diff --git a/components/layout/home/index.tsx b/components/layout/home/index.tsx
index 61a719cac7..6a5b833897 100644
--- a/components/layout/home/index.tsx
+++ b/components/layout/home/index.tsx
@@ -3,6 +3,7 @@ import { useSession } from "next-auth/react";
import Link from "next/link";
import Meta from "../meta";
import Image from "next/future/image";
+import Footer from "@/components/home/footer";
export default function HomeLayout({ children }: { children: ReactNode }) {
const { data: session } = useSession();
@@ -44,6 +45,7 @@ export default function HomeLayout({ children }: { children: ReactNode }) {
</div>
</div>
{children}
+ <Footer />
</div>
);
}
diff --git a/components/shared/icons/logo.tsx b/components/shared/icons/logo.tsx
index 8a93e557f3..ce38ee7e22 100644
--- a/components/shared/icons/logo.tsx
+++ b/components/shared/icons/logo.tsx
@@ -3,13 +3,13 @@ export default function Logo({ className }: { className: string }) {
<svg
width="191"
height="191"
- fill="none"
+ fill="currentColor"
viewBox="0 0 191 191"
className={className}
>
<g clipPath="url(#clip0_36_30)">
<path
- fill="#000"
+ fill="currentColor"
d="M191 95.5c0 52.743-42.757 95.5-95.5 95.5S0 148.243 0 95.5 42.757 0 95.5 0 191 42.757 191 95.5z"
></path>
<mask
@@ -22,7 +22,7 @@ export default function Logo({ className }: { className: string }) {
maskUnits="userSpaceOnUse"
>
<path
- fill="#000"
+ fill="currentColor"
d="M191 95.5c0 52.743-42.757 95.5-95.5 95.5S0 148.243 0 95.5 42.757 0 95.5 0 191 42.757 191 95.5z"
></path>
</mask>
diff --git a/pages/index.tsx b/pages/index.tsx
index 68d95cebe6..56c6130622 100644
--- a/pages/index.tsx
+++ b/pages/index.tsx
@@ -7,7 +7,6 @@ import Demo from "@/components/home/demo";
import Globe from "@/components/home/globe";
import Features from "@/components/home/features";
import Pricing from "@/components/home/pricing";
-import Footer from "@/components/home/footer";
export default function Home({ stars }: { stars: number }) {
const router = useRouter();
@@ -41,7 +40,6 @@ export default function Home({ stars }: { stars: number }) {
<Globe />
<Features stars={stars} />
<Pricing />
- <Footer />
</HomeLayout>
);
}