Skip to content

Updates #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jan 12, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified public/img/hero.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 0 additions & 2 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import "./globals.css";

import { Navbar } from "@/components/Navbar";
import { Footer } from "@/components/Footer";
import { PopupWidget } from "@/components/PopupWidget";

const inter = Inter({ subsets: ["latin"] });

Expand All @@ -29,7 +28,6 @@ export default function RootLayout({
<Navbar />
<div>{children}</div>
<Footer />
{/* <PopupWidget /> */}
</ThemeProvider>
</body>
</html>
Expand Down
2 changes: 0 additions & 2 deletions src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { Benefits } from "@/components/Benefits";
import { Video } from "@/components/Video";
import { Testimonials } from "@/components/Testimonials";
import { Faq } from "@/components/Faq";
import { Cta } from "@/components/Cta";

import { benefitOne, benefitTwo } from "@/components/data";
export default function Home() {
Expand Down Expand Up @@ -49,7 +48,6 @@ export default function Home() {
</SectionTitle>

<Faq />
{/* <Cta /> */}
</Container>
);
}
29 changes: 0 additions & 29 deletions src/components/Cta.tsx

This file was deleted.

2 changes: 1 addition & 1 deletion src/components/Hero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export const Hero = () => {
rel="noopener"
className="px-8 py-4 text-lg font-medium text-center text-white bg-indigo-600 rounded-md "
>
Download for Free
Contsct Us
</a>
{/* <a
href="https://github.com/web3templates/nextly-template/"
Expand Down
28 changes: 1 addition & 27 deletions src/components/Navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ import Image from "next/image";
import { Disclosure } from "@headlessui/react";

export const Navbar = () => {
const navigation = ["Product", "Features", "Pricing", "Company", "Blog"];

return (
<div className="w-full">
<nav className="container relative flex flex-wrap items-center justify-between p-8 mx-auto lg:justify-between xl:px-0">
Expand Down Expand Up @@ -57,20 +55,11 @@ export const Navbar = () => {

<Disclosure.Panel className="flex flex-wrap w-full my-5 lg:hidden">
<>
{navigation.map((item, index) => (
<Link
key={index}
href="/"
className="w-full px-4 py-2 -ml-4 text-gray-500 rounded-md dark:text-gray-300 hover:text-indigo-500 focus:text-indigo-500 focus:bg-indigo-100 dark:focus:bg-gray-800 focus:outline-none"
>
{item}
</Link>
))}
<Link
href="/"
className="w-full px-6 py-2 mt-3 text-center text-white bg-indigo-600 rounded-md lg:ml-5"
>
Get Started
Contact Us
</Link>
</>
</Disclosure.Panel>
Expand All @@ -92,18 +81,3 @@ export const Navbar = () => {
</div>
);
};

{
/* menu */
}
// <div className="hidden text-center lg:flex lg:items-center">
// <ul className="items-center justify-end flex-1 pt-6 list-none lg:pt-0 lg:flex">
// {navigation.map((menu, index) => (
// <li className="mr-3 nav__item" key={index}>
// <Link href="/" className="inline-block px-4 py-2 text-lg font-normal text-gray-800 no-underline rounded-md dark:text-gray-200 hover:text-indigo-500 focus:text-indigo-500 focus:bg-indigo-100 focus:outline-none dark:focus:bg-gray-800">
// {menu}
// </Link>
// </li>
// ))}
// </ul>
// </div>
Loading