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 Dec 26, 2024
1 parent fc203d6 commit e79b6a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/nextjs
Submodule nextjs updated 47 files
+8 −0 .env.example
+13 −1 .github/workflows/ci.yml
+31 −0 eslint.config.mjs
+4 −1 next.config.ts
+16 −10 package.json
+203 −73 pnpm-lock.yaml
+4 −1 prettier.config.mjs
+1 −1 sonar-project.properties
+39 −0 src/app/[locale]/[[...slug]]/layout.tsx
+53 −0 src/app/[locale]/[[...slug]]/page.test.tsx
+43 −0 src/app/[locale]/[[...slug]]/page.tsx
+15 −5 src/app/[locale]/layout.tsx
+0 −8 src/app/[locale]/page.test.tsx
+0 −3 src/app/[locale]/page.tsx
+21 −0 src/app/[locale]/providers.test.tsx
+17 −0 src/app/[locale]/providers.tsx
+11 −0 src/app/robots.test.ts
+13 −0 src/app/robots.ts
+56 −0 src/components/layout/Breadcrumbs.test.tsx
+27 −0 src/components/layout/Breadcrumbs.tsx
+26 −0 src/components/layout/Footer.test.tsx
+11 −0 src/components/layout/Footer.tsx
+34 −0 src/components/layout/Header.test.tsx
+24 −0 src/components/layout/Header.tsx
+80 −0 src/components/layout/LocaleSwitcher.client.test.tsx
+99 −0 src/components/layout/LocaleSwitcher.client.tsx
+24 −0 src/components/utils/LocaleLink.tsx
+7 −6 src/fetch-locales.ts
+9 −1 src/middleware.test.ts
+6 −4 src/middleware.ts
+7 −0 src/types/alt-locale.ts
+12 −0 src/types/entry-preview.ts
+31 −0 src/types/entry.ts
+12 −0 src/types/routable-entry-response.ts
+6 −0 src/utils/cn.ts
+113 −0 src/utils/format-metadata.test.ts
+27 −0 src/utils/format-metadata.ts
+26 −0 src/utils/get-locales.test.ts
+6 −0 src/utils/get-locales.ts
+20 −0 src/utils/logger.test.ts
+3 −0 src/utils/logger.ts
+24 −0 src/utils/query/create-query-client.test.ts
+14 −0 src/utils/query/create-query-client.ts
+29 −0 src/utils/query/get-page-by-url.test.ts
+35 −0 src/utils/query/get-page-by-url.ts
+3 −0 vitest.config.mts
+31 −0 vitestSetup.ts

0 comments on commit e79b6a5

Please sign in to comment.