Closed HasithDeAlwis closed 1 month ago
This pull request implements a new skills section for the portfolio website, including a "My Skills" section and a "Currently Learning" section. The changes involve creating new components, adding API calls to fetch skill data, and implementing animations for the skills display.
journey
title User journey for viewing skills section
section Accessing the Portfolio
User: Navigate to the portfolio website: 5
section Viewing Skills
User: View 'My Skills' section: 4
User: View 'Currently Learning' section: 4
section Interacting with Skills
User: Hover over skill logos for animation: 3
User: Click on skill logos for more information: 3
erDiagram
Config ||--o{ LearnedSkillLogo : contains
Config ||--o{ CurrentlyLearningSkill : contains
LearnedSkillLogo {
int id
int skillOrder
Media skillLogo
string skillHref
string updatedAt
string createdAt
}
CurrentlyLearningSkill {
int id
string currentSkillName
Media currentSkillLogo
string currentSkillHref
string currentSkillDescription
string updatedAt
string createdAt
}
classDiagram
class MySkills {
+Array<LearnedSkillLogoType> logos
+void onMount()
+void floatingAnimation(int index)
+void moveLogosBottom(int index)
+void moveLogosTop(int index)
}
class CurrentlyLearning {
+Array<LearnedSkillLogoType> logos
+Array<CurrentlyLearningSkillType> currentlyLearning
}
class IndividualSkill {
+CurrentlyLearningSkillType skill
}
class LazyImage {
+string src
+string alt
+string classStyles
+string style
}
MySkills --> LazyImage
CurrentlyLearning --> IndividualSkill
IndividualSkill --> LazyImage
Change | Details | Files |
---|---|---|
Created new components for displaying skills |
|
apps/website/src/components/skills/my-skills.svelte apps/website/src/components/skills/currently-learning.svelte apps/website/src/components/skills/individual-skill.svelte |
Added API calls to fetch skill data |
|
apps/website/src/api/skills-api.ts |
Updated main page to include new skills sections |
|
apps/website/src/pages/index.astro |
Implemented animations for skills display |
|
apps/website/src/components/skills/my-skills.svelte |
Added new types and interfaces for skills data |
|
apps/website/src/models/skills.ts apps/website/src/models/generated-types.ts |
Created Storybook stories for new components |
|
apps/storybook/stories/skills/my-skills.stories.svelte apps/storybook/stories/skills/currently-learning.stories.svelte apps/storybook/stories/skills/individual-skill.stories.svelte |
Updated styling and configuration |
|
tailwind.config.mjs |
Name | Link |
---|---|
Latest commit | 1e5a417f98e5b3ba6125a5d18c8db3eb4fd63d27 |
Latest deploy log | https://app.netlify.com/sites/hasith/deploys/671872e225598f000818e5d2 |
Deploy Preview | https://deploy-preview-36--hasith.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
TO DOS
📸 Screenshots - If Applicable
✅ Quality Checklist
Summary by Sourcery
Add a new skills section to the website, featuring both learned skills and currently learning skills. Implement new components and GraphQL queries to support this feature. Enhance the Tailwind configuration and refactor existing animations for improved styling and performance. Include Storybook stories for the new components to aid in UI testing and documentation.
New Features:
Enhancements:
Documentation: