Skip to content

Commit

Permalink
docs: add hero image
Browse files Browse the repository at this point in the history
  • Loading branch information
nknapp committed Jun 8, 2024
1 parent 1720c92 commit 5392b9c
Show file tree
Hide file tree
Showing 5 changed files with 201 additions and 13 deletions.
18 changes: 7 additions & 11 deletions docs/.vitepress/theme/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@
--vp-c-default-3: var(--vp-c-gray-3);
--vp-c-default-soft: var(--vp-c-gray-soft);

--vp-c-brand-1: var(--vp-c-indigo-1);
--vp-c-brand-2: var(--vp-c-indigo-2);
--vp-c-brand-3: var(--vp-c-indigo-3);
--vp-c-brand-soft: var(--vp-c-indigo-soft);
--vp-c-brand-1: var(--vp-c-green-1);
--vp-c-brand-2: var(--vp-c-green-2);
--vp-c-brand-3: var(--vp-c-green-3);
--vp-c-brand-soft: var(--vp-c-green-soft);

--vp-c-tip-1: var(--vp-c-brand-1);
--vp-c-tip-2: var(--vp-c-brand-2);
Expand Down Expand Up @@ -92,16 +92,12 @@

:root {
--vp-home-hero-name-color: transparent;
--vp-home-hero-name-background: -webkit-linear-gradient(
120deg,
#bd34fe 30%,
#41d1ff
);
--vp-home-hero-name-background: #008800;

--vp-home-hero-image-background-image: linear-gradient(
-45deg,
#bd34fe 50%,
#47caff 50%
#770000 50%,
#007700 50%
);
--vp-home-hero-image-filter: blur(44px);
}
Expand Down
189 changes: 189 additions & 0 deletions docs/images/hero.inkscape.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/hero.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/hero.webp
Binary file not shown.
7 changes: 5 additions & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,12 @@
layout: home

hero:
name: "DOM-Preview"
text: "Unit & Component test visualizer"
name: "dom-preview"
text: "component test visualizer"
tagline: "See what your components actually look like when your tests fail."
image:
src: /images/hero.webp
alt: VitePress
actions:
- theme: brand
text: Getting started
Expand Down

0 comments on commit 5392b9c

Please sign in to comment.