Skip to content

Commit

Permalink
chore(docs): add hero logo to home
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonkuhrt committed Sep 8, 2024
1 parent 9bf3896 commit 417d6e9
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
3 changes: 3 additions & 0 deletions website/.vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ export default defineConfig({
description: 'Minimalist Progressively Type Safe GraphQL Client For JavaScript.',
// TODO, remove before going live.
ignoreDeadLinks: true,
sitemap: {
hostname: 'https://graffle.js.org',
},
markdown: {
codeTransformers: [
transformerTwoslash({
Expand Down
13 changes: 13 additions & 0 deletions website/content/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ hero:
- theme: alt
text: Examples
link: /examples/raw
image:
src: /_assets/logo-dark.png
alt: Graffle
features:
- title: Spec Compliant
details: Graffle complies with the <a href="https://graphql.github.io/graphql-over-http">GraphQL over HTTP</a> and <a href="">GraphQL Multipart Request</a> specifications.
Expand All @@ -31,3 +34,13 @@ features:
# - title: Schema Errors<br/><span style="opacity:0.25;">( gen )</span>
# details: First class support for schemas that have modelled errors into their design. Result Fields can be made to throw on errors or automatically map to error classes.
---

<style>
.VPHomeHero img {
filter: opacity(0.85);
}

html.dark .VPHomeHero img {
filter: invert(1) opacity(0.9);
}
</style>
Binary file added website/content/public/_assets/logo-dark.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 417d6e9

Please # to comment.