Skip to content

Conversation

@max-koz
Copy link
Contributor

@max-koz max-koz commented Oct 15, 2024

No description provided.

@max-koz max-koz self-assigned this Oct 15, 2024
@max-koz max-koz requested a review from a team as a code owner October 15, 2024 10:54
@CLAassistant
Copy link

CLAassistant commented Oct 15, 2024

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.

✅ albertfolch-redeemeum
❌ MaksymilianKozak
You have signed the CLA already but the status is still pending? Let us recheck it.

@max-koz max-koz changed the title New homepage design feat: new homepage design Oct 15, 2024
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Oct 15, 2024

Deploying interface with  Cloudflare Pages  Cloudflare Pages

Latest commit: 4641967
Status: ✅  Deploy successful!
Preview URL: https://834e5082.interface-a9d.pages.dev
Branch Preview URL: https://new-homepage-design.interface-a9d.pages.dev

View logs

@albertfolch-redeemeum
Copy link
Contributor

image

border is squared in products cards but not in collections and the corners are white actually

@albertfolch-redeemeum
Copy link
Contributor

image

why 3 lines in collections card if there are only 2 when they are loaded?

@albertfolch-redeemeum
Copy link
Contributor

image

if price is displayed like 12e232 then it means it's a number being converted to a string, you should use format/parseUnits from ethers

@albertfolch-redeemeum
Copy link
Contributor

images overflow parent container
image

Albert Folch added 2 commits October 15, 2024 15:05
position: relative;
padding-bottom: 7.8125rem;
background: ${colors.lightGrey};
background: #f5f5f5;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you use the color from colors or add it there as a new color if it's not there?

useEffect(() => {
const loadImages = async () => {
const resolvedUrls = images.map((url) =>
resolveUrlFromIPFS(url, "https://ipfs.io/ipfs")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use CONFIG.ipfsImageGateway

const TitleAndDescriptionWrapper = withUnderBanner ? Layout : Div;
const LayoutWrapper = isSideNavBar ? Grid : DarkerBackground;

const numOffers = 10;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

move out of Landing() function declaration

alignItems="flex-end"
margin="1rem 0 2rem 0"
>
<Title tag="h3" style={{ margin: "0" }}>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<Title tag="h3" style={{ margin: "0" }}>
<Title tag="h3" margin={0}>

Comment on lines 276 to 280
price={
/e/i.test(String(Number(price?.price || 0)))
? Number(price?.price || 0).toFixed(10)
: (price?.price ?? 0).toString()
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it should be like this

Suggested change
price={
/e/i.test(String(Number(price?.price || 0)))
? Number(price?.price || 0).toFixed(10)
: (price?.price ?? 0).toString()
}
price={price?.price}


const LoadingContainer = styled(Grid)`
height: 100%;
font-size: 18px;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use rem

margin-left: 1.5rem;
font-size: 0.875rem;
font-weight: 600;
margin-bottom: 1px;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rem

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

change cursor to pointer so the user knows it's clickable

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seller avatar images are not loading
image

@albertfolch-redeemeum
Copy link
Contributor

can you make the background of the loading spinner fill the entire width (or all except margins)?
image

@max-koz max-koz merged commit d9fc6f2 into main Oct 16, 2024
@max-koz max-koz deleted the new-homepage-design branch October 16, 2024 11:27
@albertfolch-redeemeum albertfolch-redeemeum linked an issue Oct 16, 2024 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

update design homepage

5 participants