-
Notifications
You must be signed in to change notification settings - Fork 8
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
Single product page #22
base: main
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for simple-shop-technullogy ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Browser metadata
|
Use the correct color same as the design. Browser metadata
|
According to the design, Bullets should be square, not circular. Browser metadata
|
Thumbnails height is not same as the design. Browser metadata
|
Browser metadata
|
Its the dot (.) in design. Not the virgule (،). But use the comma (,) Browser metadata
|
Its semi-bold in design. Browser metadata
|
Tabs should be clickable. Like as button. Browser metadata
|
Its bold in the design. Browser metadata
|
Fix bullets size & space same as design. Browser metadata
|
Products should be linked to their pages. Browser metadata
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good job @alirezawdx
I just reviewed your PR and it's awesome. Please take a look at the comments that I placed and apply them. Then request a review.
<meta charset="UTF-8" /> | ||
<link rel="icon" type="image/svg+xml" href="/vite.svg" /> | ||
|
||
<!-- Shbnam font --> | ||
<link href="https://cdn.jsdelivr.net/gh/rastikerdar/shabnam-font@v[X.Y.Z]/dist/font-face.css" rel="stylesheet" type="text/css" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix the font href. Place the correct version in the template section.
<style> | ||
body { | ||
font-family: 'Shabnam', sans-serif; | ||
} | ||
</style> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is unnecessary. Look at TailwindCSS documents to set the default font in the config.
</head> | ||
<body> | ||
</head> | ||
<body dir="rtl" class="overflow-x-hidden"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- It's better to apply direction to the
<HTML>
tag. - It's not a good idea to prevent horizontal scroll by
overflow-x-hidden
. Instead, fix the issue which causes scroll.
<body dir="rtl" class="overflow-x-hidden"> | |
<body> |
<ul class="flex justify-start text-[#7E8AAB] text-[17px] px-[30px] py-[39px]"> | ||
<li class="p-0 m-0 flex items-center"> | ||
صفحه اصلی | ||
<img src="./../assets/images/icons/arrow-left.png" alt="Arrow Icon" class="w-[5.83px] h-[11.67px] mx-[14px]"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Do not force image width & height same time. It may break the image aspect ratio. Just set the width or height.
- Do not use decimal numbers with pixel unit. Just round it up or down.
- You can use the nearest TailwindCSS class if there is a small difference.
|
||
<!-- navigations --> | ||
<ul class="flex justify-start text-[#7E8AAB] text-[17px] px-[30px] py-[39px]"> | ||
<li class="p-0 m-0 flex items-center"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove p-0 m-0
. Just apply the correct class to the parent. Check the TailwindCSS documents.
</li> | ||
</ul> | ||
|
||
<hr class="bg-[#DEE2EEB2] mt-[48px]"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<hr class="bg-[#DEE2EEB2] mt-[48px]"> | |
<hr class="bg-[#DEE2EEB2] mt-12"> |
<button class="flex flex-row gap-2 justify-center items-center bg-white border py-3 px-4"> | ||
<span class="rounded-full bg-blue-600 w-[15px] h-[15px] inline-block"></span> <span>آبی</span> | ||
</button> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use <i>
for elements like icons, bullets and etc.
Always beautify your code.
<button class="flex flex-row gap-2 justify-center items-center bg-white border py-3 px-4"> | |
<span class="rounded-full bg-blue-600 w-[15px] h-[15px] inline-block"></span> <span>آبی</span> | |
</button> | |
<button class="flex flex-row gap-2 justify-center items-center bg-white border py-3 px-4"> | |
<i class="rounded-full bg-blue-600 w-[15px] h-[15px] inline-block"></i> | |
<span>آبی</span> | |
</button> |
<button class="flex flex-row gap-2 justify-center items-center bg-white border py-3 px-4"> | ||
<span>۱۰×۱۵</span> | ||
</button> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The inner <span>
element is unnecessary. You can just remove it and everything works like a charm.
<button class="flex flex-row gap-2 justify-center items-center bg-white border py-3 px-4"> | |
<span>۱۰×۱۵</span> | |
</button> | |
<button class="flex flex-row gap-2 justify-center items-center bg-white border py-3 px-4">۱۰×۱۵</button> |
<div class="flex justify-center items-center h-[60px] w-[60px] bg-[#F5F8FC]"> | ||
<img src="../assets/images/icons/arrow-right-line.svg" alt="Arrow Icon" class="opacity-60 rotate-180"> | ||
</div> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's clickable elements. So, It should be a button or defined as a button via role=button
.
</body> | ||
</html> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Set up your IDE in a proper way. A blank like at the end of the file is a usual and default configuration. Looks like your IDE does not follow this convention.
Configure your code formatter tool (Prettier) in a proper way that follows the team/project configuration to not override other members' code without any actual change.
No description provided.