File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -4,12 +4,16 @@ type ButtonLinkProps = {
4
4
style ?: "primary" | "secondary" ;
5
5
children : string ;
6
6
className ?: string ;
7
+ title ?: string ;
8
+ href ?: string ;
7
9
} & Omit < AnchorHTMLAttributes < HTMLAnchorElement > , "style" > ;
8
10
9
11
export default function ButtonLink ( {
10
12
style = "primary" ,
11
13
children,
12
14
className = "" ,
15
+ href = "https://cloud.portaljs.com/" ,
16
+ title = "Get started with PortalJS Cloud" ,
13
17
...rest
14
18
} : ButtonLinkProps ) {
15
19
let _className : string =
@@ -25,8 +29,8 @@ export default function ButtonLink({
25
29
26
30
return (
27
31
< a
28
- href = "https://cloud.portaljs.com/"
29
- title = "Get started with PortalJS Cloud"
32
+ href = { href }
33
+ title = { title }
30
34
className = { _className }
31
35
{ ...rest }
32
36
>
Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ export default function Hero() {
26
26
< ButtonLink
27
27
style = "secondary"
28
28
className = "mt-8 text-sm"
29
+ title = "Deploy on Vercel"
29
30
href = "https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fdatopian%2Fportaljs-frontend-starter& env = NEXT_PUBLIC_DMS & envDescription = DMS % 20 endpoint % 2 C % 20 e . g . % 2 C % 20 a % 20 CKAN % 20 instance % 20 URL . % 20 For % 20 testing % 20 purposes % 2 C % 20 you % 20 can % 20 use % 20 https % 3 A % 2 F % 2 Fapi . cloud . portaljs . com % 2 F & project-name = my-portaljs-app & repository-name = my-portaljs-app "
30
31
>
31
32
Deploy on Vercel
You can’t perform that action at this time.
0 commit comments