From 2737f5cdb9698c009b56d928d5baed8d40bf367e Mon Sep 17 00:00:00 2001 From: Kumaraguru <19eucs071@skcet.ac.in> Date: Thu, 7 Sep 2023 03:07:53 +0530 Subject: [PATCH] dialog sizing and loader svg --- components/Benchmarks.js | 2 +- components/Ecosystem.js | 3 ++- components/Overview.js | 22 +++++++++++++--------- components/Timeline.js | 6 +++--- components/atoms/Loader.js | 21 ++++++++++++++++++++- 5 files changed, 39 insertions(+), 15 deletions(-) diff --git a/components/Benchmarks.js b/components/Benchmarks.js index 2a4f05b..52b2b53 100644 --- a/components/Benchmarks.js +++ b/components/Benchmarks.js @@ -102,7 +102,7 @@ export default function Benchmarks(props) { onClose={onCloseModal} center > -
+

{currentBenchmark ? "Edit" : "Add new"} benchmark diff --git a/components/Ecosystem.js b/components/Ecosystem.js index 7657465..40527a9 100644 --- a/components/Ecosystem.js +++ b/components/Ecosystem.js @@ -114,7 +114,7 @@ export default function Ecosystem(props) { onClose={onCloseModal} center > -
+

{current ? "Edit" : "Add new"} project

@@ -174,6 +174,7 @@ export default function Ecosystem(props) {
+ {props.isLoggedIn && (
- Community metrics include data related to adoption, user base, - social audience and outreach. + Community metrics can be useful in evaluating the growth trajectory of Waku. These metrics include data related to developer adoption, user base and other parts of Waku community.
@@ -143,7 +142,7 @@ export default function Overview(props) {
- Network metrics include data related to Waku node delivery and network + Network metrics include statistical and benchmark data related to Waku network. These metrics include data related to node volume, network capacity, scalability and performance.
@@ -153,17 +152,19 @@ export default function Overview(props) {
+ +
+ >

Documentation

+ > + />
+
+
+ >

Propose a new metric

+ > + />
+
); } diff --git a/components/Timeline.js b/components/Timeline.js index cf41b15..bc2e8f5 100644 --- a/components/Timeline.js +++ b/components/Timeline.js @@ -86,7 +86,7 @@ export default function Timeline(props) { onClose={onCloseModal} center > -
+

Snapshot

@@ -146,7 +146,7 @@ export default function Timeline(props) { - + {props.saves.map((save, index) => ( @@ -163,7 +163,7 @@ export default function Timeline(props) { index !== props.saves?.length - 1 ? index + 1 : null ); }} - className="inline-block rounded bg-black px-4 py-2 text-xs font-medium text-white hover:bg-indigo-700" + className="inline-block rounded bg-black px-4 py-2 text-xs font-medium text-white hover:bg-white hover:text-black" > View snapshot diff --git a/components/atoms/Loader.js b/components/atoms/Loader.js index e9caa9b..03e9599 100644 --- a/components/atoms/Loader.js +++ b/components/atoms/Loader.js @@ -1,5 +1,24 @@ "use client"; export default function Loader() { - return
Loading...
; + return
+ + + + + + + + + + + +
; }