Skip to content

Commit

Permalink
Improve layout and spacing of logo sections (wintercg#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucacasonato authored May 1, 2022
1 parent 25c8e7d commit 02815f0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
14 changes: 7 additions & 7 deletions main.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ const RUNTIME_LOGOS = [
{
src: "/static/logos/cloudflare-workers.svg",
href: "https://workers.cloudflare.com/",
name: "Cloudflare",
name: "Cloudflare Workers",
},
{
src: "/static/logos/deno.svg",
Expand All @@ -324,7 +324,7 @@ const RUNTIME_LOGOS = [
* href: "https://nodejs.org/",
* name: "Node.js",
* },
**/
*/
];

const PARTNER_LOGOS = [
Expand All @@ -343,8 +343,8 @@ const PARTNER_LOGOS = [

function Logos() {
return (
<div class="mt-16">
<ul class="mt-4 flex justify-between sm:justify-evenly">
<div>
<ul class="mt-16 flex justify-evenly">
{RUNTIME_LOGOS.map(({ src, href, name }) => (
<a href={href}>
<img
Expand All @@ -356,15 +356,15 @@ function Logos() {
</a>
))}
</ul>
<p>The work of the WinterCG is sponsored, in part, by:</p>
<ul class="mt-4 flex justify-between sm:justify-evenly">
<p class="mt-16">The work of the WinterCG is sponsored, in part, by:</p>
<ul class="mt-8 flex justify-evenly">
{PARTNER_LOGOS.map(({ src, href, name }) => (
<a href={href}>
<img
src={src}
title={`${name} logo`}
alt={`${name} logo`}
class="h-16 sm:h-20"
class="h-12 sm:h-16"
/>
</a>
))}
Expand Down
3 changes: 1 addition & 2 deletions static/logos/cloudflare-workers.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 02815f0

Please sign in to comment.