Skip to content

Commit d33e543

Browse files
committed
[🧹] clean code component
1 parent 5bfa97e commit d33e543

File tree

2 files changed

+10
-29
lines changed

2 files changed

+10
-29
lines changed

src/components/Global/Footer.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
1-
import Link from "next/link";
21
import { SiGithubsponsors } from "react-icons/si";
2+
import Link from "next/link";
33

4-
/**
5-
* info:
6-
* - navigation: string
7-
*/
84
const navigation = [
95
{
106
name: "ABOUT US",

src/components/Global/Navbar.js

Lines changed: 9 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
import { Fragment } from 'react';
2-
import { Popover, Transition } from '@headlessui/react';
3-
import { Bars3Icon, XMarkIcon } from '@heroicons/react/24/outline';
4-
import { SiGithubsponsors } from 'react-icons/si';
1+
import { Fragment } from "react";
2+
import { Popover, Transition } from "@headlessui/react";
3+
import { Bars3Icon, XMarkIcon } from "@heroicons/react/24/outline";
4+
import { SiGithubsponsors } from "react-icons/si";
55

66
const navigation = [
7-
{ name: 'Blog', href: '/blog' },
8-
{ name: 'Projects', href: '/projects' },
9-
{ name: 'Community Partners', href: '/partners' },
10-
{ name: 'WebX Team', href: '/team' },
7+
{ name: "Blog", href: "/blog" },
8+
{ name: "Projects", href: "/projects" },
9+
{ name: "Community Partners", href: "/partners" },
10+
{ name: "WebX Team", href: "/team" },
1111
];
1212

1313
const Navbar = () => {
@@ -106,22 +106,7 @@ const Navbar = () => {
106106
</a>
107107
))}
108108
</div>
109-
{/* <div className="mt-6 px-5">
110-
<a
111-
href="#"
112-
className="block w-full rounded-md bg-indigo-600 py-3 px-4 text-center font-medium text-white shadow hover:bg-indigo-700"
113-
>
114-
Start free trial
115-
</a>
116-
</div> */}
117-
{/* <div className="mt-6 px-5">
118-
<p className="text-center text-base font-medium text-gray-500">
119-
Existing customer?{' '}
120-
<a href="#" className="text-gray-900 hover:underline">
121-
Login
122-
</a>
123-
</p>
124-
</div> */}
109+
{/* Add button here */}
125110
</div>
126111
</div>
127112
</Popover.Panel>

0 commit comments

Comments
 (0)