mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
This updates this initial PR here https://github.com/vercel/next.js/pull/18146 to resolve merge conflicts and updates tests since we aren't able to update that PR itself. ## Feature - [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. - [ ] Related issues linked using `fixes #number` - [x] Integration tests added - [x] Documentation added - [ ] Telemetry added. In case of a feature if it's used or not. Closes: https://github.com/vercel/next.js/pull/18146
27 lines
452 B
JavaScript
27 lines
452 B
JavaScript
import Head from 'next/head'
|
|
import Link from 'next/link'
|
|
|
|
const WithoutFont = () => {
|
|
return (
|
|
<>
|
|
<Head>
|
|
<meta name="robots" content="noindex, nofollow" />
|
|
</Head>
|
|
<div>
|
|
Page without custom fonts
|
|
<br />
|
|
<br />
|
|
<Link href="/with-font">With font</Link>
|
|
</div>
|
|
</>
|
|
)
|
|
}
|
|
|
|
export const getServerSideProps = async () => {
|
|
return {
|
|
props: {},
|
|
}
|
|
}
|
|
|
|
export default WithoutFont
|