From 4092698369a6dbc59d0a166e202ec26695ee3256 Mon Sep 17 00:00:00 2001 From: Tien Nam Dao Date: Wed, 1 Mar 2023 12:04:54 +0700 Subject: [PATCH] fix: remove unused Footer --- components/Footer/FooterLink.tsx | 58 ---------------------------- components/Footer/FooterSocial.tsx | 45 --------------------- components/Footer/index.tsx | 23 ----------- components/Footer/style.module.scss | 29 -------------- public/images/socials/facebook.png | Bin 688 -> 0 bytes public/images/socials/medium.png | Bin 1126 -> 0 bytes public/images/socials/tele.png | Bin 928 -> 0 bytes public/images/socials/twitter.png | Bin 768 -> 0 bytes public/images/socials/youtube.png | Bin 629 -> 0 bytes 9 files changed, 155 deletions(-) delete mode 100644 components/Footer/FooterLink.tsx delete mode 100644 components/Footer/FooterSocial.tsx delete mode 100644 components/Footer/index.tsx delete mode 100644 components/Footer/style.module.scss delete mode 100644 public/images/socials/facebook.png delete mode 100644 public/images/socials/medium.png delete mode 100644 public/images/socials/tele.png delete mode 100644 public/images/socials/twitter.png delete mode 100644 public/images/socials/youtube.png diff --git a/components/Footer/FooterLink.tsx b/components/Footer/FooterLink.tsx deleted file mode 100644 index fad44887..00000000 --- a/components/Footer/FooterLink.tsx +++ /dev/null @@ -1,58 +0,0 @@ -import clsx from 'clsx' -import styles from './style.module.scss' - -type LinkItem = { - label: string - link: string -} -type ColumnLink = LinkItem[] -const footerLinks: ColumnLink[] = [ - [ - { label: 'About us', link: '/about' }, - { label: 'Explorer', link: '/explorer' }, - { label: 'Bridge', link: '/bridge' }, - { label: 'Dex exchange', link: '/dex' } - ], - [ - { label: 'Documents', link: '/about' }, - { label: 'Exampies', link: '/explorer' }, - { label: 'Whitepaper', link: '/bridge' } - ], - [ - { label: 'Privacy and Policy', link: '/about' }, - { label: 'Term and Services', link: '/explorer' }, - { label: 'FAQs', link: '/bridge' }, - { label: 'Live Support', link: '/dex' } - ] -] - -type FooterLinkProps = { - classes?: string -} - -export default function FooterLink({ classes }: FooterLinkProps) { - return ( -
- {footerLinks.map((rows, index) => ( -
- {rows.map((row, index) => ( - - - {row.label} - - - ))} -
- ))} -
- ) -} diff --git a/components/Footer/FooterSocial.tsx b/components/Footer/FooterSocial.tsx deleted file mode 100644 index 66741b1a..00000000 --- a/components/Footer/FooterSocial.tsx +++ /dev/null @@ -1,45 +0,0 @@ -import clsx from 'clsx' -import Image from 'next/image' -import styles from './style.module.scss' - -const socialItems = [ - { - icon: '/images/socials/twitter.png', - link: '/#' - }, - { - icon: '/images/socials/facebook.png', - link: '/#' - }, - { - icon: '/images/socials/youtube.png', - link: '/#' - }, - { - icon: '/images/socials/medium.png', - link: '/#' - }, - { - icon: '/images/socials/tele.png', - link: '/#' - } -] - -type FooterSocialProps = { - classes?: string -} - -export default function FooterSocial({ classes }: FooterSocialProps) { - return ( -
-
Connect with us
-
- {socialItems.map(item => ( - - Astra explorer - - ))} -
-
- ) -} diff --git a/components/Footer/index.tsx b/components/Footer/index.tsx deleted file mode 100644 index cb61fc5f..00000000 --- a/components/Footer/index.tsx +++ /dev/null @@ -1,23 +0,0 @@ -import clsx from 'clsx' -import Container from '../Container' -import Logo from '../Logo' -import FooterLink from './FooterLink' -import FooterSocial from './FooterSocial' - -import styles from './style.module.scss' - -export default function Footer() { - return ( - - ) -} diff --git a/components/Footer/style.module.scss b/components/Footer/style.module.scss deleted file mode 100644 index fda35028..00000000 --- a/components/Footer/style.module.scss +++ /dev/null @@ -1,29 +0,0 @@ -.footer { - background-color: rgba(var(--contrast-color-theme--raw), 0.05); -} -.footerInfo { - display: flex; - @media screen and (max-width: 1220px) { - flex-wrap: wrap; - } - .wrapperLinks { - display: flex; - - div { - display: flex; - flex-direction: column; - a { - color: var(--contrast-color-theme-50); - } - } - } -} - -.footerSocial { - @media screen and (max-width: 1220px) { - margin-top: var(--offset-xl); - } - div:last-child { - display: flex; - } -} diff --git a/public/images/socials/facebook.png b/public/images/socials/facebook.png deleted file mode 100644 index bc8050ec78fa974b06198a628b906b717fe4d274..0000000000000000000000000000000000000000 GIT binary patch literal 0 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m#+y^ z6wRJ#w>{a0;Sx?bmw3a*rfebb%K1qZ2P+U zy|jacoZ?U{Dl8yxPBIc;injI+(Z*RJeIgZ%OKSuKG)>iP7l1@?e*?#VKzO-40Rfnz zlFd}Ive@x)ECB*3ePAHq6DWTRT-Q;-2O{zgpH4)RGNZ{TP@QYwUm+6hMx`PT`1ziG zpN~gMCnn}iha=8_2EyzE;o#w8lrHRQ*e9Q8Z{*A9!L9a=fXn6b;N>!s2p&F8+v;{j zxQT~>I`DDY#QC5YBov=lT%BcpkoQK%k5l$?*@wfaYJ$$RoWod{r_0HBoVqOb!JExb szn|xdi6GJNp69Z!8GSs>!{!CQ0MA*jmNbvP@c;k-07*qoM6N<$f|uPE<^TWy diff --git a/public/images/socials/tele.png b/public/images/socials/tele.png deleted file mode 100644 index 6b6758d898ec8b05c4ab69a949953e3d1408d617..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 928 zcmV;R17G}!P)P24n?u+rErTp9Pe(-kqsgSPBPfQpJUU-Gy=P|bo$oyEIk`vR9~{0Di$KUQ6ud$@ z0t(7&$xuOluaxjYz>EJuAuWVTmqelSD1^|JS)8Ob^v;YYuS7@JE)f;s*!@`0C~89_ zMzE6*cx*`HntnN|mu}1C#iABdKoCs;k?IA95oIMLKQK(~cC*MC%%zpQ4G|iQg_Y7i zzz!%xrBX5iyCBT4}2DPIGy2}+qA8g>A#Rt@Km`zgi>4@SOk zFjIIm%E_R@_Mp%2#z5a8^mV(f`{ZJ7Lj{<7%O3E%+Hfw^g$rb{v(>>Hi!Q|_7}MF+ zn(H;1-*6VNi_eDkA`JbHdr) zV%f#+ryt(e@BpKx0=Lc_T}RBw66stzhoY&_)8)o4ia&d!LOwEGo4hUs2A+PjVttz9 zO(EzcD}Rt{bNK>VG>P7B4_aGF z7#6u?^75GdZD4Gnt`MYoenSf63=?Bi;n@0DH<^^?6gNJVHkm8tt%TnTkFcpQ5+wY2Wp^N9s~`kBSW@Bus; zpG7@jZt{T2tT`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