From 07620e5d4b1ed54bae2266d936af5306bfbe2d8b Mon Sep 17 00:00:00 2001 From: Priscila Oliveira Date: Sun, 5 Apr 2020 20:25:38 +0200 Subject: [PATCH] feat(flag): Added Germany flag (#454) --- src/App/__snapshots__/App.test.tsx.snap | 116 ++++++++++-------- src/components/Footer/Footer.tsx | 1 + .../Footer/__snapshots__/Footer.test.tsx.snap | 54 ++++---- src/components/Icon/Icon.tsx | 3 + src/components/Icon/img/germany.svg | 1 + 5 files changed, 105 insertions(+), 70 deletions(-) create mode 100644 src/components/Icon/img/germany.svg diff --git a/src/App/__snapshots__/App.test.tsx.snap b/src/App/__snapshots__/App.test.tsx.snap index cc240d3..d77e7be 100644 --- a/src/App/__snapshots__/App.test.tsx.snap +++ b/src/App/__snapshots__/App.test.tsx.snap @@ -1,7 +1,7 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[` should display the Header component 1`] = ` -.emotion-78 { +.emotion-81 { background-color: #fff; } @@ -153,7 +153,7 @@ exports[` should display the Header component 1`] = ` } } -.emotion-76 { +.emotion-79 { background: #f9f9f9; border-top: 1px solid #e3e3e3; color: #999999; @@ -161,7 +161,7 @@ exports[` should display the Header component 1`] = ` padding: 20px; } -.emotion-74 { +.emotion-77 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -178,7 +178,7 @@ exports[` should display the Header component 1`] = ` } @media (min-width:768px) { - .emotion-74 { + .emotion-77 { min-width: 400px; max-width: 800px; margin: auto; @@ -190,12 +190,12 @@ exports[` should display the Header component 1`] = ` } @media (min-width:1024px) { - .emotion-74 { + .emotion-77 { max-width: 1240px; } } -.emotion-65 { +.emotion-68 { -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -204,7 +204,7 @@ exports[` should display the Header component 1`] = ` } @media (min-width:768px) { - .emotion-65 { + .emotion-68 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -217,12 +217,12 @@ exports[` should display the Header component 1`] = ` padding: 0 5px; } -.emotion-63 { +.emotion-66 { position: relative; height: 18px; } -.emotion-63:hover .emotion-62 { +.emotion-66:hover .emotion-65 { visibility: visible; } @@ -235,7 +235,7 @@ exports[` should display the Header component 1`] = ` padding: 0 10px; } -.emotion-61 { +.emotion-64 { position: absolute; background: #d3dddd; padding: 1px 4px; @@ -253,7 +253,7 @@ exports[` should display the Header component 1`] = ` top: -2px; } -.emotion-61:before { +.emotion-64:before { content: ''; position: absolute; top: 29%; @@ -275,7 +275,7 @@ exports[` should display the Header component 1`] = ` padding: 0 5px; } -.emotion-72 { +.emotion-75 { -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -288,7 +288,7 @@ exports[` should display the Header component 1`] = ` } @media (min-width:768px) { - .emotion-72 { + .emotion-75 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -296,7 +296,7 @@ exports[` should display the Header component 1`] = ` } } -.emotion-70 { +.emotion-73 { box-sizing: initial; display: inline-block; cursor: pointer; @@ -305,7 +305,7 @@ exports[` should display the Header component 1`] = ` padding: 0 5px; } -.emotion-67 { +.emotion-70 { width: 100%; height: auto; } @@ -358,7 +358,7 @@ exports[` should display the Header component 1`] = ` }
should display the Header component 1`] = `
Made with should display the Header component 1`] = ` on should display the Header component 1`] = ` /> should display the Header component 1`] = ` xlink:href="[object Object]#austria" /> + + + Germany + + +
Powered by Verdaccio @@ -726,7 +736,7 @@ exports[` should display the Header component 1`] = ` `; exports[` should display the Loading component at the beginning 1`] = ` -.emotion-68 { +.emotion-71 { background-color: #fff; } @@ -878,7 +888,7 @@ exports[` should display the Loading component at the beginning 1`] = ` } } -.emotion-66 { +.emotion-69 { background: #f9f9f9; border-top: 1px solid #e3e3e3; color: #999999; @@ -886,7 +896,7 @@ exports[` should display the Loading component at the beginning 1`] = ` padding: 20px; } -.emotion-64 { +.emotion-67 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -903,7 +913,7 @@ exports[` should display the Loading component at the beginning 1`] = ` } @media (min-width:768px) { - .emotion-64 { + .emotion-67 { min-width: 400px; max-width: 800px; margin: auto; @@ -915,12 +925,12 @@ exports[` should display the Loading component at the beginning 1`] = ` } @media (min-width:1024px) { - .emotion-64 { + .emotion-67 { max-width: 1240px; } } -.emotion-55 { +.emotion-58 { -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -929,7 +939,7 @@ exports[` should display the Loading component at the beginning 1`] = ` } @media (min-width:768px) { - .emotion-55 { + .emotion-58 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -942,12 +952,12 @@ exports[` should display the Loading component at the beginning 1`] = ` padding: 0 5px; } -.emotion-53 { +.emotion-56 { position: relative; height: 18px; } -.emotion-53:hover .emotion-52 { +.emotion-56:hover .emotion-55 { visibility: visible; } @@ -960,7 +970,7 @@ exports[` should display the Loading component at the beginning 1`] = ` padding: 0 10px; } -.emotion-51 { +.emotion-54 { position: absolute; background: #d3dddd; padding: 1px 4px; @@ -978,7 +988,7 @@ exports[` should display the Loading component at the beginning 1`] = ` top: -2px; } -.emotion-51:before { +.emotion-54:before { content: ''; position: absolute; top: 29%; @@ -1000,7 +1010,7 @@ exports[` should display the Loading component at the beginning 1`] = ` padding: 0 5px; } -.emotion-62 { +.emotion-65 { -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -1013,7 +1023,7 @@ exports[` should display the Loading component at the beginning 1`] = ` } @media (min-width:768px) { - .emotion-62 { + .emotion-65 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -1021,7 +1031,7 @@ exports[` should display the Loading component at the beginning 1`] = ` } } -.emotion-60 { +.emotion-63 { box-sizing: initial; display: inline-block; cursor: pointer; @@ -1030,13 +1040,13 @@ exports[` should display the Loading component at the beginning 1`] = ` padding: 0 5px; } -.emotion-57 { +.emotion-60 { width: 100%; height: auto; }