-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ea4c6dd
commit bca47f2
Showing
34 changed files
with
165 additions
and
157 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
src/components/FeatureV2.tsx → src/components/Features/Feature.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
src/components/Header/HeaderMobile.tsx → src/components/Header/MobileHeader.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,9 @@ | ||
const medias: { icon: string; link: string }[] = [ | ||
const headerData = [ | ||
{ icon: "/images/social-media/x-black-bg.svg", link: "https://twitter.com/DarwiniaNetwork" }, | ||
{ icon: "/images/social-media/discord-black-bg.svg", link: "https://discord.com/invite/aQdK9H4MZS" }, | ||
]; | ||
|
||
const footerData: { icon: string; link: string }[] = [ | ||
{ icon: "/images/social-media/x-white-bg.svg", link: "https://twitter.com/DarwiniaNetwork" }, | ||
{ icon: "/images/social-media/telegram-white-bg.svg", link: "https://t.me/DarwiniaNetwork" }, | ||
{ icon: "/images/social-media/discord-white-bg.svg", link: "https://discord.com/invite/aQdK9H4MZS" }, | ||
|
@@ -8,10 +13,10 @@ const medias: { icon: string; link: string }[] = [ | |
{ icon: "/images/social-media/email-white-bg.svg", link: "mailto:[email protected]" }, | ||
]; | ||
|
||
export default function FooterSocialMedia() { | ||
export function FooterSocialMedia() { | ||
return ( | ||
<div className="flex items-center gap-5 lg:gap-medium"> | ||
{medias.map(({ icon, link }, index) => ( | ||
{footerData.map(({ icon, link }, index) => ( | ||
<a | ||
key={index} | ||
rel="noopener noreferrer" | ||
|
@@ -25,3 +30,21 @@ export default function FooterSocialMedia() { | |
</div> | ||
); | ||
} | ||
|
||
export function HeaderSocialMedia() { | ||
return ( | ||
<div className="flex items-center gap-[2.5rem]"> | ||
{headerData.map((media, index) => ( | ||
<a | ||
key={index} | ||
rel="noopener noreferrer" | ||
target="_blank" | ||
href={media.link} | ||
className="shrink-0 transition-transform hover:scale-105 active:scale-95" | ||
> | ||
<img width={34} height={34} alt="" src={media.icon} className="shrink-0 w-[2.125rem] h-[2.125rem]" /> | ||
</a> | ||
))} | ||
</div> | ||
); | ||
} |
2 changes: 1 addition & 1 deletion
2
src/components/SubscribeSection.tsx → src/components/SubscribeWrap.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.