Skip to content

Commit

Permalink
feat(about): add open source screenshot
Browse files Browse the repository at this point in the history
  • Loading branch information
AmitMY committed Oct 28, 2024
1 parent b8f6c9f commit 3468b88
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,12 @@ <h2>Why use sign.mt?</h2>
</div>
<div class="graphic">
@switch (slide.id) { @case ('real-time') {
<img [src]="iOSScreenshot" aria-labelledby="translate-signed-spoken" class="screenshot" />
<img [src]="iOSScreenshot" alt="iOS Application Screenshot" class="phone-screenshot" />
} @case ('multilingual') {
<app-lazy-map></app-lazy-map>
} @case ('appearance') { } @case ('open-source') { } @case ('offline') { } }
} @case ('appearance') { } @case ('open-source') {
<img src="assets/promotional/about/github-hero.webp" alt="GitHub Screenshot" class="github-screenshot" />
} @case ('offline') { } }
</div>
</ion-card-content>
</ion-card>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ ion-card-content {

.graphic {
height: 100%;
display: flex;
text-align: center;
flex-shrink: 0;
flex-grow: 1;
Expand All @@ -96,10 +97,21 @@ ion-card-content {
width: 100%;
}

.screenshot {
max-width: 300px;
.phone-screenshot {
max-width: calc(100% - 64px);
margin: auto;
@media #{$breakpoint-gt-sm} {
max-width: 350px;
margin-top: 64px;
margin-inline-end: 32px;
}
}

.github-screenshot {
margin: 32px;
max-width: calc(100% - 64px);
@media #{$breakpoint-gt-sm} {
margin: 64px 32px 0;
margin: 64px;
}
}
}
Expand Down
Binary file added src/assets/promotional/about/github-hero.webp
Binary file not shown.

0 comments on commit 3468b88

Please sign in to comment.