Skip to content

Commit

Permalink
Reformat image tags
Browse files Browse the repository at this point in the history
  • Loading branch information
britneywwc committed Jul 11, 2024
1 parent e408d0c commit a7d46bc
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 66 deletions.
98 changes: 42 additions & 56 deletions templates/robotics/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ <h2 class="p-muted-heading">Building the future with</h2>
height="52",
hi_def=True,
loading="lazy",
attrs={"class": "p-logo-section__logo"},) | safe
attrs={"class": "p-logo-section__logo"}) | safe
}}
</div>
<div class="p-logo-section__item">
Expand All @@ -94,7 +94,7 @@ <h2 class="p-muted-heading">Building the future with</h2>
height="29",
hi_def=True,
loading="lazy",
attrs={"class": "p-logo-section__logo"},) | safe
attrs={"class": "p-logo-section__logo"}) | safe
}}
</div>
<div class="p-logo-section__item">
Expand All @@ -104,7 +104,7 @@ <h2 class="p-muted-heading">Building the future with</h2>
height="25",
hi_def=True,
loading="lazy",
attrs={"class": "p-logo-section__logo"},) | safe
attrs={"class": "p-logo-section__logo"}) | safe
}}
</div>

Expand All @@ -115,7 +115,7 @@ <h2 class="p-muted-heading">Building the future with</h2>
height="37",
hi_def=True,
loading="lazy",
attrs={"class": "p-logo-section__logo"},) | safe
attrs={"class": "p-logo-section__logo"}) | safe
}}
</div>
<div class="p-logo-section__item">
Expand All @@ -125,7 +125,7 @@ <h2 class="p-muted-heading">Building the future with</h2>
height="60",
hi_def=True,
loading="lazy",
attrs={"class": "p-logo-section__logo"},) | safe
attrs={"class": "p-logo-section__logo"}) | safe
}}
</div>
<div class="p-logo-section__item">
Expand All @@ -135,7 +135,7 @@ <h2 class="p-muted-heading">Building the future with</h2>
height="44",
hi_def=True,
loading="lazy",
attrs={"class": "p-logo-section__logo"},) | safe
attrs={"class": "p-logo-section__logo"}) | safe
}}

</div>
Expand All @@ -146,33 +146,27 @@ <h2 class="p-muted-heading">Building the future with</h2>
height="52",
hi_def=True,
loading="lazy",
attrs={"class": "p-logo-section__logo"},) | safe
attrs={"class": "p-logo-section__logo"}) | safe
}}
</div>
<div class="p-logo-section__item">
{{
image (
url="https://assets.ubuntu.com/v1/255a3171-abb-logo.svg",
alt="ABB",
width="115",
height="45",
hi_def=True,
loading="lazy",
attrs={"class": "p-logo-section__logo"},
) | safe
{{ image(url="https://assets.ubuntu.com/v1/255a3171-abb-logo.svg",
alt="ABB",
width="115",
height="45",
hi_def=True,
loading="lazy",
attrs={"class": "p-logo-section__logo"}) | safe
}}
</div>
<div class="p-logo-section__item">
{{
image (
url="https://assets.ubuntu.com/v1/8da00274-open-robotics.png",
alt="Open robotics",
width="144",
height="41",
hi_def=True,
loading="lazy",
attrs={"class": "p-logo-section__logo"},
) | safe
{{ image(url="https://assets.ubuntu.com/v1/8da00274-open-robotics.png",
alt="Open robotics",
width="144",
height="41",
hi_def=True,
loading="lazy",
attrs={"class": "p-logo-section__logo"}) | safe
}}
</div>

Expand All @@ -189,14 +183,12 @@ <h2 class="p-muted-heading">Building the future with</h2>
<h2 class="u-sv3">Bringing Ubuntu's worldwide infrastructure to your robot</h2>

<div class="u-hide--large">
{{ image (
url="https://assets.ubuntu.com/v1/00524b9e-Right-OS-Diagram-Mobile.png",
alt="",
width="1000",
height="2013",
hi_def=True,
loading="lazy"
) | safe
{{ image(url="https://assets.ubuntu.com/v1/00524b9e-Right-OS-Diagram-Mobile.png",
alt="",
width="1000",
height="2013",
hi_def=True,
loading="lazy") | safe
}}
</div>

Expand Down Expand Up @@ -371,15 +363,12 @@ <h2>Robotics software updates</h2>
</p>
</div>
<div class="col-6 u-hide--small u-hide--medium u-align--center u-vertically-center">
{{
image (
url="https://assets.ubuntu.com/v1/c711b814-reliable_updates.svg",
alt="",
width="426",
height="250",
hi_def=True,
loading="lazy"
) | safe
{{ image(url="https://assets.ubuntu.com/v1/c711b814-reliable_updates.svg",
alt="",
width="426",
height="250",
hi_def=True,
loading="lazy") | safe
}}
</div>
</div>
Expand All @@ -392,7 +381,7 @@ <h2>Robotics software updates</h2>
alt="",
height="252",
width="250",
hi_def=True,) | safe
hi_def=True) | safe
}}
</div>
<div class="col-6">
Expand Down Expand Up @@ -476,16 +465,13 @@ <h3 class="p-heading-icon__title p-heading--4">Video and Webinar</h3>
<div class="col-4 p-divider__block">
<div class="p-heading-icon--muted">
<div class="p-heading-icon__header">
{{
image (
url="https://assets.ubuntu.com/v1/e2315503-tutorial.svg",
alt="",
width="92",
height="60",
hi_def=True,
attrs={"class": "p-heading-icon", "style": "margin-top: 0.3rem;"},
loading="lazy"
) | safe
{{ image(url="https://assets.ubuntu.com/v1/e2315503-tutorial.svg",
alt="",
width="92",
height="60",
hi_def=True,
attrs={"class": "p-heading-icon", "style": "margin-top: 0.3rem;"},
loading="lazy") | safe
}}
<h3 class="p-heading-icon__title p-heading--4">Tutorial</h3>
</div>
Expand Down Expand Up @@ -662,7 +648,7 @@ <h4 class="p-card__title">Dragonboard</h4>
alt="",
width="280",
height="280",
hi_def=True,) | safe
hi_def=True) | safe
}}
</div>
<div class="col-8 u-vertically-center">
Expand Down
20 changes: 10 additions & 10 deletions templates/robotics/what-is-ros.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ <h1>What is ROS</h1>
height="273",
width="277",
hi_def=True,
loading="auto",) | safe
loading="auto") | safe
}}
</div>
</div>
Expand All @@ -68,7 +68,7 @@ <h2>What is ROS?</h2>
width="214",
hi_def=True,
attrs={"class": ""},
loading="lazy",) | safe
loading="lazy") | safe
}}
</div>
</div>
Expand All @@ -89,7 +89,7 @@ <h2>What is ROS?</h2>
width="50",
hi_def=True,
attrs={"class": ""},
loading="lazy",) | safe
loading="lazy") | safe
}}
<h2>What is ROS 2?</h2>
<p>
Expand Down Expand Up @@ -127,7 +127,7 @@ <h2>Who uses ROS?</h2>
width="90",
hi_def=True,
attrs={"class": "p-logo-section__logo"},
loading="lazy",) | safe
loading="lazy") | safe
}}
</div>
<div class="p-logo-section__item">
Expand All @@ -137,7 +137,7 @@ <h2>Who uses ROS?</h2>
width="80",
hi_def=True,
attrs={"class": "p-logo-section__logo"},
loading="lazy",) | safe
loading="lazy") | safe
}}
</div>
<div class="p-logo-section__item">
Expand All @@ -147,7 +147,7 @@ <h2>Who uses ROS?</h2>
width="100",
hi_def=True,
attrs={"class": "p-logo-section__logo"},
loading="lazy",) | safe
loading="lazy") | safe
}}
</div>
<div class="p-logo-section__item">
Expand All @@ -157,7 +157,7 @@ <h2>Who uses ROS?</h2>
width="100",
hi_def=True,
attrs={"class": "p-logo-section__logo"},
loading="lazy",) | safe
loading="lazy") | safe
}}
</div>
<div class="p-logo-section__item">
Expand All @@ -167,7 +167,7 @@ <h2>Who uses ROS?</h2>
width="100",
hi_def=True,
attrs={"class": "p-logo-section__logo"},
loading="lazy",) | safe
loading="lazy") | safe
}}
</div>
<div class="p-logo-section__item">
Expand All @@ -177,7 +177,7 @@ <h2>Who uses ROS?</h2>
width="100",
hi_def=True,
attrs={"class": "p-logo-section__logo"},
loading="lazy",) | safe
loading="lazy") | safe
}}
</div>
</div>
Expand Down Expand Up @@ -242,7 +242,7 @@ <h2>Join the community</h2>
width="260",
hi_def=True,
attrs={"class": ""},
loading="lazy",) | safe
loading="lazy") | safe
}}
</div>
</div>
Expand Down

0 comments on commit a7d46bc

Please sign in to comment.