From 4dd7cbe2cad7822766b16045377564cc44f8d128 Mon Sep 17 00:00:00 2001 From: Valtteri Karesto Date: Wed, 11 May 2022 13:07:08 +0300 Subject: [PATCH] Updated main modal --- components/Navigation.tsx | 182 +++++++++++++++++++++++++------------- public/accept.svg | 6 ++ public/carbon.svg | 6 ++ public/firewall.svg | 11 +++ public/notary.svg | 6 ++ public/peggy.svg | 9 ++ public/starter.svg | 6 ++ 7 files changed, 163 insertions(+), 63 deletions(-) create mode 100644 public/accept.svg create mode 100644 public/carbon.svg create mode 100644 public/firewall.svg create mode 100644 public/notary.svg create mode 100644 public/peggy.svg create mode 100644 public/starter.svg diff --git a/components/Navigation.tsx b/components/Navigation.tsx index 3660540..067e518 100644 --- a/components/Navigation.tsx +++ b/components/Navigation.tsx @@ -1,5 +1,6 @@ import React from "react"; import Link from "next/link"; +import Image from "next/image"; import { useSnapshot } from "valtio"; import { useRouter } from "next/router"; @@ -28,6 +29,13 @@ import { } from "./Dialog"; import PanelBox from "./PanelBox"; import { templateFileIds } from "../state/constants"; +import { styled } from "../stitches.config"; + +const ImageWrapper = styled(Flex, { + position: "relative", + mt: "$2", + mb: "$10", +}); const Navigation = () => { const router = useRouter(); @@ -128,9 +136,10 @@ const Navigation = () => { { { css={{ borderBottom: "1px solid $colors$mauve5", width: "100%", + minWidth: "240px", flexDirection: "column", p: "$7", - height: "100%", backgroundColor: "$mauve2", "@md": { width: "30%", @@ -255,67 +263,115 @@ const Navigation = () => { -
- + - - Starter - - Just a basic starter with essential imports - - - - Firewall - - This Hook essentially checks a blacklist of accounts - - - - Notary - - Collecting signatures for multi-sign transactions - - - - Carbon - Send a percentage of sum to an address - - - Peggy - An oracle based stable coin hook - - -
+ + Firewall icon + + Starter + + + Just a basic starter with essential imports, just + accepts any transaction coming through + + + + + + Firewall icon + + Firewall + + This Hook essentially checks a blacklist of accounts + + + + + Firewall icon + + Notary + + Collecting signatures for multi-sign transactions + + + + + Firewall icon + + Carbon + Send a percentage of sum to an address + + + + Firewall icon + + Peggy + An oracle based stable coin hook + + + + + + + diff --git a/public/carbon.svg b/public/carbon.svg new file mode 100644 index 0000000..e21da40 --- /dev/null +++ b/public/carbon.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/public/firewall.svg b/public/firewall.svg new file mode 100644 index 0000000..eed2207 --- /dev/null +++ b/public/firewall.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/public/notary.svg b/public/notary.svg new file mode 100644 index 0000000..2e8f7bd --- /dev/null +++ b/public/notary.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/public/peggy.svg b/public/peggy.svg new file mode 100644 index 0000000..9ce5e95 --- /dev/null +++ b/public/peggy.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/public/starter.svg b/public/starter.svg new file mode 100644 index 0000000..40793dd --- /dev/null +++ b/public/starter.svg @@ -0,0 +1,6 @@ + + + + + +