Skip to content

Commit

Permalink
Update Clerk artwork (colinhacks#3599)
Browse files Browse the repository at this point in the history
* Add announcement

* Tweak

* Tweak

* Tweak

* Tweak

* Tweak

* Tweak

* Tweak

* Add Clerk artwork

* Tweak announcement

* Tweak announcement

* Add links

* Updates
  • Loading branch information
colinhacks authored Jun 28, 2024
1 parent 0ab9be4 commit 178f8ee
Show file tree
Hide file tree
Showing 4 changed files with 57 additions and 28 deletions.
18 changes: 7 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,18 +36,16 @@
<br/>
<br/>

<h4><strong>Announcement ✨</strong><br/>Zod has recieved the <a href="https://go.clerk.com/zod-clerk">Clerk</a> OSS Fellowship!<br/>Read the announcement post 👉 <a href="https://zod.dev/blog/clerk-fellowship">zod.dev/blog/clerk-fellowship</a></h4>
<!-- <p><strong>Announcement ✨</strong> Zod has recieved the <a href="https://go.clerk.com/zod-clerk">Clerk</a> OSS Fellowship!<br/>Read the announcement post 👉 <a href="https://go.clerk.com/zod-clerk">clerk.com/blog/zod-fellowship</a></p> -->

[![clerk announcement](https://github.com/colinhacks/zod/assets/3084745/6327cf99-8d82-4b44-a5b1-ba2b5c2ff6ad)](https://go.clerk.com/hqN4rp7)

<br/>

## Table of contents

> These docs have been translated into [Chinese](./README_ZH.md).
<!-- The full documentation is available both on the [official documentation site](https://zod.js.org/) (recommended) and in `README.md`.
#### Go to [zod.js.org](https://zod.js.org) >> -->

- [Table of contents](#table-of-contents)
- [Introduction](#introduction)
- [Sponsors](#sponsors)
Expand Down Expand Up @@ -185,9 +183,7 @@ Some other great aspects:

## Sponsors

Sponsorship at any level is appreciated and encouraged. For individual developers, consider the [Cup of Coffee tier](https://github.com/sponsors/colinhacks). If you built a paid product using Zod, consider one of the [podium tiers](https://github.com/sponsors/colinhacks).

> Clerk is currently sponsoring my full-time development of Zod! If you're building an app, give it a shot—it really is the easiest way to set up authentication and user accounts. (Seriously, their DX is unparalleled.)
Sponsorship at any level is appreciated and encouraged. If you built a paid product using Zod, consider one of the [corporate tiers](https://github.com/sponsors/colinhacks).

<br/>
<h3 align="center">Diamond</h3>
Expand All @@ -196,9 +192,9 @@ Sponsorship at any level is appreciated and encouraged. For individual developer

<div align="center">
<a href="https://go.clerk.com/PKHrcwh">
<picture height="120px" >
<source media="(prefers-color-scheme: dark)" srcset="https://github.com/colinhacks/zod/assets/3084745/167ea625-bf23-4f7b-afc2-1dbb0ad60a3e">
<img alt="clerk logo" height="120px" src="https://github.com/colinhacks/zod/assets/3084745/68a43b31-62e5-4344-a112-7066dcf3d830">
<picture width="100%">
<source media="(prefers-color-scheme: dark)" srcset="https://github.com/colinhacks/zod/assets/3084745/15c8c8be-189d-44ed-b3db-59bf2a21cbe3">
<img alt="clerk logo" src="https://github.com/colinhacks/zod/assets/3084745/15c8c8be-189d-44ed-b3db-59bf2a21cbe3">
</picture>
</a>
<br/>
Expand Down
1 change: 1 addition & 0 deletions blog/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,7 @@
"https://twitter.com/tweetsbycolin",
"https://authjs.dev",
"https://authjs.dev/getting-started",
"https://go.clerk.com/zod-clerk"
],
};
</script>
Expand Down
18 changes: 7 additions & 11 deletions deno/lib/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,18 +36,16 @@
<br/>
<br/>

<h4><strong>Announcement ✨</strong><br/>Zod has recieved the <a href="https://go.clerk.com/zod-clerk">Clerk</a> OSS Fellowship!<br/>Read the announcement post 👉 <a href="https://zod.dev/blog/clerk-fellowship">zod.dev/blog/clerk-fellowship</a></h4>
<!-- <p><strong>Announcement ✨</strong> Zod has recieved the <a href="https://go.clerk.com/zod-clerk">Clerk</a> OSS Fellowship!<br/>Read the announcement post 👉 <a href="https://go.clerk.com/zod-clerk">clerk.com/blog/zod-fellowship</a></p> -->

[![clerk announcement](https://github.com/colinhacks/zod/assets/3084745/6327cf99-8d82-4b44-a5b1-ba2b5c2ff6ad)](https://go.clerk.com/hqN4rp7)

<br/>

## Table of contents

> These docs have been translated into [Chinese](./README_ZH.md).
<!-- The full documentation is available both on the [official documentation site](https://zod.js.org/) (recommended) and in `README.md`.
#### Go to [zod.js.org](https://zod.js.org) >> -->

- [Table of contents](#table-of-contents)
- [Introduction](#introduction)
- [Sponsors](#sponsors)
Expand Down Expand Up @@ -185,9 +183,7 @@ Some other great aspects:

## Sponsors

Sponsorship at any level is appreciated and encouraged. For individual developers, consider the [Cup of Coffee tier](https://github.com/sponsors/colinhacks). If you built a paid product using Zod, consider one of the [podium tiers](https://github.com/sponsors/colinhacks).

> Clerk is currently sponsoring my full-time development of Zod! If you're building an app, give it a shot—it really is the easiest way to set up authentication and user accounts. (Seriously, their DX is unparalleled.)
Sponsorship at any level is appreciated and encouraged. If you built a paid product using Zod, consider one of the [corporate tiers](https://github.com/sponsors/colinhacks).

<br/>
<h3 align="center">Diamond</h3>
Expand All @@ -196,9 +192,9 @@ Sponsorship at any level is appreciated and encouraged. For individual developer

<div align="center">
<a href="https://go.clerk.com/PKHrcwh">
<picture height="120px" >
<source media="(prefers-color-scheme: dark)" srcset="https://github.com/colinhacks/zod/assets/3084745/167ea625-bf23-4f7b-afc2-1dbb0ad60a3e">
<img alt="clerk logo" height="120px" src="https://github.com/colinhacks/zod/assets/3084745/68a43b31-62e5-4344-a112-7066dcf3d830">
<picture width="100%">
<source media="(prefers-color-scheme: dark)" srcset="https://github.com/colinhacks/zod/assets/3084745/15c8c8be-189d-44ed-b3db-59bf2a21cbe3">
<img alt="clerk logo" src="https://github.com/colinhacks/zod/assets/3084745/15c8c8be-189d-44ed-b3db-59bf2a21cbe3">
</picture>
</a>
<br/>
Expand Down
48 changes: 42 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,8 @@
.dark .sidebar,
.dark blockquote,
.dark .sidebar a {
background-color: #283339;
/* background-color: #283339; */
background-color: #0E1116;
color: #d3d3d3;
}

Expand Down Expand Up @@ -259,11 +260,11 @@
.matchMedia("(prefers-color-scheme: dark)")
.addEventListener("change", (e) => toggleDarkTheme(e.matches()));

document.querySelector(".theme-btn").addEventListener("click", () => {
const isDark = checkDark();
console.log("isDark", isDark);
toggleDarkTheme(!isDark);
});
// document.querySelector(".theme-btn").addEventListener("click", () => {
// const isDark = checkDark();
// console.log("isDark", isDark);
// toggleDarkTheme(!isDark);
// });

function toggleDarkTheme(isDark) {
if (isDark) {
Expand Down Expand Up @@ -299,9 +300,44 @@
"https://zod.dev/",
"https://deno.land/x/zod",
"https://zod.dev/blog/clerk-fellowship",
"https://go.clerk.com/hqN4rp7",
"https://go.clerk.com/Qgor5NQ",
"https://go.clerk.com/PKHrcwh"
],
noCompileLinks: [
"https://github.com/colinhacks/zod/actions?query=branch%3Amain",
"https://opensource.org/licenses/MIT",
"https://www.npmjs.com/package/zod",
"https://discord.gg/KaSRdyX2vc",
"https://discord.gg/RcG33DQJdf",
"https://github.com/colinhacks/zod/issues/new",
"https://twitter.com/colinhacks",
"https://trpc.io/",
"https://zod.dev/",
"https://deno.land/x/zod",
"https://zod.dev/blog/clerk-fellowship",
"https://go.clerk.com/hqN4rp7",
"https://go.clerk.com/Qgor5NQ",
"https://go.clerk.com/PKHrcwh"
],
};
</script>
<script>
window.onload = () => {
const sidebar = document.querySelector(".sidebar-nav");
console.log(sidebar);
const clerkLink = document.createElement("a");
clerkLink.style.display = "block";
clerkLink.style.padding = "14px 8px 0px 8px";
clerkLink.href = "https://go.clerk.com/Qgor5NQ";
const clerkImg = document.createElement("img");
clerkImg.src = "https://github.com/colinhacks/zod/assets/3084745/944665e0-113d-42a4-a340-bd6c61e25880";
// clerkImg.style.padding = "10px 12px 0px 12px";
clerkLink.appendChild(clerkImg);
sidebar.appendChild(clerkLink)
};

</script>
<!-- <script>
window.addEventListener("DOMContentLoaded", () => {
document
Expand Down

0 comments on commit 178f8ee

Please sign in to comment.