mirror of
https://github.com/dialect-app/website.git
synced 2025-06-18 20:36:25 +00:00
Add mobile version screenshots
This commit is contained in:
parent
e0eee53c67
commit
e034a9b239
4 changed files with 3 additions and 5 deletions
|
@ -6,11 +6,7 @@
|
|||
text-align: center;
|
||||
|
||||
@media (max-width: 768px) {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
min-height: 80vh;
|
||||
padding: 96px 0;
|
||||
padding: 48px 0 72px 0;
|
||||
}
|
||||
|
||||
.hero-text {
|
||||
|
|
BIN
content/dialect-mobile-dark.png
Normal file
BIN
content/dialect-mobile-dark.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 19 KiB |
BIN
content/dialect-mobile.png
Normal file
BIN
content/dialect-mobile.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 20 KiB |
|
@ -5,6 +5,8 @@
|
|||
<h2 class="hero-text" id="heroText">{{ index .Site.Data.hero 0 }}</h2>
|
||||
|
||||
<picture class="screenshot">
|
||||
<source srcset="dialect-mobile-dark.png" media="(max-width: 480px) and (prefers-color-scheme: dark)">
|
||||
<source srcset="dialect-mobile.png" media="(max-width: 480px)">
|
||||
<source srcset="dialect-dark.png" media="(prefers-color-scheme: dark)">
|
||||
<img src="dialect.png" alt="Dialect Window">
|
||||
</picture>
|
||||
|
|
Loading…
Add table
Reference in a new issue