Skip to content

Commit c3dd557

Browse files
authored
Merge pull request #2122 from finos/tm-redesign-ii
Update docs/branding
2 parents 20c6e77 + 31c4b51 commit c3dd557

23 files changed

+353
-183
lines changed

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
1-
![Perspective](https://github.com/finos/perspective/blob/master/docs/static/img/logo/logo-light.png?raw=true#gh-light-mode-only)
2-
![Perspective](https://github.com/finos/perspective/blob/master/docs/static/img/logo/logo-dark.png?raw=true#gh-dark-mode-only)
1+
<br />
2+
3+
![Perspective](https://github.com/finos/perspective/blob/tm-redesign-ii/docs/static/svg/perspective-logo-light.svg?raw=true#gh-light-mode-only)![Perspective](https://github.com/finos/perspective/blob/tm-redesign-ii/docs/static/svg/perspective-logo-dark.svg?raw=true#gh-dark-mode-only)
34

45
[![npm](https://img.shields.io/npm/v/@finos/perspective.svg?style=flat)](https://www.npmjs.com/package/@finos/perspective)
56
[![PyPI](https://img.shields.io/pypi/v/perspective-python.svg?style=flat)](https://pypi.python.org/pypi/perspective-python)
67
[![Build Status](https://github.com/finos/perspective/actions/workflows/build.yml/badge.svg?branch=master&event=push)](https://github.com/finos/perspective/actions/workflows/build.yml)
78

9+
<br/>
10+
811
Perspective is an <i>interactive</i> analytics and data visualization component,
912
which is especially well-suited for <i>large</i> and/or <i>streaming</i>
1013
datasets. Use it to create user-configurable reports, dashboards, notebooks and
@@ -31,7 +34,7 @@ and/or [Jupyterlab](https://jupyterlab.readthedocs.io/en/stable/).
3134
### Examples
3235

3336
<!-- Examples -->
34-
<table><tbody><tr><td>magic</td><td>nft</td><td>nypd ccrb</td></tr><tr><td><a href="https://texodus.github.io/mtg-perspective/?seasons-in-the-abyss-67"><img height="125" src="https://perspective.finos.org/img/mtg_preview.png"></img></a></td><td><a href="https://sc1f.github.io/pudgy-penguin-perspective/"><img height="125" src="https://raw.githubusercontent.com/sc1f/pudgy-penguin-perspective/pages/meta.png"></img></a></td><td><a href="https://texodus.github.io/nypd-ccrb/"><img height="125" src="https://texodus.github.io/nypd-ccrb/preview.png"></img></a></td></tr><tr><td>jupyterlab</td><td>fractal</td><td>raycasting</td></tr><tr><td><a href="http://beta.mybinder.org/v2/gh/finos/perspective/master?urlpath=lab/tree/examples/jupyter-notebooks"><img height="125" src="https://perspective.finos.org/img/jupyterlab.png"></img></a></td><td><a href="https://perspective.finos.org/block?example=fractal"><img height="125" src="https://perspective.finos.org/blocks/fractal/preview.png"></img></a></td><td><a href="https://perspective.finos.org/block?example=raycasting"><img height="125" src="https://perspective.finos.org/blocks/raycasting/preview.png"></img></a></td></tr><tr><td>evictions</td><td>streaming</td><td>covid</td></tr><tr><td><a href="https://perspective.finos.org/block?example=evictions"><img height="125" src="https://perspective.finos.org/blocks/evictions/preview.png"></img></a></td><td><a href="https://perspective.finos.org/block?example=streaming"><img height="125" src="https://perspective.finos.org/blocks/streaming/preview.png"></img></a></td><td><a href="https://perspective.finos.org/block?example=covid"><img height="125" src="https://perspective.finos.org/blocks/covid/preview.png"></img></a></td></tr><tr><td>movies</td><td>superstore</td><td>citibike</td></tr><tr><td><a href="https://perspective.finos.org/block?example=movies"><img height="125" src="https://perspective.finos.org/blocks/movies/preview.png"></img></a></td><td><a href="https://perspective.finos.org/block?example=superstore"><img height="125" src="https://perspective.finos.org/blocks/superstore/preview.png"></img></a></td><td><a href="https://perspective.finos.org/block?example=citibike"><img height="125" src="https://perspective.finos.org/blocks/citibike/preview.png"></img></a></td></tr><tr><td>olympics</td><td>editable</td><td>csv</td></tr><tr><td><a href="https://perspective.finos.org/block?example=olympics"><img height="125" src="https://perspective.finos.org/blocks/olympics/preview.png"></img></a></td><td><a href="https://perspective.finos.org/block?example=editable"><img height="125" src="https://perspective.finos.org/blocks/editable/preview.png"></img></a></td><td><a href="https://perspective.finos.org/block?example=csv"><img height="125" src="https://perspective.finos.org/blocks/csv/preview.png"></img></a></td></tr></tbody></table>
37+
<table><tbody><tr><td><a href="https://texodus.github.io/mtg-perspective/?seasons-in-the-abyss-67">magic<img height="125" src="https://perspective.finos.org/img/mtg_preview.png"></img></a></td><td><a href="https://sc1f.github.io/pudgy-penguin-perspective/">nft<img height="125" src="https://raw.githubusercontent.com/sc1f/pudgy-penguin-perspective/pages/meta.png"></img></a></td><td><a href="https://texodus.github.io/nypd-ccrb/">nypd ccrb<img height="125" src="https://texodus.github.io/nypd-ccrb/preview.png"></img></a></td></tr><tr><td><a href="http://beta.mybinder.org/v2/gh/finos/perspective/master?urlpath=lab/tree/examples/jupyter-notebooks">jupyterlab<img height="125" src="https://perspective.finos.org/img/jupyterlab.png"></img></a></td><td><a href="https://perspective.finos.org/block?example=fractal">fractal<img height="125" src="https://perspective.finos.org/blocks/fractal/preview.png"></img></a></td><td><a href="https://perspective.finos.org/block?example=raycasting">raycasting<img height="125" src="https://perspective.finos.org/blocks/raycasting/preview.png"></img></a></td></tr><tr><td><a href="https://perspective.finos.org/block?example=evictions">evictions<img height="125" src="https://perspective.finos.org/blocks/evictions/preview.png"></img></a></td><td><a href="https://perspective.finos.org/block?example=streaming">streaming<img height="125" src="https://perspective.finos.org/blocks/streaming/preview.png"></img></a></td><td><a href="https://perspective.finos.org/block?example=covid">covid<img height="125" src="https://perspective.finos.org/blocks/covid/preview.png"></img></a></td></tr><tr><td><a href="https://perspective.finos.org/block?example=movies">movies<img height="125" src="https://perspective.finos.org/blocks/movies/preview.png"></img></a></td><td><a href="https://perspective.finos.org/block?example=superstore">superstore<img height="125" src="https://perspective.finos.org/blocks/superstore/preview.png"></img></a></td><td><a href="https://perspective.finos.org/block?example=citibike">citibike<img height="125" src="https://perspective.finos.org/blocks/citibike/preview.png"></img></a></td></tr><tr><td><a href="https://perspective.finos.org/block?example=olympics">olympics<img height="125" src="https://perspective.finos.org/blocks/olympics/preview.png"></img></a></td><td><a href="https://perspective.finos.org/block?example=editable">editable<img height="125" src="https://perspective.finos.org/blocks/editable/preview.png"></img></a></td><td><a href="https://perspective.finos.org/block?example=csv">csv<img height="125" src="https://perspective.finos.org/blocks/csv/preview.png"></img></a></td></tr></tbody></table>
3538
<!-- Examples -->
3639

3740
### Documentation

docs/build.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,9 @@ function template(is_dark) {
116116
right: 0;
117117
bottom: 0;
118118
}
119+
perspective-viewer[theme="Pro Light"] {
120+
--plugin--background:#f2f4f6
121+
}
119122
</style>
120123
</head>
121124
<body>

docs/docusaurus.config.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ const config = {
9797
// title: "Perspective",
9898
logo: {
9999
alt: "Perspective",
100-
src: "img/logo/logo-light.png",
100+
src: "svg/perspective-logo-light.svg",
101101
},
102102
items: [
103103
// {to: "/blog", label: "News", position: "right"},
@@ -120,7 +120,6 @@ const config = {
120120
],
121121
},
122122
footer: {
123-
style: "dark",
124123
links: [
125124
{
126125
title: "Docs",

docs/src/components/Demo/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ export function PerspectiveViewerDemo() {
6262
const viewerRef = useRef();
6363
const hoverCallback = useCallback(
6464
(event) => {
65-
console.log("WIP");
6665
setSelected(event.target.getAttribute("id"));
6766
select(viewerRef.current, `${event.target.getAttribute("id")}`);
6867
},

docs/src/components/Demo/styles.module.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.heroBannerViewer {
2-
width: 1000px;
3-
height: 600px;
2+
width: 900px;
3+
height: 550px;
44
margin-top: 24px;
55
margin-bottom: 48px;
66
}
@@ -18,10 +18,10 @@
1818
}
1919

2020
.visButton {
21-
font-size: 14px;
21+
font-size: 12px;
2222
/* border: 1px solid */
2323
border: 1px solid;
24-
padding: 10px;
24+
padding: 8px;
2525
border-radius: 3px;
2626
margin-right: 2px;
2727
opacity: 0.3;

docs/src/components/ExampleGallery/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ function OverlayDemo(props) {
9999
>
100100
<perspective-viewer
101101
ref={perspectiveRef}
102-
theme={props.color === "dark" ? "Pro Dark" : "Material Light"}
102+
theme={props.color === "dark" ? "Pro Dark" : "Pro Light"}
103103
class={clsx(styles.viewer)}
104104
></perspective-viewer>
105105
</div>

docs/src/components/HomepageFeatures/description.md

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,3 @@ which is especially well-suited for <i>large</i> and/or <i>streaming</i>
55
datasets. Use it to create user-configurable reports, dashboards, notebooks and
66
applications, then deploy stand-alone in the browser, or in concert with Python
77
and/or [Jupyterlab](https://jupyterlab.readthedocs.io/en/stable/).
8-
9-
### Features
10-
11-
- A fast, memory efficient streaming query engine, written in
12-
C++ and compiled for both [WebAssembly](https://webassembly.org/) and
13-
[Python](https://www.python.org/), with read/write/streaming for
14-
[Apache Arrow](https://arrow.apache.org/), and a high-performance columnar
15-
expression language based on [ExprTK](https://github.com/ArashPartow/exprtk).
16-
17-
- A framework-agnostic User Interface packaged as a
18-
[Custom Element](https://developer.mozilla.org/en-US/docs/Web/Web_Components/Using_custom_elements),
19-
powered either in-browser via WebAssembly or virtually via
20-
WebSocket server (Python/Node).
21-
22-
- A [JupyterLab](https://jupyter.org/) widget and Python client library, for
23-
interactive data analysis in a notebook, as well as _scalable_ production
24-
[Voila](https://github.com/voila-dashboards/voila) applications.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
A fast, memory efficient streaming query engine, written in
2+
C++ and compiled for both [WebAssembly](https://webassembly.org/) and
3+
[Python](https://www.python.org/), with read/write/streaming for
4+
[Apache Arrow](https://arrow.apache.org/), and a high-performance columnar
5+
expression language based on [ExprTK](https://github.com/ArashPartow/exprtk).
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
A framework-agnostic User Interface packaged as a
2+
[Custom Element](https://developer.mozilla.org/en-US/docs/Web/Web_Components/Using_custom_elements),
3+
powered either in-browser via WebAssembly or virtually via
4+
WebSocket server (Python/Node).
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
A [JupyterLab](https://jupyter.org/) widget and Python client library, for
2+
interactive data analysis in a notebook, as well as _scalable_ production
3+
[Voila](https://github.com/voila-dashboards/voila) applications.

0 commit comments

Comments
 (0)