mirror of
https://github.com/OpenCut-app/OpenCut.git
synced 2026-07-13 21:52:53 +02:00
fix: auto scroll on link
This commit is contained in:
@@ -113,7 +113,15 @@ export default function BrandPage() {
|
|||||||
description={
|
description={
|
||||||
<>
|
<>
|
||||||
Download OpenCut brand assets for use in your projects.{" "}
|
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.
|
Read the brand guidelines.
|
||||||
</Link>
|
</Link>
|
||||||
</>
|
</>
|
||||||
|
|||||||
Reference in New Issue
Block a user