fix: auto scroll on link
This commit is contained in:
parent
ed8815c755
commit
5ca2de25c6
|
|
@ -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>
|
||||||
</>
|
</>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue