Skip to content

Commit

Permalink
feat(demo): embed web-client with fake API stubs as a demo (#109)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewazores authored May 9, 2023
1 parent 0359374 commit ccf9633
Show file tree
Hide file tree
Showing 206 changed files with 1,670 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,8 @@ _site
.jekyll-metadata
vendor
**/.DS_Store

demo/node_modules/
demo/.yarn/
demo/.yarnrc.yml
demo/.pnp.cjs
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,9 @@ to install project dependencies.
- `bundle exec jekyll serve --watch --livereload --open-url --future --config _config.yml,_config-dev.yml`

This will start a local development server, open your default browser pointing to the local build on that server, with the server watching for project filesystem changes and hot-reloading the browser when changes are detected and rebuilt.

### Updating Demo

```bash
$ bash build-demo.bash cryostat-v2.3
```
1 change: 1 addition & 0 deletions _includes/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
<div class="trigger">
<a class="page-link" href="/get-started/">Get Started</a>
<a class="page-link" href="/guides/">Guides</a>
<a class="page-link" href="/demo/">Demo</a>
<a class="page-link" href="/blog/">Blog</a>
</div>
</nav>
Expand Down
20 changes: 20 additions & 0 deletions _layouts/demo.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<!DOCTYPE html>
<html lang="{{ page.lang | default: site.lang | default: "en" }}">

{%- include head.html -%}

<body>

{%- include header.html -%}

<main class="page-content" aria-label="Content">
{{ content }}
</main>

{%- include footer.html -%}
{%- include redhat-footer.html -%}
{%- include scripts.html -%}
{%- include rh-analytics-footer.html -%}
</body>

</html>
23 changes: 23 additions & 0 deletions _sass/core/demo.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
.linear-dot-spinner {
width: 2em;
aspect-ratio: 4;
background: radial-gradient(circle closest-side, #73BCF7 90%, #0000) 0/calc(100%/3) 100% space;
clip-path: inset(0 100% 0 0);
animation: linear-dot-spinner-animate 1s steps(4) infinite;
}

@keyframes linear-dot-spinner-animate {
to {
clip-path: inset(0 -34% 0 0)
}
}

.demo-iframe {
opacity: 0;
box-sizing: border-box;
width: 100%;
height: 50em;
scale: 0.98;
border: 1px solid;
border-radius: 4px;
}
1 change: 1 addition & 0 deletions assets/css/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

@import "core/cryostat";
@import "core/blog";
@import "core/demo";

@import "includes/redhat-footer";
@import "includes/back-to-top.scss";
Expand Down
1 change: 1 addition & 0 deletions assets/demo/site/393.e5a9eabb40cd5f66.bundle.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions assets/demo/site/app.5719b38e10b241d3.bundle.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions assets/demo/site/app.ed4d56b063ab502d.bundle.css

Large diffs are not rendered by default.

Binary file added assets/demo/site/favicon.ico
Binary file not shown.
Binary file added assets/demo/site/fonts/RedHatDisplay-Bold.woff
Binary file not shown.
Binary file added assets/demo/site/fonts/RedHatDisplay-Bold.woff2
Binary file not shown.
Binary file added assets/demo/site/fonts/RedHatDisplay-Medium.woff
Binary file not shown.
Binary file not shown.
Binary file added assets/demo/site/fonts/RedHatDisplay-Regular.woff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added assets/demo/site/fonts/RedHatMonoVF-updated.woff2
Binary file not shown.
Binary file added assets/demo/site/fonts/RedHatText-Medium.woff
Binary file not shown.
Binary file added assets/demo/site/fonts/RedHatText-Medium.woff2
Binary file not shown.
Binary file added assets/demo/site/fonts/RedHatText-Regular.woff
Binary file not shown.
Binary file added assets/demo/site/fonts/RedHatText-Regular.woff2
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added assets/demo/site/fonts/overpass-bold-italic.woff2
Binary file not shown.
Binary file added assets/demo/site/fonts/overpass-bold.woff
Binary file not shown.
Binary file added assets/demo/site/fonts/overpass-bold.woff2
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added assets/demo/site/fonts/overpass-extrabold.woff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added assets/demo/site/fonts/overpass-extralight.woff
Binary file not shown.
Binary file added assets/demo/site/fonts/overpass-extralight.woff2
Binary file not shown.
Binary file added assets/demo/site/fonts/overpass-heavy-italic.woff
Binary file not shown.
Binary file not shown.
Binary file added assets/demo/site/fonts/overpass-heavy.woff
Binary file not shown.
Binary file added assets/demo/site/fonts/overpass-heavy.woff2
Binary file not shown.
Binary file added assets/demo/site/fonts/overpass-italic.woff
Binary file not shown.
Binary file added assets/demo/site/fonts/overpass-italic.woff2
Binary file not shown.
Binary file added assets/demo/site/fonts/overpass-light-italic.woff
Binary file not shown.
Binary file not shown.
Binary file added assets/demo/site/fonts/overpass-light.woff
Binary file not shown.
Binary file added assets/demo/site/fonts/overpass-light.woff2
Binary file not shown.
Binary file added assets/demo/site/fonts/overpass-mono-bold.woff
Binary file not shown.
Binary file added assets/demo/site/fonts/overpass-mono-bold.woff2
Binary file not shown.
Binary file added assets/demo/site/fonts/overpass-mono-light.woff
Binary file not shown.
Binary file added assets/demo/site/fonts/overpass-mono-light.woff2
Binary file not shown.
Binary file added assets/demo/site/fonts/overpass-mono-regular.woff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added assets/demo/site/fonts/overpass-regular.woff
Binary file not shown.
Binary file added assets/demo/site/fonts/overpass-regular.woff2
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added assets/demo/site/fonts/overpass-semibold.woff
Binary file not shown.
Binary file added assets/demo/site/fonts/overpass-semibold.woff2
Binary file not shown.
Binary file added assets/demo/site/fonts/overpass-thin-italic.woff
Binary file not shown.
Binary file added assets/demo/site/fonts/overpass-thin-italic.woff2
Binary file not shown.
Binary file added assets/demo/site/fonts/overpass-thin.woff
Binary file not shown.
Binary file added assets/demo/site/fonts/overpass-thin.woff2
Binary file not shown.
Binary file added assets/demo/site/fonts/pficon.woff
Binary file not shown.
Binary file added assets/demo/site/fonts/pficon.woff2
Binary file not shown.
Binary file added assets/demo/site/images/about_background.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/demo/site/images/cryostat_logo_hori_rgb_default.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/demo/site/images/cryostat_logo_hori_rgb_reverse.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit ccf9633

Please sign in to comment.