diff --git a/README.md b/README.md index 372015df..5d00f096 100644 --- a/README.md +++ b/README.md @@ -54,6 +54,7 @@ Read more at: [https://hasura.io](https://hasura.io) and the [docs](https://docs - [Videos](#videos) - [Support & Troubleshooting](#support--troubleshooting) - [Contributing](#contributing) +- [Brand assets](#brand-assets) - [License](#license) @@ -155,6 +156,30 @@ We are committed to fostering an open and welcoming environment in the community Check out our [contributing guide](CONTRIBUTING.md) for more details. +## Brand assets + +Hasura brand assets (logos, the Hasura mascot, powered by badges etc.) can be +found in the [assets/brand](assets/brand) folder. Feel free to use them in your +application/website etc. We'd be thrilled if you add the "Powered by Hasura" +badge to your applications built using Hasura. ❤️ + +
+ + +
+ +```html + + + + + + + + + +``` + ## License The core GraphQL Engine is available under the [GNU Affero General Public diff --git a/assets/brand/README.md b/assets/brand/README.md new file mode 100644 index 00000000..7aea5ae4 --- /dev/null +++ b/assets/brand/README.md @@ -0,0 +1,19 @@ +# Hasura Brand Assets + +All assets are available on a Google Cloud Storage Bucket CDN at `https://graphql-engine-cdn.hasura.io/img/`. + +*Note: some logos maybe invisible depending on the page background color.* + +| name | asset | +| ---- | ----- | +| `hasura_icon_black.svg` | | +| `hasura_icon_white.svg` | | +| `hasura_logo_horizontal_black.svg` | | +| `hasura_logo_horizontal_white.svg` | | +| `hasura_logo_vertical_black.svg` | | +| `hasura_logo_vertical_white.svg` | | +| `hasura_mascot_logo_horizontal.svg` | | +| `hasura_mascot_logo_vertical.svg` | | +| `hasura_mascot.svg` | | +| `powered_by_hasura_black.svg` | | +| `powered_by_hasura_white.svg` | | diff --git a/assets/brand/hasura_icon_black.svg b/assets/brand/hasura_icon_black.svg new file mode 100644 index 00000000..1925894f --- /dev/null +++ b/assets/brand/hasura_icon_black.svg @@ -0,0 +1,23 @@ + + + + + + + + + + + + + diff --git a/assets/brand/hasura_icon_black_200px.png b/assets/brand/hasura_icon_black_200px.png new file mode 100644 index 00000000..d9de92c4 Binary files /dev/null and b/assets/brand/hasura_icon_black_200px.png differ diff --git a/assets/brand/hasura_icon_white.svg b/assets/brand/hasura_icon_white.svg new file mode 100644 index 00000000..403d4121 --- /dev/null +++ b/assets/brand/hasura_icon_white.svg @@ -0,0 +1,23 @@ + + + + + + + + + + + + + diff --git a/assets/brand/hasura_icon_white_200px.png b/assets/brand/hasura_icon_white_200px.png new file mode 100644 index 00000000..6497a661 Binary files /dev/null and b/assets/brand/hasura_icon_white_200px.png differ diff --git a/assets/brand/hasura_logo_horizontal_black.svg b/assets/brand/hasura_logo_horizontal_black.svg new file mode 100644 index 00000000..f174614d --- /dev/null +++ b/assets/brand/hasura_logo_horizontal_black.svg @@ -0,0 +1,51 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/brand/hasura_logo_horizontal_black_200px.png b/assets/brand/hasura_logo_horizontal_black_200px.png new file mode 100644 index 00000000..a2eec775 Binary files /dev/null and b/assets/brand/hasura_logo_horizontal_black_200px.png differ diff --git a/assets/brand/hasura_logo_horizontal_white.svg b/assets/brand/hasura_logo_horizontal_white.svg new file mode 100644 index 00000000..922203fe --- /dev/null +++ b/assets/brand/hasura_logo_horizontal_white.svg @@ -0,0 +1,51 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/brand/hasura_logo_horizontal_white_200px.png b/assets/brand/hasura_logo_horizontal_white_200px.png new file mode 100644 index 00000000..29d75157 Binary files /dev/null and b/assets/brand/hasura_logo_horizontal_white_200px.png differ diff --git a/assets/brand/hasura_logo_vertical_black.svg b/assets/brand/hasura_logo_vertical_black.svg new file mode 100644 index 00000000..a8c272fc --- /dev/null +++ b/assets/brand/hasura_logo_vertical_black.svg @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + + + + diff --git a/assets/brand/hasura_logo_vertical_black_200px.png b/assets/brand/hasura_logo_vertical_black_200px.png new file mode 100644 index 00000000..9b3340a1 Binary files /dev/null and b/assets/brand/hasura_logo_vertical_black_200px.png differ diff --git a/assets/brand/hasura_logo_vertical_white.svg b/assets/brand/hasura_logo_vertical_white.svg new file mode 100644 index 00000000..7744bfef --- /dev/null +++ b/assets/brand/hasura_logo_vertical_white.svg @@ -0,0 +1,50 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/brand/hasura_logo_vertical_white_200px.png b/assets/brand/hasura_logo_vertical_white_200px.png new file mode 100644 index 00000000..9c2d166a Binary files /dev/null and b/assets/brand/hasura_logo_vertical_white_200px.png differ diff --git a/assets/brand/hasura_mascot.svg b/assets/brand/hasura_mascot.svg new file mode 100644 index 00000000..50b7f998 --- /dev/null +++ b/assets/brand/hasura_mascot.svg @@ -0,0 +1,246 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/brand/hasura_mascot_200px.png b/assets/brand/hasura_mascot_200px.png new file mode 100644 index 00000000..88f6c4e9 Binary files /dev/null and b/assets/brand/hasura_mascot_200px.png differ diff --git a/assets/brand/hasura_mascot_logo_horizontal.svg b/assets/brand/hasura_mascot_logo_horizontal.svg new file mode 100644 index 00000000..634b2324 --- /dev/null +++ b/assets/brand/hasura_mascot_logo_horizontal.svg @@ -0,0 +1,385 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/brand/hasura_mascot_logo_horizontal_200px.png b/assets/brand/hasura_mascot_logo_horizontal_200px.png new file mode 100644 index 00000000..fb93e27b Binary files /dev/null and b/assets/brand/hasura_mascot_logo_horizontal_200px.png differ diff --git a/assets/brand/hasura_mascot_logo_vertical.svg b/assets/brand/hasura_mascot_logo_vertical.svg new file mode 100644 index 00000000..86043a64 --- /dev/null +++ b/assets/brand/hasura_mascot_logo_vertical.svg @@ -0,0 +1,291 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/brand/hasura_mascot_logo_vertical_200px.png b/assets/brand/hasura_mascot_logo_vertical_200px.png new file mode 100644 index 00000000..a700579e Binary files /dev/null and b/assets/brand/hasura_mascot_logo_vertical_200px.png differ diff --git a/assets/brand/powered_by_hasura_black.svg b/assets/brand/powered_by_hasura_black.svg new file mode 100644 index 00000000..ddcbfb0a --- /dev/null +++ b/assets/brand/powered_by_hasura_black.svg @@ -0,0 +1,71 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/brand/powered_by_hasura_black_200px.png b/assets/brand/powered_by_hasura_black_200px.png new file mode 100644 index 00000000..62caf90b Binary files /dev/null and b/assets/brand/powered_by_hasura_black_200px.png differ diff --git a/assets/brand/powered_by_hasura_white.svg b/assets/brand/powered_by_hasura_white.svg new file mode 100644 index 00000000..5b832855 --- /dev/null +++ b/assets/brand/powered_by_hasura_white.svg @@ -0,0 +1,76 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/brand/powered_by_hasura_white_200px.png b/assets/brand/powered_by_hasura_white_200px.png new file mode 100644 index 00000000..167a3f05 Binary files /dev/null and b/assets/brand/powered_by_hasura_white_200px.png differ diff --git a/scripts/generate_brand_assets_readme.sh b/scripts/generate_brand_assets_readme.sh new file mode 100755 index 00000000..c3aa6f26 --- /dev/null +++ b/scripts/generate_brand_assets_readme.sh @@ -0,0 +1,40 @@ +#!/usr/bin/env bash +# +# update readme file in the assets/brand folder + +# exit on error +set -e + +IFS=$"" + +# get the repo root +ROOT="$(readlink -f ${BASH_SOURCE[0]%/*}/../)" + +cd "$ROOT/assets/brand" + +README_CONTENT=$(cat <\`. + +*Note: some logos maybe invisible depending on the page background color.* + +| name | asset | +| ---- | ----- | +EOF +) + +for svg in *.svg; do + if [[ "$svg" = *"white"* ]]; then + BG='style="background-color: black;"' + else + BG='style="background-color: white;"' + fi + README_CONTENT=$(cat < | +EOF +) +done + +echo $README_CONTENT > "$ROOT/assets/brand/README.md"