diff --git a/examples/full/pages/images/+Page.tsx b/examples/full/pages/images/+Page.tsx index d7cd5cc..85e3fea 100644 --- a/examples/full/pages/images/+Page.tsx +++ b/examples/full/pages/images/+Page.tsx @@ -1,9 +1,9 @@ export { Page }; -import { Head } from "vike-solid/Head"; import logoOld from "../../assets/logo.svg"; import logoNew from "../../assets/logo-new.svg"; import { Counter } from "../../components/Counter"; +import { useConfig } from "vike-solid/useConfig"; function Page() { return ( @@ -26,22 +26,26 @@ function Page() { } function Image({ src, author }: { src: string; author: string }) { + const config = useConfig(); + + config({ + Head: ( + + ), + }); return ( <> -
- - > ); }