Skip to content

Commit d912836

Browse files
committed
chore(examples): remove layout-component example
1 parent 5432dca commit d912836

File tree

15 files changed

+0
-299
lines changed

15 files changed

+0
-299
lines changed

docs/02-pages/03-api-reference/01-components/head.mdx

-8
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,6 @@ title: Head
33
description: Add custom elements to the `head` of your page with the built-in Head component.
44
---
55

6-
<details>
7-
<summary>Examples</summary>
8-
9-
- [Head Elements](https://github.com/vercel/next.js/tree/canary/examples/head-elements)
10-
- [Layout Component](https://github.com/vercel/next.js/tree/canary/examples/layout-component)
11-
12-
</details>
13-
146
We expose a built-in component for appending elements to the `head` of the page:
157

168
```jsx

examples/layout-component/.gitignore

-40
This file was deleted.

examples/layout-component/README.md

-27
This file was deleted.

examples/layout-component/app/_components/sidebar.module.css

-39
This file was deleted.

examples/layout-component/app/_components/sidebar.tsx

-13
This file was deleted.

examples/layout-component/app/about/page.tsx

-29
This file was deleted.

examples/layout-component/app/contact/page.tsx

-29
This file was deleted.

examples/layout-component/app/layout.module.css

-9
This file was deleted.

examples/layout-component/app/layout.tsx

-23
This file was deleted.

examples/layout-component/app/page.tsx

-29
This file was deleted.

examples/layout-component/global.css

-12
This file was deleted.

examples/layout-component/package.json

-19
This file was deleted.

examples/layout-component/tsconfig.json

-20
This file was deleted.

test/examples/examples.test.ts

-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ const testedExamples = [
2323
'i18n-routing-pages',
2424
'image-component',
2525
'image-legacy-component',
26-
'layout-component',
2726
'mdx',
2827
'middleware',
2928
'middleware-matcher',

test/turbopack-dev-examples-manifest.json

-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@
5252
"image-component": true,
5353
"image-legacy-component": true,
5454
"inngest": true,
55-
"layout-component": true,
5655
"mdx": true,
5756
"mdx-remote": true,
5857
"middleware": true,

0 commit comments

Comments
 (0)