Skip to content

Commit

Permalink
fix: darkmode logos
Browse files Browse the repository at this point in the history
  • Loading branch information
andyv09 committed Dec 5, 2023
1 parent 7bfef3b commit ee498f0
Show file tree
Hide file tree
Showing 8 changed files with 214 additions and 6 deletions.
99 changes: 99 additions & 0 deletions packages/dapp/public/images/MetaMask_Logo_White.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 19 additions & 0 deletions packages/dapp/public/images/Polygon_ID_logo_light.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions packages/dapp/public/images/ceramic_text_light.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added packages/dapp/public/images/download.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions packages/dapp/public/images/reputex_light.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions packages/dapp/public/images/veramo_light.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed packages/dapp/public/images/veramo_text.png
Binary file not shown.
70 changes: 64 additions & 6 deletions packages/dapp/src/app/[locale]/(public)/ecosystem/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,55 @@ export const metadata: Metadata = {

// const integrations: ProjectIconProps[] = [];

const partners: ProjectIconProps[] = [
const partnersLight: ProjectIconProps[] = [
{
icon: '/images/MetaMask_Logo_White.svg',
href: 'https://metamask.io',
alt: 'MetaMask',
width: 192,
height: 96,
},
{
icon: '/images/Polygon_ID_logo_light.svg',
href: 'https://polygon.technology/polygon-id',
alt: 'PolygonID',
width: 192,
height: 96,
},
{
icon: '/images/ceramic_text_light.svg',
href: 'https://ceramic.network/',
alt: 'Ceramic',
width: 192,
height: 96,
},
{
icon: '/images/veramo_light.svg',
href: 'https://veramo.io/',
alt: 'Veramo',
width: 192,
height: 96,
},
{
icon: '/images/monokee_logo.png',
href: 'https://monokee.com/en/homepage/',
alt: 'monokee',
width: 192,
height: 96,
},
];
const projectsLight: ProjectIconProps[] = [
{
icon: '/images/reputex_light.svg',
href: 'https://reputex.io/',
alt: 'MetaMask',
width: 156,
height: 96,
rounded: true,
},
];

const partnersDark: ProjectIconProps[] = [
{
icon: '/images/MetaMask_Logo.svg',
href: 'https://metamask.io',
Expand Down Expand Up @@ -47,7 +95,7 @@ const partners: ProjectIconProps[] = [
height: 96,
},
];
const projects: ProjectIconProps[] = [
const projectsDark: ProjectIconProps[] = [
{
icon: '/images/reputex.png',
href: 'https://reputex.io/',
Expand Down Expand Up @@ -75,16 +123,26 @@ export default function Page() {
<h1 className="font-ubuntu dark:text-navy-blue-50 mb-4 text-center text-2xl font-medium text-gray-900">
Applications
</h1>
<div className="flex flex-wrap justify-center gap-x-12">
{projects.map((partner) => (
<div className="flex flex-wrap justify-center gap-x-12 dark:hidden">
{projectsDark.map((partner) => (
<ProjectIcon key={partner.href} {...partner} />
))}
</div>
<div className="hidden flex-wrap justify-center gap-x-12 dark:flex">
{projectsLight.map((partner) => (
<ProjectIcon key={partner.href} {...partner} />
))}
</div>
<h1 className="font-ubuntu dark:text-navy-blue-50 mb-4 mt-12 text-center text-2xl font-medium text-gray-900">
Partners
</h1>
<div className="flex flex-wrap justify-center gap-x-12">
{partners.map((partner) => (
<div className="flex flex-wrap justify-center gap-x-12 dark:hidden">
{partnersDark.map((partner) => (
<ProjectIcon key={partner.href} {...partner} />
))}
</div>
<div className="hidden flex-wrap justify-center gap-x-12 dark:flex">
{partnersLight.map((partner) => (
<ProjectIcon key={partner.href} {...partner} />
))}
</div>
Expand Down

0 comments on commit ee498f0

Please sign in to comment.