Skip to content

Commit

Permalink
replace illustration with photo
Browse files Browse the repository at this point in the history
- align with the new brand

See #537
  • Loading branch information
jimmac committed Jun 3, 2022
1 parent 0a1cde6 commit 69d1be7
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 25 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@
/.cache
.DS_Store
/Gemfile.lock
.jekyll-cache
.gem
_site
Binary file removed source/img/banner.svgz
Binary file not shown.
Binary file added source/img/container.webp
Binary file not shown.
16 changes: 4 additions & 12 deletions source/index.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,12 @@ title: Flatpak—the future of application distribution
description: The days of chasing multiple Linux distributions are over. Standalone apps for Linux are here!
---

%section.imagebanner.centered
%section.imagebanner
.container
.row.largegap
.col-lg-12
.col-lg-10.col-lg-offset-1
%h1.section-heading
The future of
%span.emphasize apps on Linux
%p Flatpak is a next-generation technology for building and distributing desktop applications on Linux

%section.illustration.centered
.container
.row
.col-lg-8.col-lg-offset-2
= image_tag '/img/delivery_truck2.png'
The future of apps on Linux

%section#appsplash.bg-secondary
.container
Expand Down Expand Up @@ -44,7 +36,7 @@ description: The days of chasing multiple Linux distributions are over. Standalo
.container
.row.centered
.col-sm-10.col-sm-offset-1
%iframe{'width'=>'100%','height'=>'440', 'src'=>'https://www.youtube.com/embed/jDVCITRWGgs', 'frameborder'=>'0', 'allowfullscreen'=>'true'}
%iframe.full{'width'=>'100%', 'src'=>'https://www.youtube.com/embed/jDVCITRWGgs', 'frameborder'=>'0', 'allowfullscreen'=>'true'}
=link_to 'Flatpak 1.0', 'https://youtu.be/jDVCITRWGgs'
.row.centered
.col-sm-6.col-sm-offset-3
Expand Down
19 changes: 6 additions & 13 deletions source/stylesheets/site.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -233,29 +233,22 @@ section {
}

.imagebanner {
background: url(/img/banner.svgz) no-repeat center bottom;
background: url(/img/container.webp) no-repeat center bottom;
@media (prefers-color-scheme: dark) {
filter: brightness(70%);
}
background-size: cover;
color: rgba(0, 0, 0, 0.5);
min-height: 500px;
color: #fff;
min-height: 50vh;
z-index: 1;
font-weight: 800;
font-variation-settings: 'wght' 800;
p {
max-width: 30em;
margin: auto;
}
}

.illustration {
margin-top: -330px;
margin-bottom: 0;
z-index: 2; /* under the headline; issue #326 */
@media (max-width: 420px) {
display: none;
}
}

aside {
padding: 50px 0;
}
Expand Down Expand Up @@ -437,7 +430,6 @@ pre {

.section-heading {
margin-top: 0;
text-transform: capitalize;

.emphasize {
color: $key_color;
Expand Down Expand Up @@ -655,6 +647,7 @@ iframe.full {
display: block;
min-height: 400px;
width: 100%;
aspect-ratio: 16 / 9;
}

body {
Expand Down

0 comments on commit 69d1be7

Please sign in to comment.