From f82f02cea1cdb2cd031e7129e30ee61fc1863f49 Mon Sep 17 00:00:00 2001 From: Garrett Michael Flynn Date: Thu, 26 Oct 2023 14:49:03 -0700 Subject: [PATCH 1/2] Updates --- src/renderer/assets/css/main.css | 9 +---- .../src/stories/pages/contact-us/Contact.js | 36 +++++++++--------- .../pages/documentation/Documentation.js | 37 +++++++++---------- 3 files changed, 37 insertions(+), 45 deletions(-) diff --git a/src/renderer/assets/css/main.css b/src/renderer/assets/css/main.css index 6097644ee..59bba82c5 100644 --- a/src/renderer/assets/css/main.css +++ b/src/renderer/assets/css/main.css @@ -1728,14 +1728,9 @@ details[open] > summary::before { } .documentation-lottie_style { - --lottie-animation-container-width: 400px; - --lottie-animation-container-height: 400px; - --lottie-animation-container-background-color: transparent; - width: var(--lottie-animation-container-width); - height: var(--lottie-animation-container-height); - background-color: var(--lottie-animation-container-background-color); + width: 100%; + height: 100%; overflow: hidden; - margin: 0px !important; } .api_key-btn { diff --git a/src/renderer/src/stories/pages/contact-us/Contact.js b/src/renderer/src/stories/pages/contact-us/Contact.js index 169ebe89e..d74d8ddbe 100644 --- a/src/renderer/src/stories/pages/contact-us/Contact.js +++ b/src/renderer/src/stories/pages/contact-us/Contact.js @@ -21,27 +21,27 @@ export class ContactPage extends Page { render() { return html` -
-
-
-
-
-
-
-
-

- If you encounter any issues or have requests for new features, please create a new - ticket on our GitHub page. -

-
-
+
+
+
+
+
+
+
+
+

+ If you encounter any issues or have requests for new features, please create a new + ticket on our GitHub page. +

+
+
`; } } diff --git a/src/renderer/src/stories/pages/documentation/Documentation.js b/src/renderer/src/stories/pages/documentation/Documentation.js index 9b009c7c3..d08d9a546 100644 --- a/src/renderer/src/stories/pages/documentation/Documentation.js +++ b/src/renderer/src/stories/pages/documentation/Documentation.js @@ -4,6 +4,8 @@ import { Page } from "../Page.js"; import { startLottie } from "../../../dependencies/globals.js"; +import { Button } from "../../Button.js"; + export class DocumentationPage extends Page { header = { title: "Documentation", @@ -28,9 +30,16 @@ export class DocumentationPage extends Page {
+ ${new Button({ + label: "NWB GUIDE Documentation", + onClick: () => { + window.open("https://nwb-guide.readthedocs.io/en/latest/"); + }, + })}
-

Documentation for NWB GUIDE is in development.

+ +

Additional Resources

Conversion to NWB is powered by NeuroConv. @@ -59,27 +68,15 @@ export class DocumentationPage extends Page { >.

+

Acknowledgments

- NWB GUIDE is an open-source project developed by CatalystNeuro (Cody Baker, Garrett - Flynn, Ben Dichter) and Lawrence Berkeley National Laboratory (Ryan Ly, Oliver - Ruebel) and generously supported by - The Kavli Foundation. + + NWB GUIDE is an open-source project developed by CatalystNeuro (Cody Baker, Garrett + Flynn, Ben Dichter) and Lawrence Berkeley National Laboratory (Ryan Ly, Oliver + Ruebel) and generously supported by + The Kavli Foundation. +

- -
From cce4988d06de5368d476b59e3bd1c41a3431f98c Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 26 Oct 2023 21:51:07 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- .../src/stories/pages/contact-us/Contact.js | 36 +++++++++---------- .../pages/documentation/Documentation.js | 11 +++--- 2 files changed, 24 insertions(+), 23 deletions(-) diff --git a/src/renderer/src/stories/pages/contact-us/Contact.js b/src/renderer/src/stories/pages/contact-us/Contact.js index d74d8ddbe..169ebe89e 100644 --- a/src/renderer/src/stories/pages/contact-us/Contact.js +++ b/src/renderer/src/stories/pages/contact-us/Contact.js @@ -21,27 +21,27 @@ export class ContactPage extends Page { render() { return html` -
-
-
-
-
-
-
-
-

- If you encounter any issues or have requests for new features, please create a new - ticket on our GitHub page. -

+
+
+
+
+
+
+
+
+

+ If you encounter any issues or have requests for new features, please create a new + ticket on our GitHub page. +

+
+
-
-
`; } } diff --git a/src/renderer/src/stories/pages/documentation/Documentation.js b/src/renderer/src/stories/pages/documentation/Documentation.js index d08d9a546..ab1ae2f2f 100644 --- a/src/renderer/src/stories/pages/documentation/Documentation.js +++ b/src/renderer/src/stories/pages/documentation/Documentation.js @@ -38,7 +38,6 @@ export class DocumentationPage extends Page { })}
-

Additional Resources

Conversion to NWB is powered by @@ -71,10 +70,12 @@ export class DocumentationPage extends Page {

Acknowledgments

- NWB GUIDE is an open-source project developed by CatalystNeuro (Cody Baker, Garrett - Flynn, Ben Dichter) and Lawrence Berkeley National Laboratory (Ryan Ly, Oliver - Ruebel) and generously supported by - The Kavli Foundation. + NWB GUIDE is an open-source project developed by CatalystNeuro (Cody Baker, + Garrett Flynn, Ben Dichter) and Lawrence Berkeley National Laboratory (Ryan Ly, + Oliver Ruebel) and generously supported by + The Kavli Foundation.