Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Homepage enrichment #630

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Homepage enrichment #630

wants to merge 5 commits into from

Conversation

lyubomir-popov
Copy link

Done

enrich homepage - phoot, isometric illustration
driveby responsive fixes

QA

  • Check out this feature branch
  • Run the site using the command ./run serve
  • View the site locally in your web browser at: http://0.0.0.0:8027/
  • Run through the following QA steps
  • [List additional steps to QA the new features or prove the bug has been resolved]

Issue / Card

Fixes #

Screenshots

[if relevant, include a screenshot]

@webteam-app
Copy link

Demo starting at https://microk8s-io-630.demos.haus

Copy link

codecov bot commented Nov 7, 2023

Codecov Report

Merging #630 (d1b0696) into main (bdabfef) will not change coverage.
Report is 2 commits behind head on main.
The diff coverage is n/a.

❗ Current head d1b0696 differs from pull request most recent head 2fae598. Consider uploading reports for the commit 2fae598 to get more accurate results

@@           Coverage Diff           @@
##             main     #630   +/-   ##
=======================================
  Coverage   83.78%   83.78%           
=======================================
  Files           2        2           
  Lines          74       74           
=======================================
  Hits           62       62           
  Misses         12       12           
Flag Coverage Δ
python 83.78% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

@bartaz
Copy link
Member

bartaz commented Nov 7, 2023

@lyubomir-popov is this expected on medium screen, to have 1/5 columns split, with OS logo in 1 column and instructions in 5?

image

@bartaz
Copy link
Member

bartaz commented Nov 7, 2023

The embedded ascinema seems very large of desktop screen, takes over whole view:

image

@lyubomir-popov
Copy link
Author

thanks @bartaz well spotted. I fixed the 1 col thing on medium.

Ascii cinema is fine I think, also out of scope on this pr.

.p-image-wrapper {
margin-top: $spv--medium;

&.is-partner {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is-partner doesn't seem used anywhere.

@@ -108,7 +108,7 @@
}
}

.p-stepped-list__item:first-child {
.p-list__item:first-child {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why was this changed? Doesn't it break something that this style was doing? I think it was supposed to hide the line before first element in stepped list? Is this needed on p-list__item but not p-stepped-list__item?

@lyubomir-popov
Copy link
Author

@akbarkz these still needs a final review

@lyubomir-popov
Copy link
Author

@akbarkz pinging again here, can someone please review? very small enrichment pr that is getting stale

<p>Leverage the simplicity, robustness and security of MicroK8s as a full embedded Kubernetes platform. Build containerised solutions with a system that doesn't require your attention. Focus on your customers, not the infrastructure.</p>
<div class="col-9 col-start-large-4 col-medium-6">
<div class="p-section--shallow">
<img src="https://assets.ubuntu.com/v1/6bb2f8e7-stocksy-woman-working-ar2-1.jpg" alt="">
Copy link
Contributor

@carkod carkod Nov 27, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you use image template whenever possible? This should improve page loading times especially for large images


{{ image (
  url="https://assets.ubuntu.com/v1/6bb2f8e7-stocksy-woman-working-ar2-1.jpg",
  alt="",
  width="2048",
  height="1024",
  hi_def=True,
  loading="auto"
  ) | safe
}}

You can generate one clicking
Screenshot 2023-11-27 at 14 48 48

<div class="p-strip is-deep u-align--center u-vertically-center" style="background: rgba(0, 0, 0, 0.03);">
<img src="https://assets.ubuntu.com/v1/e51438b1-Kubernetes-dedicated+platforms%201.svg" alt="" style="height: 276px;"/>
<div class="" style="background: rgba(0, 0, 0, 0.03);">
<img src="https://assets.ubuntu.com/v1/4a0c1d6d-Artboard%20150.svg" alt=""/>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Image template please. Unless you have very specific styling, it should work.

<img src="https://assets.ubuntu.com/v1/6d9cf05a-Linux-var-width.svg" height="144" alt="Linux">
<div class="row">
<div class="col-3 u-hide--medium u-hide--small p-image-wrapper">
<img src="https://assets.ubuntu.com/v1/310eaa18-Linux-var-width%201.svg" height="48" alt="Linux">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Image template if possible.

<img src="https://assets.ubuntu.com/v1/11ecbd2d-2018-logo-windows.svg" style="height: 145px;" alt="Windows">
<div class="row">
<div class="col-3 u-hide--medium u-hide--small p-image-wrapper">
<img src="https://assets.ubuntu.com/v1/2c5b3fa9-windows-logo.svg" style="height: 48px;" alt="Windows">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Image template. For styling attribute you could do:


{{ image (
  url="https://assets.ubuntu.com/v1/2c5b3fa9-windows-logo.svg",
  alt="Windows",
  width="316",
  height="72",
  hi_def=True,
  loading="auto",
  attrs={"style": "height: 48px;"}
  ) | safe
}}

Or of course you could use a classname and add styles to a stylesheet the same way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants