Skip to content

Commit

Permalink
feat(examples): Update the NextJS example
Browse files Browse the repository at this point in the history
  • Loading branch information
Dobefu committed Jan 1, 2025
1 parent f7581d9 commit 5ed592f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/nextjs
Submodule nextjs updated 43 files
+1 −0 .github/FUNDING.yml
+27 −0 .github/ISSUE_TEMPLATE/bug_report.md
+20 −0 .github/ISSUE_TEMPLATE/feature_request.md
+22 −0 .github/PULL_REQUEST_TEMPLATE.md
+27 −0 .github/bug_report.md
+6 −0 .github/dependabot.yml
+20 −0 .github/feature_request.md
+3 −0 CODE_OF_CONDUCT.md
+80 −0 CONTRIBUTING.md
+21 −0 LICENSE
+19 −5 README.md
+46 −0 SECURITY.md
+2 −0 eslint.config.mjs
+8 −4 package.json
+116 −86 pnpm-lock.yaml
+2 −4 src/app/[locale]/[[...slug]]/layout.tsx
+15 −0 src/app/[locale]/[[...slug]]/not-found.test.tsx
+15 −0 src/app/[locale]/[[...slug]]/not-found.tsx
+48 −5 src/app/[locale]/[[...slug]]/page.test.tsx
+5 −5 src/app/[locale]/[[...slug]]/page.tsx
+21 −3 src/app/[locale]/layout.tsx
+1 −1 src/app/[locale]/providers.test.tsx
+17 −4 src/app/[locale]/providers.tsx
+45 −0 src/app/sitemap.test.ts
+92 −0 src/app/sitemap.ts
+4 −2 src/components/layout/Breadcrumbs.test.tsx
+5 −1 src/components/layout/Breadcrumbs.tsx
+7 −5 src/components/layout/Header.tsx
+7 −1 src/components/layout/LocaleSwitcher.client.test.tsx
+9 −9 src/components/layout/LocaleSwitcher.client.tsx
+2 −2 src/components/utils/LocaleLink.tsx
+30 −0 src/hooks/use-locale.test.ts
+22 −0 src/hooks/use-locale.ts
+84 −5 src/middleware.ts
+4 −0 src/types/locale.ts
+29 −6 src/utils/format-metadata.test.ts
+4 −2 src/utils/format-metadata.ts
+3 −1 src/utils/get-locales.ts
+9 −2 src/utils/logger.test.ts
+4 −0 src/utils/logger.ts
+9 −0 src/utils/query/get-page-by-url.test.ts
+38 −0 src/utils/query/get-translations.test.ts
+45 −0 src/utils/query/get-translations.ts

0 comments on commit 5ed592f

Please sign in to comment.