From e2a802f2b7e55beb9662aeab12b1703515abf099 Mon Sep 17 00:00:00 2001 From: name-user1 <101495985+name-user1@users.noreply.github.com> Date: Tue, 13 Sep 2022 08:19:04 +0300 Subject: [PATCH] UI changes (#9) * UI changes * Update sidebar brand image Co-authored-by: name-user1 Co-authored-by: Serkan Reis --- components/Layout.tsx | 2 +- components/Sidebar.tsx | 6 ++-- .../collections/creation/RoyaltyDetails.tsx | 14 ++++++--- .../collections/creation/UploadDetails.tsx | 28 +++++++++++++----- .../collections/creation/WhitelistDetails.tsx | 21 +++++++++---- pages/collections/create.tsx | 2 +- pages/index.tsx | 2 +- public/stargaze-text.png | Bin 1015162 -> 0 bytes public/stargaze_logo_800.svg | 16 ++++++++++ tailwind.config.js | 12 ++++---- 10 files changed, 73 insertions(+), 30 deletions(-) delete mode 100644 public/stargaze-text.png create mode 100644 public/stargaze_logo_800.svg diff --git a/components/Layout.tsx b/components/Layout.tsx index e9200cd..81f058a 100644 --- a/components/Layout.tsx +++ b/components/Layout.tsx @@ -28,7 +28,7 @@ export const Layout = ({ children, metadata = {} }: LayoutProps) => { */} {/* actual layout container */} -
+
{ {/* Stargaze brand as home button */} [e.preventDefault(), router.push('/brand')]}> - Brand Text + Brand Text {/* wallet button */} @@ -33,9 +33,9 @@ export const Sidebar = () => { {
{ @@ -61,14 +61,17 @@ export const RoyaltyDetails = ({ onChange }: RoyaltyDetailsProps) => { type="radio" value="None" /> -
{ @@ -77,7 +80,10 @@ export const RoyaltyDetails = ({ onChange }: RoyaltyDetailsProps) => { type="radio" value="Existing" /> -
diff --git a/components/collections/creation/UploadDetails.tsx b/components/collections/creation/UploadDetails.tsx index c501739..2b6ba2c 100644 --- a/components/collections/creation/UploadDetails.tsx +++ b/components/collections/creation/UploadDetails.tsx @@ -204,7 +204,7 @@ export const UploadDetails = ({ onChange }: UploadDetailsProps) => {
{ @@ -213,7 +213,10 @@ export const UploadDetails = ({ onChange }: UploadDetailsProps) => { type="radio" value="Existing" /> -
@@ -221,7 +224,7 @@ export const UploadDetails = ({ onChange }: UploadDetailsProps) => {
{ @@ -230,7 +233,10 @@ export const UploadDetails = ({ onChange }: UploadDetailsProps) => { type="radio" value="New" /> -
@@ -266,7 +272,7 @@ export const UploadDetails = ({ onChange }: UploadDetailsProps) => {
{ @@ -275,7 +281,10 @@ export const UploadDetails = ({ onChange }: UploadDetailsProps) => { type="radio" value="nft-storage" /> -
@@ -283,7 +292,7 @@ export const UploadDetails = ({ onChange }: UploadDetailsProps) => {
{ @@ -292,7 +301,10 @@ export const UploadDetails = ({ onChange }: UploadDetailsProps) => { type="radio" value="pinata" /> -
diff --git a/components/collections/creation/WhitelistDetails.tsx b/components/collections/creation/WhitelistDetails.tsx index ad7d24b..77eaace 100644 --- a/components/collections/creation/WhitelistDetails.tsx +++ b/components/collections/creation/WhitelistDetails.tsx @@ -97,7 +97,7 @@ export const WhitelistDetails = ({ onChange }: WhitelistDetailsProps) => {
{ @@ -106,14 +106,17 @@ export const WhitelistDetails = ({ onChange }: WhitelistDetailsProps) => { type="radio" value="None" /> -
{ @@ -122,14 +125,17 @@ export const WhitelistDetails = ({ onChange }: WhitelistDetailsProps) => { type="radio" value="Existing" /> -
{ @@ -138,7 +144,10 @@ export const WhitelistDetails = ({ onChange }: WhitelistDetailsProps) => { type="radio" value="New" /> -
diff --git a/pages/collections/create.tsx b/pages/collections/create.tsx index eeacfae..3732a90 100644 --- a/pages/collections/create.tsx +++ b/pages/collections/create.tsx @@ -464,7 +464,7 @@ const CollectionCreationPage: NextPage = () => {