Skip to content

Commit

Permalink
removed Head warning
Browse files Browse the repository at this point in the history
  • Loading branch information
mbilawalzaman committed Jul 16, 2024
1 parent 91cd5ec commit 24fb688
Showing 1 changed file with 21 additions and 18 deletions.
39 changes: 21 additions & 18 deletions my-app/app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,34 +1,37 @@
import Head from "next/head";
import Image from "next/image";
import Navbar from "./components/navbar";
import Hero from "./components/hero";
import Goal from "./components/goal";
import Services from "./components/services";
import Team from "./components/team";
import Testimonials from "./components/testimonials";
import Contact from "./components/contact";
import Footer from "./components/footer";
import Head from 'next/head';
import { Metadata } from 'next';
import Navbar from './components/navbar';
import Hero from './components/hero';
import Goal from './components/goal';
import Services from './components/services';
import Team from './components/team';
import Testimonials from './components/testimonials';
import Contact from './components/contact';
import Footer from './components/footer';

const Home = () => {
return (
<div className="flex min-h-screen flex-col py-2">
<Head>
<title>Create Next App</title>
<link rel="icon" href="/favicon.ico" />
<Metadata>
<title>My Page Title</title>
<link rel="icon" href="/favicon.ico" />
{/* Add any additional metadata tags here */}
</Metadata>
</Head>

<Navbar />
<main className="relative flex-1 lg:container text-center p-0 mx-auto overflow-x-hidden overflow-auto">
<Hero />
<Goal />
<Services />
<Testimonials />
<Team />
<Contact/>
<Contact />
</main>
<Footer/>
<Footer />
</div>
);
};
export default Home;

export default Home;

0 comments on commit 24fb688

Please sign in to comment.