Skip to content

Commit

Permalink
optimize images
Browse files Browse the repository at this point in the history
  • Loading branch information
rohanharikr committed Nov 22, 2023
1 parent 1885553 commit 342dad4
Show file tree
Hide file tree
Showing 11 changed files with 10 additions and 10 deletions.
Binary file removed src/assets/corporate-member.png
Binary file not shown.
Binary file added src/assets/corporate-member.webp
Binary file not shown.
Binary file removed src/assets/dev.png
Binary file not shown.
Binary file added src/assets/dev.webp
Binary file not shown.
Binary file removed src/assets/dick.png
Binary file not shown.
Binary file added src/assets/dick.webp
Binary file not shown.
Binary file removed src/assets/news.png
Binary file not shown.
Binary file added src/assets/news.webp
Binary file not shown.
Binary file removed src/assets/user.png
Binary file not shown.
Binary file added src/assets/user.webp
Binary file not shown.
20 changes: 10 additions & 10 deletions src/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<html>
<html lang="en">

<head>
<title>Hell&#333;</title>
Expand Down Expand Up @@ -409,7 +409,7 @@
<div
class="container max-w-5xl mx-auto px-4 py-8 flex flex-col md:flex-row space-x-0 space-y-10 md:space-y-0 md:space-x-10">
<div class="w-full md:w-1/3">
<img src="./assets/user.png" alt="User" style="filter: invert(1);" class="h-10 opacity-90">
<img src="./assets/user.webp" alt="User" width="40" height="40" style="filter: invert(1);" class="h-10 opacity-90">
<h3 class="font-semibold text-xl mt-4">Hellō for Users</h3>
<p class="mt-2 opacity-75 md:h-28">Login how you want without being tracked. Verify your identity
once and conveniently prove who you are when and where you want.</p>
Expand Down Expand Up @@ -483,7 +483,7 @@ <h3 class="font-semibold text-xl mt-4">Hellō for Users</h3>
</div>
</div>
<div class="w-full md:w-1/3">
<img src="./assets/dev.png" alt="Developer" style="filter: invert(1);" class="h-10 opacity-90">
<img src="./assets/dev.webp" width="40" height="40" alt="Developer" style="filter: invert(1);" class="h-10 opacity-90">
<h3 class="font-semibold text-lg mt-4">Hellō for Developers</h3>
<p class="mt-2 opacity-75 md:h-28">A single OpenID Connect integration provides login with all
social providers and user registration with verified email and phone.</p>
Expand Down Expand Up @@ -553,7 +553,7 @@ <h3 class="font-semibold text-lg mt-4">Hellō for Developers</h3>
</div>
</div>
<div class="w-full md:w-1/3">
<img src="./assets/corporate-member.png" alt="Developer" style="filter: invert(1);"
<img src="./assets/corporate-member.webp" width="40" height="40" alt="Developer" style="filter: invert(1);"
class="h-10 opacity-90">
<h3 class="font-semibold text-lg mt-4">Hellō for Corporate Members</h3>
<p class="mt-2 opacity-75 md:h-28">Join other industry leaders in guiding the transformation of
Expand Down Expand Up @@ -610,7 +610,7 @@ <h3 class="font-semibold text-lg mt-4">Hellō for Corporate Members</h3>
<div class="container max-w-5xl mx-auto relative">
<picture class="phone-img absolute right-0 -mt-16 md:-mt-16">
<source srcset="https://cdn.hello.coop/images/mockup-light.png" media="(prefers-color-scheme: dark)">
<img src="https://cdn.hello.coop/images/mockup.png" alt="Hellō mockup">
<img src="https://cdn.hello.coop/images/mockup.png" alt="Hellō mockup" width="480" height="546">
</picture>
</div>
</div>
Expand All @@ -631,7 +631,7 @@ <h1 class="text-xl md:text-4xl w-full font-bold">
<figure id="founder-message">
<blockquote>
<div class="flex flex-col md:flex-row items-start">
<img src="./assets/dick.png" alt="dick hardt" class="w-32 md:w-44 object-contain">
<img src="./assets/dick.webp" alt="dick hardt" width="176" height="176" class="w-32 md:w-44 object-contain">
<div>
<p class="text-xl mt-6 md:mt-0 md:ml-10">"My <a
href="https://youtu.be/JzuCE7lDYrM" target="_blank"
Expand Down Expand Up @@ -675,7 +675,7 @@ <h1 class="text-xl md:text-4xl w-full font-bold">

<section id="user-faqs" class="container max-w-5xl mx-auto pt-20 md:pt-24 px-4">
<div class="flex items-start xl:items-center flex-col xl:flex-row" data-aos="fade-up">
<img src="./assets/user.png" alt="User" class="h-16 invert opacity-90 xl:-ml-20">
<img src="./assets/user.webp" alt="User" width="64" height="64" class="h-16 invert opacity-90 xl:-ml-20">
<h1 class="text-2xl md:text-4xl font-bold mt-4 xl:mt-0 xl:ml-4">User FAQs</h1>
</div>
<ol class="mt-2 text-xl font-bold space-y-4 list-inside">
Expand Down Expand Up @@ -761,7 +761,7 @@ <h3 class="italic inline font-semibold">What if I don't want Hellō to have my d

<section id="corporate-faqs" class="container max-w-5xl mx-auto pt-20 md:pt-24 px-4">
<div class="flex items-start xl:items-center flex-col xl:flex-row" data-aos="fade-up">
<img src="./assets/corporate-member.png" alt="User" class="h-16 invert opacity-90 xl:-ml-20">
<img src="./assets/corporate-member.webp" alt="User" width="64" height="64" class="h-16 invert opacity-90 xl:-ml-20">
<h1 class="text-2xl md:text-4xl font-bold mt-4 xl:mt-0 xl:ml-4">Corporate Member FAQs</h1>
</div>
<ol class="mt-6 text-xl font-bold space-y-4 list-inside">
Expand Down Expand Up @@ -827,7 +827,7 @@ <h3 class="italic inline font-semibold">What types of organizations do you expec

<section id="news" class="container max-w-5xl mx-auto px-4 pt-20 pb-28">
<div class="flex items-start xl:items-center flex-col xl:flex-row" data-aos="fade-up">
<img src="./assets/news.png" alt="User" class="h-16 invert opacity-90 xl:-ml-20">
<img src="./assets/news.webp" width="64" height="64" alt="User" class="h-16 invert opacity-90 xl:-ml-20">
<h1 class="text-2xl md:text-4xl font-bold mt-4 xl:mt-0 xl:ml-4">News</h1>
</div>
<ul id="posts" class="mt-6 text-xl font-bold space-y-10 list-inside">
Expand Down Expand Up @@ -879,7 +879,7 @@ <h3 class="text-xl font-semibold text-center mb-6">Interested in talking to othe
const li = `
<li data-aos="fade-up">
<a href="${url}" target="_blank" class="post group">
<img src="${image}"/>
<img src="${image}" width="290" height="164" />
<div class="py-2">
<span class="text-sm font-normal opacity-70">${date}</span>
<h3 class="group-hover:underline my-1">
Expand Down

0 comments on commit 342dad4

Please sign in to comment.