Skip to content

Commit

Permalink
Fix/agentathon updates (#542)
Browse files Browse the repository at this point in the history
* fix: πŸ› added new judges, partners, agents

* fix: πŸ› update links for judges and partners

* fix: πŸ› create function for getting logo height

* fix: πŸ› updated tracks component

* fix: πŸ› put logo height in content instead of component
  • Loading branch information
NotRohan authored Jan 29, 2025
1 parent e8bc466 commit 9bdedb6
Show file tree
Hide file tree
Showing 29 changed files with 212 additions and 41 deletions.
Binary file modified public/images/Agentathon/agent-trading.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 public/images/Agentathon/gaib.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 modified public/images/Agentathon/human-approval.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 public/images/Agentathon/judges/andreas.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 public/images/Agentathon/judges/connor.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 public/images/Agentathon/judges/david.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 public/images/Agentathon/judges/sarp.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 modified public/images/Agentathon/multisig.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 public/images/Agentathon/partners/avalabs.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 public/images/Agentathon/partners/enso.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 public/images/Agentathon/partners/lit.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 modified public/images/Agentathon/possibilities/automations.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 modified public/images/Agentathon/possibilities/guards.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 modified public/images/Agentathon/possibilities/multisig.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 modified public/images/Agentathon/possibilities/roles.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 modified public/images/Agentathon/possibilities/spendinglimits.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 modified public/images/Agentathon/possibilities/subaccounts.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 modified public/images/Agentathon/possibilities/timelocking.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 modified public/images/Agentathon/possibilities/whitelisting.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 modified public/images/Agentathon/prize-amount.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 public/images/Agentathon/tracks/avalanche.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 public/images/Agentathon/tracks/enso.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 public/images/Agentathon/tracks/lit.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 modified public/images/Agentathon/treasury.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/components/Agentathon/BestAgents/style.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
gap: 20px;
align-items: center;
justify-content: center;
max-width: 1156px;
max-width: 1326px;
width: 100%;
padding-bottom: 40px;
padding-left: 16px;
Expand Down
8 changes: 4 additions & 4 deletions src/components/Agentathon/LoopingImages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ const LoopingImages = ({ items }: Partial<BaseBlock>) => {
)
}

await sleep(100)
await sleep(200)

setCurrentItems((prev) => {
if (!shiftedItem) return prev
Expand All @@ -69,7 +69,7 @@ const LoopingImages = ({ items }: Partial<BaseBlock>) => {
return newItems
})

await sleep(2000)
await sleep(1000)

if (scopeLeftBracket.current && scopeRightBracket.current) {
await Promise.all([
Expand All @@ -90,11 +90,11 @@ const LoopingImages = ({ items }: Partial<BaseBlock>) => {
animateRightBracket(scopeRightBracket.current, { rotate: 45 }, { duration: 0 })
}

await sleep(1000)
await sleep(500)
animateItems()
}

animationTimeoutRef.current = setTimeout(animateItems, 3000)
animationTimeoutRef.current = setTimeout(animateItems, 500)

return () => {
if (animationTimeoutRef.current) {
Expand Down
12 changes: 11 additions & 1 deletion src/components/Agentathon/Tracks/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,17 @@ export default function Tracks({ caption, title, items, buttons }: BaseBlock) {
<div className={css.supportedByLogos}>
{selectedTrackData?.items?.map((item, index) => {
if (!item?.image?.src) return null
return <img src={item.image.src} alt={item.image.alt} key={index} className={css.supportedByLogo} />
return (
<img
src={item.image.src}
alt={item.image.alt}
key={index}
style={{
height: item.image.height,
}}
className={css.supportedByLogo}
/>
)
})}
</div>
</div>
Expand Down
3 changes: 2 additions & 1 deletion src/components/Agentathon/Tracks/style.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@

.selectedTrackContainer {
height: 480px;
padding: 30px 30px 30px 30px;
padding: 20px 20px 20px 20px;
border-radius: 8px;
border: 1px solid var(--mui-palette-border-light);
background: rgba(255, 255, 255, 0.01);
Expand Down Expand Up @@ -138,6 +138,7 @@
.selectedTrackContainer {
height: 352px;
flex-direction: row;
padding: 30px 30px 30px 30px;
}

.supportedByLogos {
Expand Down
Loading

0 comments on commit 9bdedb6

Please sign in to comment.