Commit Graph

2 Commits

Author SHA1 Message Date
Jam Balaya d45fc5ad95 examples: fix typos (#82506)
## Summary

Fix typos in code, styles, and documentation across multiple example
projects

Chores:
- Correct variable name typo in the with-slate example
(edtorState→editorState)
- Fix CSS/SASS class name misspellings (populer→popular, Serach→Search,
serachSelector→searchSelector)
- Update example documentation and comments to fix English typos (Data
SOUCE→SOURCE, accessiblity→accessibility, exchanges, doesn't, deploying,
validates, quickly)

### Adding or Updating Examples

- [x] The "examples guidelines" are followed from our contributing doc
https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md
- [x] Make sure the linting passes by running `pnpm build && pnpm lint`.
See
https://github.com/vercel/next.js/blob/canary/contributing/repository/linting.md

Co-authored-by: Joseph <joseph.chamochumbi@vercel.com>
2025-11-24 14:04:41 +01:00
Archana Agivale 94d6a432fa Examples:Updated with-slate example to App Router (#68060)
This PR updates the with-slate example to use the App Router. Here are
the changes that have been made:

Renamed the "pages" folder to the "app" folder.
Updated the routing for iindex.tsx files to align with the App Router.
Added the layout.tsx file as part of the App Router.
Updated API folder structure with app router.
Updated Slate component code accordingly new version of slate library
Updated the package.json file.

cc @samcx

---------

Co-authored-by: samcx <sam@vercel.com>
2024-07-24 14:43:01 +00:00