Closed HasithDeAlwis closed 1 month ago
This pull request implements a new hero section for the website, replacing the previous content on the index page. The changes include creating a new hero component, adjusting the layout, adding animations, and updating the Tailwind configuration for responsive font sizes.
Change | Details | Files |
---|---|---|
Implement new hero section |
|
apps/website/src/components/hero/hero.astro apps/website/src/pages/index.astro |
Update Tailwind configuration |
|
tailwind.config.mjs |
Modify layout and styling |
|
apps/website/src/layouts/Layout.astro apps/website/src/pages/index.astro |
Update TypeScript configuration |
|
apps/website/tsconfig.json |
Remove unused components |
|
apps/website/src/components/index/card.svelte |
sequenceDiagram
participant U as User
participant I as Index Page
participant H as Hero Component
participant A as Assets
U->>I: Visit website
I->>H: Render Hero component
H->>A: Load background image
H->>A: Load cloud images
H->>U: Display hero section
Note over H,U: Animate text and clouds
Name | Link |
---|---|
Latest commit | 0f1506fef2492d473db1e9e5d70fe9071442c90e |
Latest deploy log | https://app.netlify.com/sites/hasith/deploys/66f1ae417df9d40008e5cc1f |
Hey @HasithDeAlwis - I've reviewed your changes - here's some feedback:
Overall Comments:
- Consider the implications of using 'overflow-x: hidden' on the body. While it prevents horizontal scrolling, it might inadvertently hide important UI elements.
- The quality checklist indicates that tests weren't written for this feature. We recommend adding appropriate tests to ensure the new hero section functions correctly across different scenarios.
Here's what I looked at during the review
- 🟢 General issues: all looks good
- 🟢 Security: all looks good
- 🟢 Testing: all looks good
- 🟢 Complexity: all looks good
- 🟢 Documentation: all looks good
Sourcery is free for open source - if you like our reviews please consider sharing them ✨ Help me be more useful! Please click 👍 or 👎 on each comment to tell me if it was helpful.
--> Test will be made soon Need to test: -> Do clouds disappear after 3s -> Is my name visible on all screens
Name | Link |
---|---|
Latest commit | 0a3d8679c9ccd1bf5c3b77292d0425b60c474188 |
Latest deploy log | https://app.netlify.com/sites/golden-begonia-0d0992/deploys/66f642cb5056870008b4d3da |
Deploy Preview | https://deploy-preview-26--golden-begonia-0d0992.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
🛠 Changes being made
📸 Screenshots - If Applicable
✅ Quality Checklist
Summary by Sourcery
Create a new hero section for the website, replacing the existing main content on the homepage with a visually engaging component. Update Tailwind configuration to adjust font sizes for improved display across devices. Add a new TypeScript path alias for asset management.
New Features:
Enhancements:
Chores: