Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Landing Page initial #8

Merged
merged 11 commits into from
Jan 11, 2025
Merged

Landing Page initial #8

merged 11 commits into from
Jan 11, 2025

Conversation

A-nirvana
Copy link
Collaborator

No description provided.

Copy link

netlify bot commented Dec 10, 2024

Deploy Preview for currenci-ecell ready!

Name Link
🔨 Latest commit 6c64989
🔍 Latest deploy log https://app.netlify.com/sites/currenci-ecell/deploys/6781f87a57fec40008712321
😎 Deploy Preview https://deploy-preview-8--currenci-ecell.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 56
Accessibility: 96
Best Practices: 75
SEO: 83
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify site configuration.

updatedAt: {
type: Date,
required: true,
default: () => moment().tz("Asia/Kolkata").toDate(),
Copy link
Collaborator

Choose a reason for hiding this comment

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

never assign time at schema level. Assign time in a controller

export default function Home() {
return (
<main className="bg-white w-screen min-h-screen flex flex-col items-center pb-16">
<div className="w-[80vw] h-[45vw] rounded-lg md:rounded-3xl mt-28">
Copy link
Collaborator

Choose a reason for hiding this comment

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

reduce height for wider displays. Its covering the more than screen height

key={item.title}
>
<div
className={`w-[84vw] h-[35vw] md:h-[30vw] mx-[10vw] p-[4vw] rounded-3xl flex items-center justify-evenly text-justify ${index % 2 === 1 ? "flex-row-reverse" : ""}`}
Copy link
Collaborator

Choose a reason for hiding this comment

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

don't use vw for height cause for larger wider displays it looks hideous.

Copy link
Collaborator

Choose a reason for hiding this comment

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

image
image

Refer to design and adhere to it. You components doesn't match with design

@Ruler45
Copy link
Collaborator

Ruler45 commented Jan 9, 2025

Screenshot 2025-01-09 072859

Can you spot any differene bw the 6vw and 3.5vw . To me the 3.5 one looks slightly larger.

@Ruler45
Copy link
Collaborator

Ruler45 commented Jan 9, 2025

Don't use vw units for anything except the width otherwise you won't have control over how your component looks.

image

The margin ,padding looks way different than the design.

Also if you are fixing the height of outer div then fix the height of inner div as well. The quote does not look good as it looks aligned downwards.

@Ruler45
Copy link
Collaborator

Ruler45 commented Jan 9, 2025

image

In the preview, the heading might be of yellow but in design its of green so keep it like that. Thats a preview error, not your fault though.

@Ruler45
Copy link
Collaborator

Ruler45 commented Jan 10, 2025

image
optimize the css for the card. your css is too unpredictable here. margin in multiple places creates unexpected behaviour. use properties like gap and padding instead.

@Ruler45
Copy link
Collaborator

Ruler45 commented Jan 10, 2025

image

Do you see the ratio of padding to content. this what happens when you try to fit everything with vw.

@Ruler45
Copy link
Collaborator

Ruler45 commented Jan 10, 2025

image

why did you put uneven margins in text div? It pushes it away from the centre. Also change the text size for different width.

image

this is the final change required guess, this button will direct to pricing page

@Ruler45
Copy link
Collaborator

Ruler45 commented Jan 10, 2025

image

excessive padding and margin. Just imagine of fitting two of these in a single viewport(don't need to actually fit).

Copy link
Collaborator

@Ruler45 Ruler45 left a comment

Choose a reason for hiding this comment

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

Good job

style={{ fontFamily: "Sofia Pro UltraLight" }}
>
{item.content}
{item.content.split(" ").slice(0, 80).join(" ")}...
Copy link
Collaborator

Choose a reason for hiding this comment

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

will it not add '...' even if the content <80? Its better to condition on character rather than on words.(length of a word varies..) . Do the samething for anywhere with longer text.

@Ruler45 Ruler45 merged commit 3125e1e into dev Jan 11, 2025
5 checks passed
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.

2 participants