@@ -5,7 +5,6 @@ import styles from "./app.module.scss";
55import "./assets/styles/index.scss" ;
66import Header from "./renderer/components/header" ;
77import PickerForm from "./renderer/components/picker-form" ;
8- import { PickerStateProvider } from "./renderer/containers/picker-state" ;
98import { TextPreview } from "./renderer/components/text-preview" ;
109
1110initializeIcons ( ) ;
@@ -14,53 +13,51 @@ const WinPicker = () => {
1413 return (
1514 < div id = "winpicker" >
1615 < h1 className = "sr-only" > Win Picker</ h1 >
17- < PickerStateProvider >
18- < div className = "layout__wrapper" >
19- < Header />
20- < main >
21- < PickerForm />
22- < TextPreview />
23- </ main >
24- < footer
25- aria-label = "Feedback and Help"
26- className = { styles . footer }
27- data-testid = "footer-wrapper"
16+ < div className = "layout__wrapper" >
17+ < Header />
18+ < main >
19+ < PickerForm />
20+ < TextPreview />
21+ </ main >
22+ < footer
23+ aria-label = "Feedback and Help"
24+ className = { styles . footer }
25+ data-testid = "footer-wrapper"
26+ >
27+ < DefaultButton
28+ className = { styles . footer__button }
29+ as = "a"
30+ href = "https://github.com/JoaoTMDias/winpicker"
31+ target = "_blank"
32+ data-testid = "footer-link"
2833 >
29- < DefaultButton
30- className = { styles . footer__button }
31- as = "a"
32- href = "https://github.com/JoaoTMDias/winpicker"
33- target = "_blank"
34- data-testid = "footer-link"
35- >
36- < Icon iconName = "Info" data-testid = "footer-link-icon" />
37- < span data-testid = "footer-link-text" > About WinPicker</ span >
38- </ DefaultButton >
39- < DefaultButton
40- className = { styles . footer__button }
41- as = "a"
42- href = "https://webaim.org/articles/contrast/"
43- target = "_blank"
44- data-testid = "footer-link"
45- >
46- < Icon iconName = "ReadingMode" data-testid = "footer-link-icon" />
47- < span data-testid = "footer-link-text" >
48- Contrast and Colour Accessibility
49- </ span >
50- </ DefaultButton >
51- < DefaultButton
52- className = { styles . footer__button }
53- as = "a"
54- href = "https://github.com/JoaoTMDias/winpicker/issues/new/choose"
55- target = "_blank"
56- data-testid = "footer-link"
57- >
58- < Icon iconName = "Feedback" data-testid = "footer-link-icon" />
59- < span data-testid = "footer-link-text" > Give feedback</ span >
60- </ DefaultButton >
61- </ footer >
62- </ div >
63- </ PickerStateProvider >
34+ < Icon iconName = "Info" data-testid = "footer-link-icon" />
35+ < span data-testid = "footer-link-text" > About WinPicker</ span >
36+ </ DefaultButton >
37+ < DefaultButton
38+ className = { styles . footer__button }
39+ as = "a"
40+ href = "https://webaim.org/articles/contrast/"
41+ target = "_blank"
42+ data-testid = "footer-link"
43+ >
44+ < Icon iconName = "ReadingMode" data-testid = "footer-link-icon" />
45+ < span data-testid = "footer-link-text" >
46+ Contrast and Colour Accessibility
47+ </ span >
48+ </ DefaultButton >
49+ < DefaultButton
50+ className = { styles . footer__button }
51+ as = "a"
52+ href = "https://github.com/JoaoTMDias/winpicker/issues/new/choose"
53+ target = "_blank"
54+ data-testid = "footer-link"
55+ >
56+ < Icon iconName = "Feedback" data-testid = "footer-link-icon" />
57+ < span data-testid = "footer-link-text" > Give feedback</ span >
58+ </ DefaultButton >
59+ </ footer >
60+ </ div >
6461 </ div >
6562 ) ;
6663} ;
0 commit comments