From 91cb100ce072c642ebfa7eb52721665344486e2c Mon Sep 17 00:00:00 2001 From: Vordgi Date: Mon, 26 Jan 2026 16:27:48 +0000 Subject: [PATCH] issue-102 configure site metadata --- pnpm-lock.yaml | 32 ++++++++++++++++---------------- site/package.json | 6 +++--- site/src/app/demo/page.tsx | 8 ++++++-- site/src/app/favicon.ico | Bin 0 -> 16958 bytes site/src/app/layout.tsx | 9 +++++++-- 5 files changed, 32 insertions(+), 23 deletions(-) create mode 100644 site/src/app/favicon.ico diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index a604b98..028f200 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -316,11 +316,11 @@ importers: site: dependencies: '@robindoc/minisearch': - specifier: 3.7.2 - version: 3.7.2(tsx@4.21.0) + specifier: 3.7.4 + version: 3.7.4(tsx@4.21.0) '@robindoc/next': - specifier: 3.7.2 - version: 3.7.2(next@16.1.4(react-dom@19.2.3(react@19.2.3))(react@19.2.3)(sass@1.97.2))(react-dom@19.2.3(react@19.2.3))(react@19.2.3)(robindoc@3.7.2(@types/react@19.2.8)(react-dom@19.2.3(react@19.2.3))(react@19.2.3)) + specifier: 3.7.4 + version: 3.7.4(next@16.1.4(react-dom@19.2.3(react@19.2.3))(react@19.2.3)(sass@1.97.2))(react-dom@19.2.3(react@19.2.3))(react@19.2.3)(robindoc@3.7.4(@types/react@19.2.8)(react-dom@19.2.3(react@19.2.3))(react@19.2.3)) contection: specifier: latest version: 2.3.0(react@19.2.3) @@ -334,8 +334,8 @@ importers: specifier: 19.2.3 version: 19.2.3(react@19.2.3) robindoc: - specifier: 3.7.2 - version: 3.7.2(@types/react@19.2.8)(react-dom@19.2.3(react@19.2.3))(react@19.2.3) + specifier: 3.7.4 + version: 3.7.4(@types/react@19.2.8)(react-dom@19.2.3(react@19.2.3))(react@19.2.3) sass: specifier: 1.97.2 version: 1.97.2 @@ -2113,8 +2113,8 @@ packages: '@remix-run/node-fetch-server@0.9.0': resolution: {integrity: sha512-SoLMv7dbH+njWzXnOY6fI08dFMI5+/dQ+vY3n8RnnbdG7MdJEgiP28Xj/xWlnRnED/aB6SFw56Zop+LbmaaKqA==} - '@robindoc/minisearch@3.7.2': - resolution: {integrity: sha512-nzMtWIhjWU94RQUL8DFG98WtvQeC6iQCc+YCDVho1FftkWtIRBU/thMoPfoG8HxUF7Jqc9PXQvPFgYPoEYLvdg==} + '@robindoc/minisearch@3.7.4': + resolution: {integrity: sha512-PynhKRepmPmfUVM49tXIddu8ZEPrkIQDtfp0nS9htQI/PUqsJB+fY9fxiqtvpGCVyXnWeHcscUdi5Zz6CYv8Vw==} hasBin: true peerDependencies: tsx: '>= 1.0.0' @@ -2122,8 +2122,8 @@ packages: tsx: optional: true - '@robindoc/next@3.7.2': - resolution: {integrity: sha512-PhFYOAQX++cCzAvM74jf+g49Hp8cSTIDickcVKzDwQyaytmvY6XeGLO6o1o63jrGLnhGLMivl5nhKowUANemRA==} + '@robindoc/next@3.7.4': + resolution: {integrity: sha512-VJtnO9/dD6XqDmA8iDgWxs2rgM7rhb1bxkavSTsGeNp9hBHOuYlrjBbcE/UO5MK9J3bRv9YgBr6JS2fLpGNmWA==} peerDependencies: next: '>= 14.0.0' react: '>= 18.3.0' @@ -4318,8 +4318,8 @@ packages: resolution: {integrity: sha512-g6QUff04oZpHs0eG5p83rFLhHeV00ug/Yf9nZM6fLeUrPguBTkTQOdpAWWspMh55TZfVQDPaN3NQJfbVRAxdIw==} engines: {iojs: '>=1.0.0', node: '>=0.10.0'} - robindoc@3.7.2: - resolution: {integrity: sha512-D2ZzYd7goA2ryXVIoH2r7re453naflxPFi5PYprPwAh350DoxTaohiQqrdyN3wSTObrSKNDX6M4/hCDc2Dya2w==} + robindoc@3.7.4: + resolution: {integrity: sha512-j+DvXTctf7GKrYv9tu4XpaVAKEgDdZ8rRAimxv7n4emwPGdTYSfDcipf/KXZ895vL8NYltIssnOcdsrIbsqEqg==} peerDependencies: react: '>= 18.3.0' react-dom: '>= 18.3.0' @@ -6856,7 +6856,7 @@ snapshots: '@remix-run/node-fetch-server@0.9.0': {} - '@robindoc/minisearch@3.7.2(tsx@4.21.0)': + '@robindoc/minisearch@3.7.4(tsx@4.21.0)': dependencies: gray-matter: 4.0.3 marked: 17.0.1 @@ -6864,12 +6864,12 @@ snapshots: optionalDependencies: tsx: 4.21.0 - '@robindoc/next@3.7.2(next@16.1.4(react-dom@19.2.3(react@19.2.3))(react@19.2.3)(sass@1.97.2))(react-dom@19.2.3(react@19.2.3))(react@19.2.3)(robindoc@3.7.2(@types/react@19.2.8)(react-dom@19.2.3(react@19.2.3))(react@19.2.3))': + '@robindoc/next@3.7.4(next@16.1.4(react-dom@19.2.3(react@19.2.3))(react@19.2.3)(sass@1.97.2))(react-dom@19.2.3(react@19.2.3))(react@19.2.3)(robindoc@3.7.4(@types/react@19.2.8)(react-dom@19.2.3(react@19.2.3))(react@19.2.3))': dependencies: next: 16.1.4(react-dom@19.2.3(react@19.2.3))(react@19.2.3)(sass@1.97.2) react: 19.2.3 react-dom: 19.2.3(react@19.2.3) - robindoc: 3.7.2(@types/react@19.2.8)(react-dom@19.2.3(react@19.2.3))(react@19.2.3) + robindoc: 3.7.4(@types/react@19.2.8)(react-dom@19.2.3(react@19.2.3))(react@19.2.3) '@rolldown/pluginutils@1.0.0-beta.47': {} @@ -9322,7 +9322,7 @@ snapshots: reusify@1.1.0: {} - robindoc@3.7.2(@types/react@19.2.8)(react-dom@19.2.3(react@19.2.3))(react@19.2.3): + robindoc@3.7.4(@types/react@19.2.8)(react-dom@19.2.3(react@19.2.3))(react@19.2.3): dependencies: clsx: 2.1.1 dot-prop: 10.1.0 diff --git a/site/package.json b/site/package.json index 29179b7..7047b6f 100644 --- a/site/package.json +++ b/site/package.json @@ -11,9 +11,9 @@ "next": "16.1.4", "react": "19.2.3", "react-dom": "19.2.3", - "robindoc": "3.7.2", - "@robindoc/minisearch": "3.7.2", - "@robindoc/next": "3.7.2", + "robindoc": "3.7.4", + "@robindoc/minisearch": "3.7.4", + "@robindoc/next": "3.7.4", "sass": "1.97.2", "contection": "latest" }, diff --git a/site/src/app/demo/page.tsx b/site/src/app/demo/page.tsx index c395d17..bd23cee 100644 --- a/site/src/app/demo/page.tsx +++ b/site/src/app/demo/page.tsx @@ -1,5 +1,4 @@ -"use client"; - +import { type Metadata } from "next/types"; import { DemoStore, initialState } from "./store"; import { FullStoreSubscriber, @@ -50,3 +49,8 @@ export default function DemoPage() { ); } + +export const metadata: Metadata = { + title: "Contection - Demo", + description: "Basic demo of possible subscription patterns with Contection and best practices.", +}; diff --git a/site/src/app/favicon.ico b/site/src/app/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..d54331058e7bbb674fabd71ba09da83b5503075e GIT binary patch literal 16958 zcmds-J#Q3A5QfJhAh_TVCtd0#Bg4OdU0rTLjwKUAaHMv!4k7YokeS4G=)}afWalfH zA25bLfXOa6-Q4@kQhP(YyJveoylWS#?V0ZCs(P!cKXy%)t?1uql<9MjJ^mxhe$TS( zu~=Q%j+p+EMp^dTFH@d&^#55D#X$T_JQg2`C*oY}Qmzihkl7V)idXyhuzL&gdnn!$ z=i;`MO9Am1cJFC-8s#5(eksnyebF~59*ZAz=XpC#@&(-F2j6armLd)U+jqX};z=C- zY?s0G*|JH_bMdm!i5wZEBT1hjJ8#4{S?e-47xi8X@?t!fCyN!@P0wom3_<$1SXfEc z_v#VNFCoj5B`7BYOFS?C8KwVC{@P#K5~3O7XZ0<*7O> zzXt~gh09N$KAq+L%avp@z$Gb1$*V1@AG;^JZ^%{w__d>$Xc4nF3D=1-$s>=Kt*Mtk~MxD#t&3_)ykCwSKXYf<5L_2V>|Ar4(bow zbwrK4c=4i)6|xqCuCbF3>JV;tK7##a3=cWRfA-?oTJ`B*{ZcRN2l!aG-hDbkeduIw zc=hU4@&5h$@_Y=fw~!9?KNAPnKDe=V=BwpL>yzg_vzJ9`Gc zHK@;!%Cg^TfU~jT+5&s-GeSF=GpIUPOPO?!ESehm~7iI+iUUP&gxX1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644 --- a/site/src/app/layout.tsx +++ b/site/src/app/layout.tsx @@ -1,4 +1,4 @@ -import { type ReactNode } from "react"; +import { type Metadata } from "next/types"; import { RobinProvider, Header, Footer } from "robindoc"; import { NavigationProvider } from "@robindoc/next"; @@ -7,7 +7,7 @@ import { searchProvider } from "./search-provider"; import "robindoc/lib/styles.css"; import "./globals.css"; -export default function RootLayout({ children }: { children: ReactNode }) { +export default function RootLayout({ children }: { children: React.ReactNode }) { return ( @@ -30,3 +30,8 @@ export default function RootLayout({ children }: { children: ReactNode }) { ); } + +export const metadata: Metadata = { + title: "Contection", + description: "Contection is a library for managing state in React applications.", +};