Skip to content

fix code #64

@coderKrysio

Description

@coderKrysio
  • change the naming convention of all the files, components, functions and constants
const About = () => {
    return ( ... )
}

  • change the export default statements to export in case the returned component is a constant instead of a function
const About = () => {
    return ( ... )
}
export default About

  • see the usage of use client in your app router
'use client'

import LandingPage from '@/components/LandingPage'
import Navbar from '@/components/Navbar'

export default function Home() {
    return (
        <main className="min-h-screen overflow-x-hidden">
            <Navbar />
            <LandingPage />
        </main>
    )
}

  • move all the assets from link based to the public folder in the root directory
img: 'https://res.cloudinary.com/db7nrltsv/image/upload/v1690480571/2_ih9sj9.png',

  • update the metadata (use documentation)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions