-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
198 additions
and
118 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
.change-locale { | ||
margin-top: 10px; | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: center; | ||
align-items: center; | ||
padding: 20px; | ||
box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16); | ||
border-radius: 6px; | ||
} | ||
|
||
.change-locale h2 { | ||
margin-bottom: 20px; | ||
font-weight: bold; | ||
text-align: center; | ||
} | ||
|
||
.change-locale .names { | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
} | ||
|
||
.change-locale .names button.active { | ||
background-color: #327335; | ||
color: #fff; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,52 +1,52 @@ | ||
header { | ||
background-color: #006fb3; | ||
} | ||
|
||
header .header-inner { | ||
display: grid; | ||
grid-template-columns: 1fr auto; | ||
.header { | ||
display: flex; | ||
align-items: center; | ||
justify-content: space-between; | ||
padding: 10px; | ||
max-width: 800px; | ||
margin: 0 auto; | ||
} | ||
|
||
header a { | ||
color: white; | ||
text-decoration: none; | ||
padding: 4px 8px; | ||
margin-right: 5px; | ||
border-radius: 4px; | ||
.logo { | ||
width: 160px; | ||
} | ||
|
||
header a:hover { | ||
background-color: #ffffff30; | ||
.header ul { | ||
padding: 0; | ||
margin: 0; | ||
list-style: none; | ||
} | ||
|
||
header .active { | ||
background-color: #ffffff15; | ||
.header li { | ||
margin: 0; | ||
padding: 0; | ||
display: inline-block; | ||
} | ||
|
||
.change-locale { | ||
padding: 8px; | ||
color: white; | ||
display: flex; | ||
align-items: center; | ||
gap: 10px; | ||
.header li a { | ||
font-weight: 700; | ||
color: #000000; | ||
display: inline-block; | ||
padding: 0 0.5em; | ||
text-decoration: none; | ||
} | ||
|
||
.change-locale .button { | ||
color: white; | ||
text-decoration: none; | ||
padding: 4px 8px; | ||
margin-right: 5px; | ||
border-radius: 4px; | ||
cursor: pointer; | ||
.header li a:hover { | ||
color: #3e8e41; | ||
} | ||
|
||
.change-locale .button:hover { | ||
background-color: #ffffff30; | ||
.header li a.active { | ||
color: #327335; | ||
} | ||
|
||
.change-locale .active { | ||
background-color: #ffffff15; | ||
@media (min-width: 768px) { | ||
.header { | ||
padding: 20px 70px; | ||
} | ||
|
||
.logo { | ||
width: 200px; | ||
} | ||
|
||
.header li a { | ||
padding: 0 1em; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
export const SpeakLogo = () => ( | ||
<svg viewBox="0 0 500 100" xmlns="http://www.w3.org/2000/svg"> | ||
<defs> | ||
<linearGradient y2="0%" x2="100%" y1="0%" x1="0%" id="gradient"> | ||
<stop stop-color="#00AEEF" offset="0%" /> | ||
<stop stop-color="#22B573" offset="25%" /> | ||
<stop stop-color="#FDB813" offset="50%" /> | ||
<stop stop-color="#F37021" offset="75%" /> | ||
<stop stop-color="#ED1C24" offset="100%" /> | ||
</linearGradient> | ||
</defs> | ||
<g> | ||
<text id="svg_1" fill="#000" font-weight="bold" font-size="70" y="70" x="90">Qwik</text> | ||
<text id="svg_2" font-weight="bold" font-size="70" y="70" x="260"> | ||
<tspan id="svg_3" fill="url(#gradient)">Speak</tspan> | ||
</text> | ||
<path id="svg_4" fill="url(#gradient)" d="m3,41c0,-21.5 17.5,-39 39,-39s39,17.5 39,39c0,14.4 -8.2,27.1 -20.1,33.4c0.2,1.1 0.4,2.2 0.4,3.5c0,10.3 -8.3,18.6 -18.6,18.6s-18.6,-8.3 -18.6,-18.6c0,-1.3 0.1,-2.6 0.4,-3.5c-13.3,-6.3 -21.5,-19 -21.5,-33.4z" /> | ||
</g> | ||
</svg> | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,58 @@ | ||
body { | ||
margin: 0; | ||
padding: 0; | ||
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', | ||
sans-serif; | ||
font-family: Arial, sans-serif; | ||
font-size: 14px; | ||
background-color: #f2f2f2; | ||
} | ||
|
||
main { | ||
padding: 10px 20px; | ||
max-width: 800px; | ||
margin: 0 auto; | ||
padding: 10px 10px 50px 10px; | ||
background-color: #fff; | ||
box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16); | ||
display: flex; | ||
flex-direction: column; | ||
border-radius: 6px; | ||
} | ||
|
||
main .content { | ||
padding: 10px; | ||
text-align: center; | ||
} | ||
|
||
button { | ||
display: inline-block; | ||
padding: 5px 10px; | ||
margin: 5px 10px; | ||
border-radius: 5px; | ||
border-width: 1px; | ||
background-color: #fff; | ||
font-size: 14px; | ||
text-decoration: none; | ||
} | ||
|
||
button:hover { | ||
background-color: #f2f2f2; | ||
cursor: pointer; | ||
} | ||
|
||
@media (min-width: 768px) { | ||
body { | ||
font-size: 16px; | ||
} | ||
|
||
main { | ||
max-width: 1000px; | ||
padding: 20px; | ||
} | ||
|
||
main .content { | ||
padding: 20px 70px; | ||
} | ||
|
||
button { | ||
display: inline-block; | ||
padding: 10px 20px; | ||
font-size: 16px; | ||
text-decoration: none; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.