small changes to footer

This commit is contained in:
2024-12-15 07:18:04 -05:00
parent a1060ec9e5
commit ac7e26911b
2 changed files with 21 additions and 34 deletions

View File

@@ -1,5 +1,5 @@
import { ChevronDownIcon } from "@heroicons/react/20/solid"; import { ChevronDownIcon } from "@heroicons/react/20/solid";
import { CheckCircleIcon, PlusCircleIcon } from "@heroicons/react/20/solid"; import { PlusCircleIcon } from "@heroicons/react/20/solid";
import Image from "next/image"; import Image from "next/image";

View File

@@ -1,17 +1,17 @@
const navigation = { const navigation = {
solutions: [ armory: [
{ name: 'Marketing', href: '#' }, { name: 'Builder', href: '#' },
{ name: 'Analytics', href: '#' }, { name: 'Lowers', href: '#' },
{ name: 'Automation', href: '#' }, { name: 'Uppers', href: '#' },
{ name: 'Commerce', href: '#' }, { name: 'Optics', href: '#' },
{ name: 'Insights', href: '#' }, { name: 'Accessories', href: '#' },
], ],
support: [ account: [
{ name: 'Submit ticket', href: '#' }, { name: 'My Account', href: '#' },
{ name: 'Documentation', href: '#' }, { name: 'Register', href: '#' },
{ name: 'Guides', href: '#' }, { name: 'Guides', href: '#' },
], ],
company: [ about: [
{ name: 'About', href: '#' }, { name: 'About', href: '#' },
{ name: 'Blog', href: '#' }, { name: 'Blog', href: '#' },
{ name: 'Jobs', href: '#' }, { name: 'Jobs', href: '#' },
@@ -20,7 +20,7 @@ const navigation = {
legal: [ legal: [
{ name: 'Terms of service', href: '#' }, { name: 'Terms of service', href: '#' },
{ name: 'Privacy policy', href: '#' }, { name: 'Privacy policy', href: '#' },
{ name: 'License', href: '#' }, { name: 'Affiliate Disclosure', href: '#' },
], ],
social: [ social: [
{ {
@@ -58,19 +58,6 @@ const navigation = {
</svg> </svg>
), ),
}, },
{
name: 'GitHub',
href: '#',
icon: (props:any) => (
<svg fill="currentColor" viewBox="0 0 24 24" {...props}>
<path
fillRule="evenodd"
d="M12 2C6.477 2 2 6.484 2 12.017c0 4.425 2.865 8.18 6.839 9.504.5.092.682-.217.682-.483 0-.237-.008-.868-.013-1.703-2.782.605-3.369-1.343-3.369-1.343-.454-1.158-1.11-1.466-1.11-1.466-.908-.62.069-.608.069-.608 1.003.07 1.531 1.032 1.531 1.032.892 1.53 2.341 1.088 2.91.832.092-.647.35-1.088.636-1.338-2.22-.253-4.555-1.113-4.555-4.951 0-1.093.39-1.988 1.029-2.688-.103-.253-.446-1.272.098-2.65 0 0 .84-.27 2.75 1.026A9.564 9.564 0 0112 6.844c.85.004 1.705.115 2.504.337 1.909-1.296 2.747-1.027 2.747-1.027.546 1.379.202 2.398.1 2.651.64.7 1.028 1.595 1.028 2.688 0 3.848-2.339 4.695-4.566 4.943.359.309.678.92.678 1.855 0 1.338-.012 2.419-.012 2.747 0 .268.18.58.688.482A10.019 10.019 0 0022 12.017C22 6.484 17.522 2 12 2z"
clipRule="evenodd"
/>
</svg>
),
},
{ {
name: 'YouTube', name: 'YouTube',
href: '#', href: '#',
@@ -89,15 +76,15 @@ const navigation = {
export default function Footer() { export default function Footer() {
return ( return (
<footer className="bg-gray-900"> <footer className="bg-zinc-900">
<div className="mx-auto max-w-7xl px-6 pb-8 pt-20 sm:pt-24 lg:px-8 lg:pt-32"> <div className="mx-auto max-w-7xl px-6 pb-8 pt-20 sm:pt-24 lg:px-8 lg:pt-32">
<div className="xl:grid xl:grid-cols-3 xl:gap-8"> <div className="xl:grid xl:grid-cols-3 xl:gap-8">
<div className="grid grid-cols-2 gap-8 xl:col-span-2"> <div className="grid grid-cols-2 gap-8 xl:col-span-2">
<div className="md:grid md:grid-cols-2 md:gap-8"> <div className="md:grid md:grid-cols-2 md:gap-8">
<div> <div>
<h3 className="text-sm/6 font-semibold text-white">Solutions</h3> <h3 className="text-sm/6 font-semibold text-white">Armory</h3>
<ul role="list" className="mt-6 space-y-4"> <ul role="list" className="mt-6 space-y-4">
{navigation.solutions.map((item) => ( {navigation.armory.map((item) => (
<li key={item.name}> <li key={item.name}>
<a href={item.href} className="text-sm/6 text-gray-400 hover:text-white"> <a href={item.href} className="text-sm/6 text-gray-400 hover:text-white">
{item.name} {item.name}
@@ -107,9 +94,9 @@ const navigation = {
</ul> </ul>
</div> </div>
<div className="mt-10 md:mt-0"> <div className="mt-10 md:mt-0">
<h3 className="text-sm/6 font-semibold text-white">Support</h3> <h3 className="text-sm/6 font-semibold text-white">Account</h3>
<ul role="list" className="mt-6 space-y-4"> <ul role="list" className="mt-6 space-y-4">
{navigation.support.map((item) => ( {navigation.account.map((item) => (
<li key={item.name}> <li key={item.name}>
<a href={item.href} className="text-sm/6 text-gray-400 hover:text-white"> <a href={item.href} className="text-sm/6 text-gray-400 hover:text-white">
{item.name} {item.name}
@@ -121,9 +108,9 @@ const navigation = {
</div> </div>
<div className="md:grid md:grid-cols-2 md:gap-8"> <div className="md:grid md:grid-cols-2 md:gap-8">
<div> <div>
<h3 className="text-sm/6 font-semibold text-white">Company</h3> <h3 className="text-sm/6 font-semibold text-white">About</h3>
<ul role="list" className="mt-6 space-y-4"> <ul role="list" className="mt-6 space-y-4">
{navigation.company.map((item) => ( {navigation.about.map((item) => (
<li key={item.name}> <li key={item.name}>
<a href={item.href} className="text-sm/6 text-gray-400 hover:text-white"> <a href={item.href} className="text-sm/6 text-gray-400 hover:text-white">
{item.name} {item.name}
@@ -147,7 +134,7 @@ const navigation = {
</div> </div>
</div> </div>
<div className="mt-10 xl:mt-0"> <div className="mt-10 xl:mt-0">
<h3 className="text-sm/6 font-semibold text-white">Subscribe to our newsletter</h3> <h3 className="text-sm/6 font-semibold text-white">Subscribe to our Builder Blog </h3>
<p className="mt-2 text-sm/6 text-gray-300"> <p className="mt-2 text-sm/6 text-gray-300">
The latest news, articles, and resources, sent to your inbox weekly. The latest news, articles, and resources, sent to your inbox weekly.
</p> </p>
@@ -167,7 +154,7 @@ const navigation = {
<div className="mt-4 sm:ml-4 sm:mt-0 sm:shrink-0"> <div className="mt-4 sm:ml-4 sm:mt-0 sm:shrink-0">
<button <button
type="submit" type="submit"
className="flex w-full items-center justify-center rounded-md bg-indigo-500 px-3 py-2 text-sm font-semibold text-white shadow-sm hover:bg-indigo-400 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-500" className="flex w-full items-center justify-center rounded-md bg-lime-800 px-3 py-2 text-sm font-semibold text-white shadow-sm hover:bg-lime-900 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-lime-900"
> >
Subscribe Subscribe
</button> </button>