diff options
| author | Maze Winther <mazewinther@gmail.com> | 2026-03-04 16:53:04 +0100 |
|---|---|---|
| committer | Maze Winther <mazewinther@gmail.com> | 2026-03-04 16:53:04 +0100 |
| commit | 5ca2de25c67a0b3c76b773d2c5a9dd698f9105ab (patch) | |
| tree | 8acad9e799700b6bcf3c5ed29251e814607c6a72 /apps | |
| parent | ed8815c75510ed1c97d6e05b05dc750a1488852d (diff) | |
| download | opencut-5ca2de25c67a0b3c76b773d2c5a9dd698f9105ab.tar.gz | |
fix: auto scroll on link
Diffstat (limited to 'apps')
| -rw-r--r-- | apps/web/src/app/brand/page.tsx | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/apps/web/src/app/brand/page.tsx b/apps/web/src/app/brand/page.tsx index b07c2ff3..94e3f3e1 100644 --- a/apps/web/src/app/brand/page.tsx +++ b/apps/web/src/app/brand/page.tsx @@ -113,7 +113,15 @@ export default function BrandPage() { description={ <> Download OpenCut brand assets for use in your projects.{" "} - <Link href="#guidelines" className="underline underline-offset-4"> + <Link + href="#guidelines" + className="underline underline-offset-4" + onClick={() => + document + .getElementById("guidelines") + ?.scrollIntoView({ behavior: "smooth" }) + } + > Read the brand guidelines. </Link> </> |
