English 中文(简体)
表中未显示的元数据
原标题:Metadata not showing in tab Next.js 13.4.1

我将元件定义为如下文所示,但是在我的剪辑中,它没有显示“当地:3000/#home”。 我的所有jsx文档都有“用户”的标记,c 它有组合式一壳,可上载到Github页,因此我可以使用服务器部件。 我不知道这是否与它有关。

这里是我的布局。

"use client"

import  ./globals.css 
import { Exo_2, Bruno_Ace } from  next/font/google 
import Navbar from  @/components/Navbar 
import { AnimatePresence } from  framer-motion ;


 const exo_2 = Exo_2({
  subsets: [ latin ],
  variable:  --font-body ,
  display:  swap 
 })

 const bruno_ace = Bruno_Ace({
  subsets: [ latin ],
  variable:  --font-nav ,
  weight:  400 ,
  display:  swap 
 })

export const metadata = {
  title:  Inti Silva ,
  description:  Portfolio Front-end Inti Tomas Silva ,
}

export default function RootLayout({children}) {

  return (

    <html lang="en" className={`${exo_2.variable} ${bruno_ace.variable}`}>
      <body>
        <Navbar />
        <AnimatePresence>
        {children}
        </AnimatePresence>
      </body>
    </html>
  )
}

我试图将元件放在我的网页上。 jsx, 但它没有显示。 我使用新目录,称该目录本应在这一版本中保持稳定。

My root page..jsx:

"use client"

import About from  ../components/About ;
import Contact from  ../components/Contact ;
import Main from  ../components/Main ;
import Projects from  ../components/Projects ;
import Skills from  ../components/Skills ;
import Transitions from  @/components/Transitions ;



export default function Home() {
  return (
        <>
        <Transitions/>
        <Main />
        <About />
        <Skills />
        <Projects />
        <Contact />
        </>
  );
};

问题回答




相关问题
PHP DOMDocument GetElementsByTagName Not Finding Elements

I have an HTML page containing alot of meta tags and I want to parse them to find certain ones. Here is the code I am using, but it s not picking up any of the tags. $dom = new DOMDocument(); $dom-&...

How to Add Comments to a JPEG File Using C#

Within the property window of a JPEG image, there is a tab called Summary . Within this tab, there is a field called Comments I would like to write some c# code which will add a given string to ...

Find if a column in Oracle has a sequence

I am attempting to figure out if a column in Oracle is populated from a sequence. My impression of how Oracle handles sequencing is that the sequence and column are separate entities and one needs to ...

Metadata for columns in SQLite v2.8 (PHP5)

How can I get metadata / constraints (primary key and "null allowed" in particular) for each column in a SQLite v2.8 table using PHP5 (like mysql_fetch_field for MySql)? sqlite_fetch_column_types (OO:...

热门标签