Conversation
✅ Deploy Preview for fc-nextjs ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✨ Features941ad68 - implement Hero component with new layout and SVG elementsChanged files
c75bc74 - add HeroContent component with layout and interactive elementsChanged files
d0a7b4f - add bg SVGs to hero sectionChanged files
3605da3 - add badge & button componentsChanged files
📋 Changesf47d8ab - Merge branch 'dev' into hero8d81f1e - build:install @radix-ui/react-slot for button componentChanged files
|
|
فضای جایگیری المانهای کنار صفحه درست نیست. Browser metadata |
|
عرض کره تو رزولوشن بالا درست نیست و full-width نمیشه Browser metadata |
|
استایل دکمهها درست نیست هر دو دکمه باید لینک باشه Browser metadata |
AmirHosseinKarimi
left a comment
There was a problem hiding this comment.
خسته نباشی مهدی جان لطفا موارد ذکر شده رو اصلاح کن
src/app/components/Hero/Hero.tsx
Outdated
|
|
||
| const Hero = () => { | ||
| return ( | ||
| <div className="relative min-h-screen w-full overflow-hidden bg-background px-4 pb-[500px] text-foreground dark:bg-background-dark dark:text-foreground-dark md:px-8"> |
There was a problem hiding this comment.
کلاسهای min-h-screen و pb-[500px] اضافیه
There was a problem hiding this comment.
درسته ممنون
فقط برای این که اون کره را کامل بتونم نمایش بدم باید یک پدینگ به المنت پرنت اضافه میکردم
src/app/components/Hero/Hero.tsx
Outdated
| <div className="absolute -left-[26%] -top-[150px] z-10 hidden items-center justify-center xl:flex min-[1440px]:-left-[22%] 2xl:-left-[18%]"> | ||
| <HeroLeftTech /> | ||
| </div> | ||
| <div className="absolute -right-[30%] -top-[150px] z-10 hidden items-center justify-center xl:flex min-[1440px]:-right-[25%] 2xl:-right-[21.5%]"> | ||
| <HeroRightTech /> | ||
| </div> |
There was a problem hiding this comment.
مختصات ریسپانسیو نیست.
حتی میشه بدون position absolute و با transform: translate هم خروجی مناسب رو گرفت.
6412e1f to
a9beae7
Compare
…ero for large screens
|
I've addressed the review comments. Please re-review. |
|
@all-contributors add @MahdiGhorbani98 as contributor for his code. |
|
I've put up a pull request to add @MahdiGhorbani98! 🎉 |
I've added the Hero section, load Hero SVGs by components to load faster with better UX.
I installed @radix-ui/react-slot for button component.