1- import {
2- Icon ,
3- Link ,
4- Text ,
5- Flex ,
6- View ,
7- useTheme ,
8- Button ,
9- } from '@aws-amplify/ui-react' ;
1+ import { Icon , Link , Text , Flex , View , useTheme } from '@aws-amplify/ui-react' ;
102
113import * as links from '@/data/links' ;
124import * as icons from '@/data/icon' ;
@@ -19,40 +11,53 @@ export const Footer = () => {
1911 < Flex direction = "row" justifyContent = "center" >
2012 < Logo />
2113 </ Flex >
22- < View textAlign = "center" >
23- < Button
24- as = { Link }
25- variation = "link"
26- gap = { tokens . space . small }
27- alignItems = "baseline"
14+ < Flex
15+ justifyContent = "center"
16+ alignItems = "center"
17+ direction = { { base : 'column' , medium : 'row' } }
18+ gap = { tokens . space . xs }
19+ >
20+ < Link
2821 href = "https://github.com/aws-amplify/amplify-ui"
2922 isExternal = { true }
30- color = { tokens . colors . font . tertiary }
3123 >
32- < Icon ariaLabel = "Github" pathData = { icons . GITHUB } />
33- Github
34- </ Button >
35- < Button
36- as = { Link }
37- variation = "link"
38- gap = { tokens . space . small }
39- alignItems = "baseline"
40- href = "https://discord.gg/amplify"
41- isExternal = { true }
42- color = { tokens . colors . font . tertiary }
43- >
44- < Icon
45- viewBox = { { minX : 0 , minY : 0 , width : 245 , height : 240 } }
46- pathData = { icons . DISCORD }
47- />
48- Discord
49- </ Button >
50- </ View >
51- < Flex direction = "row" >
52- < View >
53- Amplify open source, documentation and community are supported by
54- Amazon Web Services © { new Date ( ) . getFullYear ( ) } , Amazon Web Services,
55- Inc. and its affiliates. All rights reserved. View the{ ' ' }
24+ < Flex
25+ as = "span"
26+ alignItems = "baseline"
27+ justifyContent = "center"
28+ display = "flex"
29+ gap = { tokens . space . xs }
30+ >
31+ < Icon ariaLabel = "Github" pathData = { icons . GITHUB } />
32+ Contribute on Github
33+ </ Flex >
34+ </ Link >
35+ < Link href = "https://discord.gg/amplify" isExternal = { true } >
36+ < Flex
37+ as = "span"
38+ alignItems = "baseline"
39+ justifyContent = "center"
40+ display = "flex"
41+ gap = { tokens . space . xxs }
42+ >
43+ < Icon
44+ ariaLabel = ""
45+ viewBox = { { minX : 0 , minY : 0 , width : 245 , height : 240 } }
46+ pathData = { icons . DISCORD }
47+ />
48+ Discuss on Discord
49+ </ Flex >
50+ </ Link >
51+ </ Flex >
52+ < View fontSize = { tokens . fontSizes . small } >
53+ < Text >
54+ Amplify open source software, documentation and community are
55+ supported by Amazon Web Services.
56+ </ Text >
57+ < Text >
58+ { ' ' }
59+ © { new Date ( ) . getFullYear ( ) } Amazon Web Services, Inc. and its
60+ affiliates. All rights reserved. View the{ ' ' }
5661 < Link isExternal = { true } href = { links . TERMS } >
5762 site terms
5863 </ Link > { ' ' }
@@ -61,12 +66,12 @@ export const Footer = () => {
6166 privacy policy
6267 </ Link >
6368 .
64- < View margin = { ` ${ tokens . space . medium } 0 0 0` } >
65- Flutter and the related logo are trademarks of Google LLC. We are
66- not endorsed by or affiliated with Google LLC.
67- </ View >
68- </ View >
69- </ Flex >
69+ </ Text >
70+ < Text marginBlockStart = { tokens . space . medium } >
71+ Flutter and the related logo are trademarks of Google LLC. We are not
72+ endorsed by or affiliated with Google LLC.
73+ </ Text >
74+ </ View >
7075 </ Flex >
7176 ) ;
7277} ;
0 commit comments