File tree Expand file tree Collapse file tree 2 files changed +17
-5
lines changed Expand file tree Collapse file tree 2 files changed +17
-5
lines changed Original file line number Diff line number Diff line change @@ -76,9 +76,11 @@ const Footer: React.FC = async () => {
7676 ) }
7777 >
7878 < p className = "text-primary-text" > { cta . cta_text } </ p >
79- < Button >
80- < span className = "text-background-2" > { cta . cta_button } </ span >
81- </ Button >
79+ < CustomLink href = { cta . cta_button . link . url } >
80+ < Button >
81+ < span className = "text-background-2" > { cta . cta_button . text } </ span >
82+ </ Button >
83+ </ CustomLink >
8284 </ div >
8385 </ div >
8486 </ div >
Original file line number Diff line number Diff line change @@ -26,7 +26,12 @@ export const footerQuery = gql`
2626 }
2727 notice
2828 cta_text
29- cta_button
29+ cta_button {
30+ text
31+ link {
32+ url
33+ }
34+ }
3035 }
3136 }
3237` ;
@@ -56,6 +61,11 @@ export type FooterQueryType = {
5661 } ;
5762 notice : string ;
5863 cta_text : string ;
59- cta_button : string ;
64+ cta_button : {
65+ text : string ;
66+ link : {
67+ url : string ;
68+ } ;
69+ } ;
6070 } ;
6171} ;
You can’t perform that action at this time.
0 commit comments