diff --git a/docusaurus.config.ts b/docusaurus.config.ts index d6717fb1..c0c79da4 100644 --- a/docusaurus.config.ts +++ b/docusaurus.config.ts @@ -107,11 +107,12 @@ const config: Config = { style: "light", logo: { alt: "Flare Logo", - src: "img/flare_tbfd_light.svg", - srcDark: "img/flare_tbfd_dark.svg", + src: "img/logo/FooterLogoLight.svg", + srcDark: "img/logo/FooterLogoDark.svg", href: "https://flare.network/", - width: 300, - height: 25, + width: 405, + height: 35.25, + target: "_blank", }, links: [ { @@ -129,36 +130,6 @@ const config: Config = { label: "Audits", to: "/support/audits", }, - ], - }, - { - title: "Community", - items: [ - { - label: "X", - href: "https://x.com/FlareNetworks", - }, - { - label: "Telegram", - href: "https://t.me/FlareNetwork", - }, - { - label: "YouTube", - href: "https://www.youtube.com/channel/UCDyqyTWHYMWY5ie6xOCgG0w", - }, - ], - }, - { - title: "More", - items: [ - { - label: "GitHub", - href: "https://github.com/flare-foundation/", - }, - { - label: "Grants", - href: "https://flare.network/grants/", - }, { label: "Terms & Privacy", href: "https://flare.network/privacy-policy/", @@ -166,7 +137,7 @@ const config: Config = { ], }, { - title: "Explorers", + title: "Developer links", items: [ { label: "Flarescan", @@ -180,10 +151,18 @@ const config: Config = { label: "Flare FTSO Monitor", href: "https://flare-ftso-monitor.flare.network/", }, + { + label: "Flare P-Chain Explorer", + href: "https://flare.space/dapp/p-chain-explorer/", + }, + { + label: "Grants", + href: "https://flare.network/grants/", + }, ], }, ], - copyright: `Copyright © Flare Networks ${new Date().getFullYear()}.`, + copyright: `Copyright © Flare Networks ${new Date().getFullYear()}`, }, prism: { additionalLanguages: ["solidity", "bash", "json", "toml"], diff --git a/src/components/HomepageFeatures/featureCard.module.css b/src/components/HomepageFeatures/featureCard.module.css new file mode 100644 index 00000000..96f738c8 --- /dev/null +++ b/src/components/HomepageFeatures/featureCard.module.css @@ -0,0 +1,60 @@ +.card { + border-radius: 11px; + background-color: var(--ifm-card-background-color); + display: flex; + flex-direction: column; + transition: all 0.2s ease-in-out; + padding: 40px 24px; + height: 100%; + gap: 8px; +} + +[data-theme="dark"] .link { + color: var(--ifm-color-gray-500); +} + +[data-theme="light"] .link { + color: #000000; +} + +[data-theme="dark"] .link:hover { + text-decoration: none; + color: var(--ifm-color-gray-500); +} +[data-theme="light"] .link:hover { + text-decoration: none; + color: #000000; +} + +.card:hover { + transform: translateY(-10px); +} + +.heading { + display: flex; + justify-content: space-between; + align-items: center; +} +.title { + display: flex; + align-items: center; + gap: 8px; +} + +.iconBox { + width: 50px; + height: 50px; +} + +.featureSvg { + width: 100%; + height: 100%; +} + +[data-theme="dark"] .featureSvg { + fill: #ffffff; +} + +[data-theme="light"] .featureSvg { + fill: #000000; +} diff --git a/src/components/HomepageFeatures/featureCard.tsx b/src/components/HomepageFeatures/featureCard.tsx new file mode 100644 index 00000000..90ea4dad --- /dev/null +++ b/src/components/HomepageFeatures/featureCard.tsx @@ -0,0 +1,41 @@ +import { FeatureItem } from "./featuresSection"; +import classes from "./featureCard.module.css"; +import Link from "@docusaurus/Link"; +import Heading from "@theme/Heading"; + +export default function FeatureCard({ + title, + Svg, + description, + linkToProtocolDocs, +}: FeatureItem) { + return ( + +
{description}
+{description}
-+ The decentralization origin for Flare builders. Written by builders, + for builders +
+ +{siteConfig.tagline}
-