Skip to content

Commit 178f8ee

Browse files
authored
Update Clerk artwork (#3599)
* Add announcement * Tweak * Tweak * Tweak * Tweak * Tweak * Tweak * Tweak * Add Clerk artwork * Tweak announcement * Tweak announcement * Add links * Updates
1 parent 0ab9be4 commit 178f8ee

File tree

4 files changed

+57
-28
lines changed

4 files changed

+57
-28
lines changed

README.md

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -36,18 +36,16 @@
3636
<br/>
3737
<br/>
3838

39-
<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>
39+
<!-- <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> -->
40+
41+
[![clerk announcement](https://github.com/colinhacks/zod/assets/3084745/6327cf99-8d82-4b44-a5b1-ba2b5c2ff6ad)](https://go.clerk.com/hqN4rp7)
4042

4143
<br/>
4244

4345
## Table of contents
4446

4547
> These docs have been translated into [Chinese](./README_ZH.md).
4648
47-
<!-- The full documentation is available both on the [official documentation site](https://zod.js.org/) (recommended) and in `README.md`.
48-
49-
#### Go to [zod.js.org](https://zod.js.org) >> -->
50-
5149
- [Table of contents](#table-of-contents)
5250
- [Introduction](#introduction)
5351
- [Sponsors](#sponsors)
@@ -185,9 +183,7 @@ Some other great aspects:
185183

186184
## Sponsors
187185

188-
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).
189-
190-
> 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.)
186+
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).
191187

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

197193
<div align="center">
198194
<a href="https://go.clerk.com/PKHrcwh">
199-
<picture height="120px" >
200-
<source media="(prefers-color-scheme: dark)" srcset="https://github.com/colinhacks/zod/assets/3084745/167ea625-bf23-4f7b-afc2-1dbb0ad60a3e">
201-
<img alt="clerk logo" height="120px" src="https://github.com/colinhacks/zod/assets/3084745/68a43b31-62e5-4344-a112-7066dcf3d830">
195+
<picture width="100%">
196+
<source media="(prefers-color-scheme: dark)" srcset="https://github.com/colinhacks/zod/assets/3084745/15c8c8be-189d-44ed-b3db-59bf2a21cbe3">
197+
<img alt="clerk logo" src="https://github.com/colinhacks/zod/assets/3084745/15c8c8be-189d-44ed-b3db-59bf2a21cbe3">
202198
</picture>
203199
</a>
204200
<br/>

blog/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,7 @@
271271
"https://twitter.com/tweetsbycolin",
272272
"https://authjs.dev",
273273
"https://authjs.dev/getting-started",
274+
"https://go.clerk.com/zod-clerk"
274275
],
275276
};
276277
</script>

deno/lib/README.md

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -36,18 +36,16 @@
3636
<br/>
3737
<br/>
3838

39-
<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>
39+
<!-- <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> -->
40+
41+
[![clerk announcement](https://github.com/colinhacks/zod/assets/3084745/6327cf99-8d82-4b44-a5b1-ba2b5c2ff6ad)](https://go.clerk.com/hqN4rp7)
4042

4143
<br/>
4244

4345
## Table of contents
4446

4547
> These docs have been translated into [Chinese](./README_ZH.md).
4648
47-
<!-- The full documentation is available both on the [official documentation site](https://zod.js.org/) (recommended) and in `README.md`.
48-
49-
#### Go to [zod.js.org](https://zod.js.org) >> -->
50-
5149
- [Table of contents](#table-of-contents)
5250
- [Introduction](#introduction)
5351
- [Sponsors](#sponsors)
@@ -185,9 +183,7 @@ Some other great aspects:
185183

186184
## Sponsors
187185

188-
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).
189-
190-
> 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.)
186+
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).
191187

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

197193
<div align="center">
198194
<a href="https://go.clerk.com/PKHrcwh">
199-
<picture height="120px" >
200-
<source media="(prefers-color-scheme: dark)" srcset="https://github.com/colinhacks/zod/assets/3084745/167ea625-bf23-4f7b-afc2-1dbb0ad60a3e">
201-
<img alt="clerk logo" height="120px" src="https://github.com/colinhacks/zod/assets/3084745/68a43b31-62e5-4344-a112-7066dcf3d830">
195+
<picture width="100%">
196+
<source media="(prefers-color-scheme: dark)" srcset="https://github.com/colinhacks/zod/assets/3084745/15c8c8be-189d-44ed-b3db-59bf2a21cbe3">
197+
<img alt="clerk logo" src="https://github.com/colinhacks/zod/assets/3084745/15c8c8be-189d-44ed-b3db-59bf2a21cbe3">
202198
</picture>
203199
</a>
204200
<br/>

index.html

Lines changed: 42 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,8 @@
159159
.dark .sidebar,
160160
.dark blockquote,
161161
.dark .sidebar a {
162-
background-color: #283339;
162+
/* background-color: #283339; */
163+
background-color: #0E1116;
163164
color: #d3d3d3;
164165
}
165166

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

262-
document.querySelector(".theme-btn").addEventListener("click", () => {
263-
const isDark = checkDark();
264-
console.log("isDark", isDark);
265-
toggleDarkTheme(!isDark);
266-
});
263+
// document.querySelector(".theme-btn").addEventListener("click", () => {
264+
// const isDark = checkDark();
265+
// console.log("isDark", isDark);
266+
// toggleDarkTheme(!isDark);
267+
// });
267268

268269
function toggleDarkTheme(isDark) {
269270
if (isDark) {
@@ -299,9 +300,44 @@
299300
"https://zod.dev/",
300301
"https://deno.land/x/zod",
301302
"https://zod.dev/blog/clerk-fellowship",
303+
"https://go.clerk.com/hqN4rp7",
304+
"https://go.clerk.com/Qgor5NQ",
305+
"https://go.clerk.com/PKHrcwh"
306+
],
307+
noCompileLinks: [
308+
"https://github.com/colinhacks/zod/actions?query=branch%3Amain",
309+
"https://opensource.org/licenses/MIT",
310+
"https://www.npmjs.com/package/zod",
311+
"https://discord.gg/KaSRdyX2vc",
312+
"https://discord.gg/RcG33DQJdf",
313+
"https://github.com/colinhacks/zod/issues/new",
314+
"https://twitter.com/colinhacks",
315+
"https://trpc.io/",
316+
"https://zod.dev/",
317+
"https://deno.land/x/zod",
318+
"https://zod.dev/blog/clerk-fellowship",
319+
"https://go.clerk.com/hqN4rp7",
320+
"https://go.clerk.com/Qgor5NQ",
321+
"https://go.clerk.com/PKHrcwh"
302322
],
303323
};
304324
</script>
325+
<script>
326+
window.onload = () => {
327+
const sidebar = document.querySelector(".sidebar-nav");
328+
console.log(sidebar);
329+
const clerkLink = document.createElement("a");
330+
clerkLink.style.display = "block";
331+
clerkLink.style.padding = "14px 8px 0px 8px";
332+
clerkLink.href = "https://go.clerk.com/Qgor5NQ";
333+
const clerkImg = document.createElement("img");
334+
clerkImg.src = "https://github.com/colinhacks/zod/assets/3084745/944665e0-113d-42a4-a340-bd6c61e25880";
335+
// clerkImg.style.padding = "10px 12px 0px 12px";
336+
clerkLink.appendChild(clerkImg);
337+
sidebar.appendChild(clerkLink)
338+
};
339+
340+
</script>
305341
<!-- <script>
306342
window.addEventListener("DOMContentLoaded", () => {
307343
document

0 commit comments

Comments
 (0)