Skip to content

Commit

Permalink
footer correction
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-montani committed Feb 2, 2024
1 parent 997a2f1 commit 546d0c1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 87 deletions.
91 changes: 5 additions & 86 deletions components/footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,61 +16,9 @@ export default function Footer() {
<div className="relative">
<Container>
<div className="grid max-w-screen-xl grid-cols-1 gap-10 pt-10 mx-auto mt-5 border-t border-gray-100 dark:border-trueGray-700 lg:grid-cols-5">
<div className="lg:col-span-2">
<div>
{" "}
<Link href="/" className="flex items-center space-x-2 text-2xl font-medium text-indigo-500 dark:text-gray-100">
<Image
src="/img/logo.svg"
alt="N"
width="32"
height="32"
className="w-8"
/>
<span>Nextly</span>
</Link>
</div>

<div className="max-w-md mt-4 text-gray-500 dark:text-gray-400">
Nextly is a free landing page & marketing website
template for startups and indie projects. Its built with
Next.js & TailwindCSS. And its completely open-source.
</div>

<div className="mt-5">
<a
href="https://vercel.com/?utm_source=web3templates&utm_campaign=oss"
target="_blank"
rel="noopener"
className="relative block w-44">
<Image
src="/img/vercel.svg"
alt="Powered by Vercel"
width="212"
height="44"
/>
</a>
</div>
</div>

<div>
<div className="flex flex-wrap w-full -mt-2 -ml-3 lg:ml-0">
{navigation.map((item, index) => (
<Link key={index} href="/" className="w-full px-4 py-2 text-gray-500 rounded-md dark:text-gray-300 hover:text-indigo-500 focus:text-indigo-500 focus:bg-indigo-100 focus:outline-none dark:focus:bg-trueGray-700">
{item}
</Link>
))}
</div>
</div>
<div>
<div className="flex flex-wrap w-full -mt-2 -ml-3 lg:ml-0">
{legal.map((item, index) => (
<Link key={index} href="/" className="w-full px-4 py-2 text-gray-500 rounded-md dark:text-gray-300 hover:text-indigo-500 focus:text-indigo-500 focus:bg-indigo-100 focus:outline-none dark:focus:bg-trueGray-700">
{item}
</Link>
))}
</div>
</div>

<div className="">
<div>Follow us</div>
<div className="flex mt-5 space-x-5 text-gray-400 dark:text-gray-500">
Expand Down Expand Up @@ -109,10 +57,10 @@ export default function Footer() {
<div className="my-10 text-sm text-center text-gray-600 dark:text-gray-400">
Copyright © {new Date().getFullYear()}. Made with ♥ by{" "}
<a
href="https://web3templates.com/"
href=""
target="_blank"
rel="noopener">
Web3Templates.
Nicolas montani.
</a>{" "}
Illustrations from{" "}
<a
Expand All @@ -123,8 +71,7 @@ export default function Footer() {
</a>
</div>
</Container>
{/* Do not remove this */}
<Backlink />

</div>
);
}
Expand Down Expand Up @@ -172,33 +119,5 @@ const Linkedin = ({ size = 24 }) => (
</svg>
);

const Backlink = () => {
return (
<a
href="https://web3templates.com"
target="_blank"
rel="noopener"
className="absolute flex px-3 py-1 space-x-2 text-sm font-semibold text-gray-900 bg-white border border-gray-300 rounded shadow-sm place-items-center left-5 bottom-5 dark:bg-trueGray-900 dark:border-trueGray-700 dark:text-trueGray-300">
<svg
width="20"
height="20"
viewBox="0 0 30 30"
fill="none"
className="w-4 h-4"
xmlns="http://www.w3.org/2000/svg">
<rect
width="30"
height="29.5385"
rx="2.76923"
fill="#362F78"
/>
<path
d="M10.14 21.94H12.24L15.44 12.18L18.64 21.94H20.74L24.88 8H22.64L19.58 18.68L16.36 8.78H14.52L11.32 18.68L8.24 8H6L10.14 21.94Z"
fill="#F7FAFC"
/>
</svg>

<span>Web3Templates</span>
</a>
);
};

1 change: 0 additions & 1 deletion pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ const Home = () => {
<Faq />
<Cta />
<Footer />
<PopupWidget />
</>
);
}
Expand Down

0 comments on commit 546d0c1

Please sign in to comment.