Skip to content

Commit

Permalink
add a use cases carousel (#237)
Browse files Browse the repository at this point in the history
* add a carousel based on the updated state of the site after rebasing went funky in #200

* add real images and a few style tweaks

* Image reduction and optimization

* remove unused img

---------

Co-authored-by: Eric A. Meyer <[email protected]>
  • Loading branch information
bkardell and meyerweb authored Nov 19, 2024
1 parent 2ec373b commit ba79ef2
Show file tree
Hide file tree
Showing 14 changed files with 1,122 additions and 10 deletions.
Binary file added assets/img/av-production.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/infotainment.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/pointofsale.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/smart-appliance.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/smart-appliance.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/tv.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/img/use_case-digital_signage.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
128 changes: 118 additions & 10 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
sitemapPriority: 1.0
sitemapChangeFrequency: yearly
---
<script type="module" src="./js/slide-show.js"></script>

<style>

/* specific to home page */
Expand All @@ -18,6 +20,55 @@
grid-template-columns: 1fr [dash] 1px [main] auto 1px 1fr;
grid-template-rows: repeat(10,auto);
}


::part(prev-button),::part(next-button){
top: 0; height: 100%;
background-image: linear-gradient(42deg,hsl(0 80 0 / 0),40%,hsl(0 100 0 / 0.1),60%,hsl(0 80 0 / 0));
}

.use-cases {
--padding-left: 4rem;
--padding-right: 10rem;
}

.use-cases section {
padding: 2rem;
}

.use-cases {
width: 50rem;
}

.use-cases > section .spotlight > img {
display: block;
}

@media (min-width: 45rem) {
.use-cases {
width: 100%;
--padding-right: 0;
}

.use-cases > section .spotlight {
display: grid;
grid-template-columns: 1fr 1fr;
margin: 1rem;
}

.use-cases > section .spotlight > * {
align-self: start;
}

.use-cases > section .spotlight > img {
align-self: start;
grid-row: 1 / 3;
max-height: 300px;
}
}



@media (min-width: 45rem) {
main, main > .full-width {
grid-template-columns: 1fr [dash] 1px [main] minmax(30rem,var(--mainColMax)) 1px 1fr;
Expand Down Expand Up @@ -355,19 +406,76 @@ <h3><a href="/blog/2022-success-metrological.html"><img src="/assets/img/logo-me
<p><a href="/blog/2022-success-metrological.html" class="cta btn large">Read More</a></p>
</div>
</div>
</section>

<div>
<div class="spotlight">
<h2>Use Case</h2>
<h3><a href="/blog/2023-use-case-digital-signage.html">Digital Signage</a></h3>
<p>Digital signage web rendering players have many advantages and are a trend nowadays. They feature use of HTML for composing the user interface, simple and effortless provisioning and scheduling new contents to the screen from the cloud, a robust environment with an automatic crash recovery system, and more.</p>
<p><a href="/blog/2023-use-case-digital-signage.html" class="cta btn large">Learn More</a></p>
</div>
<img src="/assets/img/use_case-digital_signage.png" alt="">
</div>

</section>
<h2>Use Cases</h2>
<slide-show controls="navigation" class="use-cases">
<section>
<div class="spotlight">
<h3><a href="/blog/2023-success-digital-signage.html">Digital Signage</a></h3>
<p>Digital signage web rendering players have many advantages and are a trend nowadays. They feature use of HTML for composing the user interface, simple and effortless provisioning and scheduling new contents to the screen from the cloud, a robust environment with an automatic crash recovery system, and more.</p>
<!-- p><a href="/blog/2023-success-digital-signage.html" class="cta btn large">Learn More</a></p -->
<img height="250" src="/assets/img/use_case-digital_signage.png" alt="">
</div>
</section>
<section>
<div class="spotlight">
<h3>Point of Sale</h3>
<p>Just as the web helps billions of online users make purchases every day, embedded browsers can serve as the basis for building the point of sale systems used by brick and mortar merchants.</p>
<img height="250" src="/assets/img/pointofsale.jpg" alt="">
</div>
</div>
</section>
<section>
<div class="spotlight">
<h3>Infotainment Systems</h3>
<p>The web’s ability to create interactive interfaces and stream media make embedded browsers an excellent choice for building the infotainment systems in automobiles, airplanes and trains.</p>
<img height="400" src="/assets/img/infotainment.jpg" alt="">
</div>
</section>
<section>
<div class="spotlight">
<h3>Smart TVs and set-top-boxes</h3>
<p>Television has long used embedded browsers in many ways, from video playback to creating the guides and interactive menus. The Web, with its natural multimedia-related capabilities, is a natural fit for consuming both traditional TV-based content as well as on demand content from industry-leading streaming services.</p>
<img height="250" src="https://www.igalia.com/assets/i/pe-industries/mini-tv.jpg" alt="">
</div>
</section>
<section>
<div class="spotlight">
<h3 class="usecase">Home appliances</h3>
<p>Embedded browsers are increasingly used in home appliances of all kinds: From providing temperature information and settings for climate control systems, to browsing recipes and engaging programs on your favorite cooking machine, to controlling the distribution of sound across smart speakers around your home.</p>
<img height="250" src="/assets/img/smart-appliance.jpg" alt="">
</div>

</section>
<section>
<div class="spotlight">
<h3 class="usecase">Professional video and broadcasting</h3>
<p>Graphics overlays are everywhere nowadays in the live video broadcasting industry. Embedded browsers can be used to deliver low-latency, web-augmented video broadcasts which provides with expands the capabilities of traditional systems with and added value.</p>
<img height="250" src="/assets/img/av-production.jpg" alt="">
<!-- Photo by <a href="https://unsplash.com/@kellysikkema?utm_content=creditCopyText&utm_medium=referral&utm_source=unsplash">Kelly Sikkema</a> on <a href="https://unsplash.com/photos/woman-in-black-long-sleeve-shirt-using-black-laptop-computer-X-etICbUKec?utm_content=creditCopyText&utm_medium=referral&utm_source=unsplash">Unsplash</a> -->
</div>

</section>
</slide-show>
<section class="developers embedded dotsep">
<div>
<header class="full-bleed">
<h2><a href="/developers">Developers</a></h2>
<img src="/assets/img/illustration-resources.svg" alt="" class="decoration">
</header>
<div class="c2 dotsep">
<h3><a href="/about/architecture.html">WPE Design</a></h3>
<p>WPE is the official WebKit port for embedded platforms. WPE is uniquely designed for embedded systems in that it doesn’t depend on any user-interface toolkits such as the traditional Cocoa, GTK, etc toolkits.</p>
<img src="/assets/img/diagram-WPE-design.svg" alt="" class="decoration">
</div>
<div class="c2 dotsep text">
<h3><a href="/about/faq.html">WPE’s Frequently Asked Questions</a></h3>
<p>We’ve been collecting answers to lots of common questions we’ve been asked. If you have questions, you might find a ready answer in the FAQ.</p>
</div>
</div>
</section>

<section class="developers embedded dotsep">
<div>
Expand Down
Loading

0 comments on commit ba79ef2

Please sign in to comment.