From bccf9098b574b3da5e1797ecde8d3103ac9d4343 Mon Sep 17 00:00:00 2001 From: Shankar Warang Date: Sat, 2 Dec 2023 10:21:43 +0530 Subject: [PATCH 1/4] add Peeranha to footer --- components/layout/footer/footer-social.tsx | 5 +++++ data/config.ts | 1 + public/images/common/peeranha-logo-white.svg | 6 ++++++ 3 files changed, 12 insertions(+) create mode 100644 public/images/common/peeranha-logo-white.svg diff --git a/components/layout/footer/footer-social.tsx b/components/layout/footer/footer-social.tsx index 2e1b2fab..123e1a9b 100644 --- a/components/layout/footer/footer-social.tsx +++ b/components/layout/footer/footer-social.tsx @@ -8,6 +8,7 @@ import IconReddit from 'remixicon/icons/Logos/reddit-fill.svg'; import { socialMediaUrls } from 'data/config'; import IconMatrix from '../../../public/images/common/matrix-logo-white.svg'; +import IconPeeranha from '../../../public/images/common/peeranha-logo-white.svg'; const SOCIAL_LINKS = { Discord: { @@ -34,6 +35,10 @@ const SOCIAL_LINKS = { icon: IconMatrix, href: socialMediaUrls.matrixUrl, }, + Peeranha: { + icon: IconPeeranha, + href: socialMediaUrls.peeranhaUrl, + }, }; export const FooterSocial = () => { diff --git a/data/config.ts b/data/config.ts index 2d187dab..af35638e 100644 --- a/data/config.ts +++ b/data/config.ts @@ -5,4 +5,5 @@ export const socialMediaUrls = { redditUrl: 'https://www.reddit.com/r/edgeware', telegramUrl: 'https://t.me/heyedgeware', matrixUrl: 'https://matrix.to/#/#Edgeverse:matrix.org', + peeranhaUrl: 'https://edgeware.peeranha.io/', }; diff --git a/public/images/common/peeranha-logo-white.svg b/public/images/common/peeranha-logo-white.svg new file mode 100644 index 00000000..c5c3da4d --- /dev/null +++ b/public/images/common/peeranha-logo-white.svg @@ -0,0 +1,6 @@ + + + + + + From 1ade920f115f36c69c65530b48ecd88fa37a2b61 Mon Sep 17 00:00:00 2001 From: ramavats Date: Sat, 2 Dec 2023 21:19:16 +0530 Subject: [PATCH 2/4] footer fix --- components/layout/footer/footer-social.tsx | 19 +++++++++++++++++-- public/images/common/peeranha-logo-white.svg | 10 +++++----- 2 files changed, 22 insertions(+), 7 deletions(-) diff --git a/components/layout/footer/footer-social.tsx b/components/layout/footer/footer-social.tsx index 123e1a9b..cbdd45fc 100644 --- a/components/layout/footer/footer-social.tsx +++ b/components/layout/footer/footer-social.tsx @@ -44,7 +44,7 @@ const SOCIAL_LINKS = { export const FooterSocial = () => { const linkEntries = Object.entries(SOCIAL_LINKS); return ( -
+
{linkEntries.map(([key, linkData]) => { const Icon = linkData.icon; if (key === 'Matrix') { @@ -62,6 +62,21 @@ export const FooterSocial = () => { ); } + if (key === 'Peeranha') { + return ( + + + + ); + } + return ( { })}
); -}; +}; \ No newline at end of file diff --git a/public/images/common/peeranha-logo-white.svg b/public/images/common/peeranha-logo-white.svg index c5c3da4d..59d8755e 100644 --- a/public/images/common/peeranha-logo-white.svg +++ b/public/images/common/peeranha-logo-white.svg @@ -1,6 +1,6 @@ - - - - - + + + + + From bba116813867e4846ff7ff17d005a9485ab3098d Mon Sep 17 00:00:00 2001 From: "Shankar D. Warang" Date: Sat, 2 Dec 2023 21:24:12 +0530 Subject: [PATCH 3/4] prettier --- components/layout/footer/footer-social.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/layout/footer/footer-social.tsx b/components/layout/footer/footer-social.tsx index cbdd45fc..d61531aa 100644 --- a/components/layout/footer/footer-social.tsx +++ b/components/layout/footer/footer-social.tsx @@ -44,7 +44,7 @@ const SOCIAL_LINKS = { export const FooterSocial = () => { const linkEntries = Object.entries(SOCIAL_LINKS); return ( -
+
{linkEntries.map(([key, linkData]) => { const Icon = linkData.icon; if (key === 'Matrix') { @@ -92,4 +92,4 @@ export const FooterSocial = () => { })}
); -}; \ No newline at end of file +}; From 971fa709b663bfc5f1672fcdcc4e2530ec4f2247 Mon Sep 17 00:00:00 2001 From: "Shankar D. Warang" Date: Thu, 23 May 2024 01:07:29 +0530 Subject: [PATCH 4/4] update positioning for footer logos --- data/config.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data/config.ts b/data/config.ts index af35638e..e89751b3 100644 --- a/data/config.ts +++ b/data/config.ts @@ -2,8 +2,8 @@ export const socialMediaUrls = { discordUrl: 'https://discord.gg/4pnzjWTJ9b', twitterUrl: 'https://twitter.com/EdgewareDAO', githubUrl: 'https://github.com/orgs/Edgeware-Network', - redditUrl: 'https://www.reddit.com/r/edgeware', + peeranhaUrl: 'https://edgeware.peeranha.io/', telegramUrl: 'https://t.me/heyedgeware', + redditUrl: 'https://www.reddit.com/r/edgeware', matrixUrl: 'https://matrix.to/#/#Edgeverse:matrix.org', - peeranhaUrl: 'https://edgeware.peeranha.io/', };