-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #40 from Topledger/update-website
update website frontpage
- Loading branch information
Showing
16 changed files
with
542 additions
and
153 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
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 |
---|---|---|
@@ -0,0 +1,69 @@ | ||
import cx from "classnames"; | ||
|
||
import styles from "./index.module.scss"; | ||
|
||
const trustees = [ | ||
{ | ||
link: "https://tulip.garden/", | ||
icon: "/assets/images/trustee-icons/solana-foundation.svg", | ||
name: "Solana Foundation", | ||
}, | ||
{ | ||
link: "https://www.metaplex.com/", | ||
icon: "/assets/images/trustee-icons/metaplex.svg", | ||
name: "Metaplex", | ||
}, | ||
{ | ||
link: "https://tulip.garden/", | ||
icon: "/assets/images/trustee-icons/orca.svg", | ||
name: "Orca", | ||
}, | ||
{ | ||
link: "https://invariant.app/", | ||
icon: "/assets/images/trustee-icons/drift.svg", | ||
name: "Drift", | ||
}, | ||
{ | ||
link: "https://tulip.garden/", | ||
icon: "/assets/images/trustee-icons/squads.svg", | ||
name: "Squads", | ||
}, | ||
{ | ||
link: "https://tulip.garden/", | ||
icon: "/assets/images/trustee-icons/switchboard.svg", | ||
name: "Switchboard", | ||
}, | ||
{ | ||
link: "https://gari.network/", | ||
icon: "/assets/images/trustee-icons/drip.svg", | ||
name: "Drip", | ||
}, | ||
{ | ||
link: "https://squads.so/", | ||
icon: "/assets/images/trustee-icons/frakt.svg", | ||
name: "Frakt", | ||
}, | ||
]; | ||
|
||
const TrustedBySection = () => { | ||
return ( | ||
<section className={cx("main-Section", styles.trustees)}> | ||
<div className="trustedText"> | ||
<p>Trusted by</p> | ||
</div> | ||
<div className={styles.imagesContainer}> | ||
<div className={styles.bottomImages}> | ||
{trustees.map((trustee) => ( | ||
<div className="icon"> | ||
<a href={trustee.link} target="_blank" rel="noreferrer"> | ||
<img src={trustee.icon} alt={trustee.name} /> | ||
</a> | ||
</div> | ||
))} | ||
</div> | ||
</div> | ||
</section> | ||
); | ||
}; | ||
|
||
export default TrustedBySection; |
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 |
---|---|---|
@@ -0,0 +1,117 @@ | ||
@import "@/assets/styles/mixins.scss"; | ||
|
||
.trustees { | ||
--scaling-factor: 1.3; | ||
|
||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
background-color: rgba(255, 255, 255, 0); | ||
backdrop-filter: blur(8px); | ||
padding: calc(10.4rem / var(--scaling-factor)) | ||
calc(17.6rem / var(--scaling-factor)) calc(12.6rem / var(--scaling-factor)); | ||
|
||
&::before { | ||
content: " "; | ||
background-image: url(/assets/images/dashboard-background.png); | ||
display: inline-flex; | ||
position: absolute; | ||
width: 100%; | ||
height: calc(100% + 2rem); | ||
left: 0; | ||
top: 0; | ||
opacity: 0.15; | ||
z-index: -1; | ||
} | ||
|
||
:global { | ||
.trustedText { | ||
position: relative; | ||
padding-bottom: 0.5rem; | ||
|
||
&::after { | ||
content: " "; | ||
display: inline-block; | ||
position: absolute; | ||
bottom: -1px; | ||
left: 0; | ||
width: 100%; | ||
border-bottom: 2px solid #1a3989; | ||
z-index: 1; | ||
} | ||
} | ||
} | ||
|
||
.imagesContainer { | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
padding: calc(5rem / var(--scaling-factor)) | ||
calc(10rem / var(--scaling-factor)); | ||
backdrop-filter: blur(20px); | ||
--border-radius: calc(5.33rem / var(--scaling-factor)); | ||
border-radius: var(--border-radius); | ||
@include gradient-border(var(--border-radius)); | ||
box-shadow: 0px 2px 4px rgba(255, 255, 255, 1); | ||
|
||
@media screen and (max-width: 1200px) { | ||
--border-radius: calc(2rem / var(--scaling-factor)); | ||
padding: calc(2rem / var(--scaling-factor)); | ||
} | ||
|
||
&::before { | ||
content: " "; | ||
position: absolute; | ||
width: 100%; | ||
height: 100%; | ||
top: 0; | ||
left: 0; | ||
border-radius: var(--border-radius); | ||
filter: blur(20px); | ||
background-image: url("/assets/images/clientbg.webp"); | ||
background-size: cover; | ||
background-position: 50% 50%; | ||
background-attachment: fixed; | ||
} | ||
|
||
.bottomImages { | ||
width: calc(54rem / var(--scaling-factor)); | ||
padding: calc(2.66rem / var(--scaling-factor)) | ||
calc(8.66rem / var(--scaling-factor)); | ||
|
||
display: flex; | ||
flex-wrap: wrap; | ||
align-items: center; | ||
justify-content: center; | ||
gap: calc(2.33rem / var(--scaling-factor)); | ||
|
||
border-radius: calc(3.2rem / var(--scaling-factor)); | ||
border: 1px solid rgba(26, 57, 137, 0.25); | ||
background: rgba(26, 57, 137, 0.64); | ||
box-shadow: 0px 4px 9px 0px rgba(80, 80, 160, 0.25); | ||
|
||
:global { | ||
.icon { | ||
height: calc(3rem / var(--scaling-factor)); | ||
display: inline-flex; | ||
align-items: center; | ||
} | ||
} | ||
|
||
@media screen and (max-width: 1200px) { | ||
width: auto; | ||
padding: calc(1rem / var(--scaling-factor)); | ||
border-radius: calc(1.5rem / var(--scaling-factor)); | ||
} | ||
} | ||
|
||
@media screen and (max-width: 1200px) { | ||
margin: 0rem 1rem; | ||
} | ||
} | ||
|
||
@media screen and (max-width: 1200px) { | ||
padding: calc(2rem / var(--scaling-factor)) | ||
calc(0rem / var(--scaling-factor)) calc(2rem / var(--scaling-factor)); | ||
} | ||
} |
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
Oops, something went wrong.