File tree Expand file tree Collapse file tree 1 file changed +3
-9
lines changed
packages/page-blocks/src/blocks/hero Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -5,13 +5,13 @@ import {
55 Image ,
66 TextRenderer ,
77 VideoWithPreview ,
8+ Link ,
89} from "@courselit/components-library" ;
910import { isVideo } from "@courselit/utils" ;
1011import clsx from "clsx" ;
1112import {
1213 Button ,
1314 Header1 ,
14- Link ,
1515 Subheader1 ,
1616 Section ,
1717} from "@courselit/page-primitives" ;
@@ -184,10 +184,7 @@ export default function Widget({
184184 className = { `flex flex-col md:!flex-row gap-2 w-full ${ contentAlignment === "center" ? "md:!justify-center" : "" } ` }
185185 >
186186 { buttonAction && buttonCaption && (
187- < Link
188- href = { buttonAction }
189- theme = { overiddenTheme }
190- >
187+ < Link href = { buttonAction } >
191188 < Button
192189 theme = { overiddenTheme }
193190 className = "w-full md:min-w-[150px]"
@@ -198,10 +195,7 @@ export default function Widget({
198195 ) }
199196 { secondaryButtonAction &&
200197 secondaryButtonCaption && (
201- < Link
202- href = { secondaryButtonAction }
203- theme = { overiddenTheme }
204- >
198+ < Link href = { secondaryButtonAction } >
205199 < Button
206200 theme = { overiddenTheme }
207201 className = "w-full md:min-w-[150px]"
You can’t perform that action at this time.
0 commit comments