Skip to content

Commit

Permalink
New logo!
Browse files Browse the repository at this point in the history
  • Loading branch information
decs committed Aug 25, 2023
1 parent b27e7d4 commit 241a742
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 23 deletions.
22 changes: 13 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
<div id="header">
<h1 align="center">🛵 TypeSchema</h1>
<p align="center">Universal adapter for schema validation</p>
<p align="center">
<p align="center"><img src="assets/logo.png" width="64px" alt="TypeSchema" /></p>
<h1 align="center">TypeSchema</h1>
<p align="center">
✨ <a href="https://typeschema.com">https://typeschema.com</a> ✨
<br />
Universal adapter for schema validation
</p>
<p align="center">
<a href="https://opensource.org/licenses/MIT" rel="nofollow"><img src="https://img.shields.io/github/license/decs/typeschema" alt="License"></a>
<a href="https://bundlephobia.com/package/@decs/typeschema" rel="nofollow"><img src="https://img.shields.io/bundlephobia/minzip/%40decs%2Ftypeschema" alt="Bundle size"></a>
<a href="https://www.npmjs.com/package/@decs/typeschema" rel="nofollow"><img src="https://img.shields.io/npm/dw/@decs/typeschema.svg" alt="NPM downloads"></a>
<a href="https://github.com/decs/typeschema/stargazers" rel="nofollow"><img src="https://img.shields.io/github/stars/decs/typeschema" alt="GitHub stars"></a>
</p>
</p>

<br />
</div>
<br />

Many libraries rely on some sort of type validation. Their maintainers have the choice of either to:

Expand All @@ -21,9 +24,9 @@ There's no best validation library because there's always a tradeoff. Each devel

## Features

- 🚀 Decouple from validation libraries
- 🚀 Decouple from schema validation libraries
- 🍃 Tiny client footprint, tree-shakeable
- Easy-to-use, minimal API
- 🛋️ Easy-to-use, minimal API

## Usage

Expand Down Expand Up @@ -209,3 +212,4 @@ export default defineConfig({
- Inspired by [tRPC](https://trpc.io/)'s [input & output validators](https://trpc.io/docs/server/validators)
- Adapter architecture inspired by [@ecyrbe](https://github.com/ecyrbe)'s [suggestions](https://github.com/decs/typeschema/issues/1)
- API definition inspired by [@colinhacks](https://github.com/colinhacks)'s [proposal](https://twitter.com/colinhacks/status/1634284724796661761)
- Logo designed by [flaticon](https://www.flaticon.com/)
1 change: 1 addition & 0 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
title: TypeSchema
description: Universal adapter for TypeScript schema validation
logo: /assets/logo.png

google_analytics: G-E24ES7NSSP
14 changes: 0 additions & 14 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,6 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
{% seo %}
<link rel="stylesheet" href="{{ "/assets/css/style.css?v=" | append: site.github.build_revision | relative_url }}">
<style>
#header {
display: none;
}
</style>
{% if site.google_analytics %}
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id={{ site.google_analytics }}"></script>
Expand All @@ -24,17 +19,8 @@
</head>
<body>
<div class="container-lg px-3 mt-5 mb-6 markdown-body">
<h1 align="center">
<span style="font-size: 3.5rem;" class="pr-2">🛵</span>TypeSchema
</h1>
<p align="center">Universal adapter for TypeScript schema validation</p>
<div style="display: flex; justify-content: center;" class="mt-3 mb-5">
<div style="display: inline-block;" class="mr-2"><a class="github-button" href="https://github.com/decs/typeschema" data-size="large" aria-label="View decs/typeschema on GitHub" class="ml-2">View on GitHub</a></div>
<div style="display: inline-block;"><a class="github-button" href="https://github.com/decs/typeschema" data-icon="octicon-star" data-size="large" data-show-count="true" aria-label="Star decs/typeschema on GitHub">Star</a></div>
</div>
{{ content }}
</div>
<script src="https://buttons.github.io/buttons.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/4.1.0/anchor.min.js" integrity="sha256-lZaRhKri35AyJSypXXs4o6OPFTbTmUoltBbDCbdzegg=" crossorigin="anonymous"></script>
<script>anchors.add();</script>
</body>
Expand Down
Binary file added assets/logo.png
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 241a742

Please sign in to comment.