diff --git a/pwa/app/(common)/components/cover/Cover.tsx b/pwa/app/(common)/components/cover/Cover.tsx index 86d2c121..c80669a7 100644 --- a/pwa/app/(common)/components/cover/Cover.tsx +++ b/pwa/app/(common)/components/cover/Cover.tsx @@ -1,3 +1,5 @@ +"use client"; +import { useSearchParams } from "next/navigation"; import Button from "components/common/Button"; import Logo from "components/common/Logo"; import classNames from "classnames"; @@ -5,6 +7,9 @@ import CoverCircleStacks from "./CoverCircleStacks"; import StackSelector from "./StackSelector"; export default function Cover() { + const searchParams = useSearchParams(); + const stack = searchParams.get("s"); + return (
@@ -36,7 +41,8 @@ export default function Cover() { diff --git a/pwa/app/(common)/components/timeline/TimelinePhp.tsx b/pwa/app/(common)/components/timeline/TimelinePhp.tsx index f0f435aa..89793329 100644 --- a/pwa/app/(common)/components/timeline/TimelinePhp.tsx +++ b/pwa/app/(common)/components/timeline/TimelinePhp.tsx @@ -14,35 +14,12 @@ export default function TimelineSymfony() { return (
Install the framework - + Install the API Platform Framework - -

- Your development environment is ready!{" "} -

- Continuous integration (GitHub Action) as well as recipes to deploy in - production with{" "} - - Docker Compose - {" "} - or{" "} - - Kubernetes - {" "} - are also pre-installed. -
Define the resources diff --git a/pwa/app/(common)/components/timeline/symfony/Expose.mdx b/pwa/app/(common)/components/timeline/symfony/Expose.mdx index 8881de8e..6dc1cc08 100644 --- a/pwa/app/(common)/components/timeline/symfony/Expose.mdx +++ b/pwa/app/(common)/components/timeline/symfony/Expose.mdx @@ -3,6 +3,8 @@ namespace App\ApiResource; +use ApiPlatform\Metadata\ApiResource; + #[ApiResource] class Beer {