Skip to content

Commit

Permalink
Merge pull request #136 from AlphadayHQ/feat/add-chiliz
Browse files Browse the repository at this point in the history
[feat] [ALPHA-4030] Add New Partners
  • Loading branch information
Xavier-Charles authored Oct 20, 2023
2 parents 91cb714 + 2155a2b commit a69c734
Show file tree
Hide file tree
Showing 7 changed files with 313 additions and 107 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"autoprefixer": "^10.4.4",
"postcss": "^8.4.12",
"sitemaps": "^1.0.0",
"tailwindcss": "^3.0.24",
"tailwindcss": "3.3.3",
"vite": "^2.9.2"
}
}
}
13 changes: 8 additions & 5 deletions src/components/home/Partners.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,20 @@ function Partners() {
</h2>
</div>
<div className="grid place-content-center grid-cols-2 md:grid-cols-3 lg:grid-cols-6 w-full mx-auto gap-4">
{partners.map((item) => {
{partners.map((item, index) => {
return (
<figure
key={item.id}
className={`flex justify-center ${
item.id === "13" ? "col-[1/-1] h-24" : ""
}`}
className={`flex justify-center
${index === partners.length - 4 && "[grid-column-end:_-5]"}`}
>
<a
target="_blank"
href={`https://app.alphaday.com/b/${item.slug}`}
href={
item.slug
? `https://app.alphaday.com/b/${item.slug}`
: undefined
}
className="transcale flex items-center"
>
<img
Expand Down
24 changes: 24 additions & 0 deletions src/components/home/partnersData.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ import theGraph from "../../images/partners/theGraph.png";
import zcash from "../../images/partners/zcash.png";
import verasity from "../../images/partners/verasity.png";
import sia from "../../images/partners/sia.png";
import chiliz from "../../images/partners/chiliz.png";
import ethereumClassic from "../../images/partners/ethereum-classic.png";
import oceanProtocol from "../../images/partners/ocean-protocol.png";

const partners = [
{
Expand Down Expand Up @@ -104,6 +107,27 @@ const partners = [
slug: "zcash",
size: "w-[90px]",
},
{
id: "14",
img: chiliz,
partner: "Chiliz",
slug: undefined,
size: "w-[90px]",
},
{
id: "15",
img: ethereumClassic,
partner: "Ethereum Classic",
slug: "ethereumclassic",
size: "w-[90px]",
},
{
id: "16",
img: oceanProtocol,
partner: "Ocean Protocol",
slug: "oceanprotocol",
size: "w-[90px]",
},
];

export { partners };
Binary file added src/images/partners/chiliz.png
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 src/images/partners/ethereum-classic.png
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 src/images/partners/ocean-protocol.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit a69c734

Please sign in to comment.