Unverified Commit 5998e6a8 authored by vinay's avatar vinay Committed by GitHub

examples: Update example with-Clerk (#57050)

Co-authored-by: 's avatarLee Robinson <me@leerob.io>
Co-authored-by: 's avatarkodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
parent c380d915
...@@ -5,10 +5,11 @@ import Image from 'next/image' ...@@ -5,10 +5,11 @@ import Image from 'next/image'
import Script from 'next/script' import Script from 'next/script'
import styles from '../styles/Header.module.css' import styles from '../styles/Header.module.css'
import Link from 'next/link' import Link from 'next/link'
import type { Metadata } from 'next'
const inter = Inter({ subsets: ['latin'] }) const inter = Inter({ subsets: ['latin'] })
export const metadata = { export const metadata: Metadata = {
title: 'Clerk with App Router', title: 'Clerk with App Router',
description: 'Power your Next.js application with Clerk ', description: 'Power your Next.js application with Clerk ',
} }
...@@ -39,7 +40,6 @@ export default function RootLayout({ ...@@ -39,7 +40,6 @@ export default function RootLayout({
}) { }) {
return ( return (
<html lang="en"> <html lang="en">
<head></head>
<ClerkProvider> <ClerkProvider>
<body className={inter.className}> <body className={inter.className}>
<Header /> <Header />
......
import { SignedIn, SignedOut } from '@clerk/nextjs' import { SignedIn, SignedOut } from '@clerk/nextjs'
import styles from '../styles/Home.module.css' import styles from '../styles/Home.module.css'
import Link from 'next/link' import Link from 'next/link'
import Head from 'next/head'
import { APIRequest } from './api-request' import { APIRequest } from './api-request'
const ClerkFeatures = () => ( const ClerkFeatures = () => (
...@@ -119,14 +118,6 @@ const Footer = () => ( ...@@ -119,14 +118,6 @@ const Footer = () => (
export default function Home() { export default function Home() {
return ( return (
<div className={styles.container}> <div className={styles.container}>
<Head>
<title>Create Next App</title>
<link rel="icon" href="/favicon.ico" />
<meta
name="viewport"
content="width=device-width, initial-scale=1.0"
></meta>
</Head>
<Main /> <Main />
<Footer /> <Footer />
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment