feat(projects): add cover images for Elynd and Linky with hover animation
- Added preview images for Elynd and Linky projects - Added hover scale animation (scale-105) for cover images
This commit is contained in:
@@ -212,6 +212,8 @@ const sharedCases: Project[] = [
|
|||||||
'pnpm workspace',
|
'pnpm workspace',
|
||||||
],
|
],
|
||||||
link: 'https://github.com/zguiyang/elynd',
|
link: 'https://github.com/zguiyang/elynd',
|
||||||
|
coverImage: 'https://cloud.zgyk.cc/f/VoFa/elynd-home.png',
|
||||||
|
coverImageAlt: 'Elynd Dashboard Preview',
|
||||||
links: {
|
links: {
|
||||||
github: 'https://github.com/zguiyang/elynd',
|
github: 'https://github.com/zguiyang/elynd',
|
||||||
demo: 'https://elynd.zhaoguiyang.com/',
|
demo: 'https://elynd.zhaoguiyang.com/',
|
||||||
@@ -254,6 +256,8 @@ const sharedCases: Project[] = [
|
|||||||
],
|
],
|
||||||
tech: ['AdonisJS', 'Nuxt', 'PostgreSQL', 'Vue', 'Pinia', 'Tailwind CSS'],
|
tech: ['AdonisJS', 'Nuxt', 'PostgreSQL', 'Vue', 'Pinia', 'Tailwind CSS'],
|
||||||
link: 'https://github.com/zguiyang/linky',
|
link: 'https://github.com/zguiyang/linky',
|
||||||
|
coverImage: 'https://cloud.zgyk.cc/f/nYHM/linky-home.png',
|
||||||
|
coverImageAlt: 'Linky Dashboard Preview',
|
||||||
links: {
|
links: {
|
||||||
github: 'https://github.com/zguiyang/linky',
|
github: 'https://github.com/zguiyang/linky',
|
||||||
demo: 'https://linky.zhaoguiyang.com/',
|
demo: 'https://linky.zhaoguiyang.com/',
|
||||||
|
|||||||
@@ -72,7 +72,7 @@ const indieProjects = pageProjects.filter((project) => project.category === 'ind
|
|||||||
<img
|
<img
|
||||||
src={project.coverImage}
|
src={project.coverImage}
|
||||||
alt={project.coverImageAlt || project.title}
|
alt={project.coverImageAlt || project.title}
|
||||||
class="h-full w-full object-cover"
|
class="h-full w-full object-cover transition-transform duration-300 ease-out hover:scale-105"
|
||||||
loading="lazy"
|
loading="lazy"
|
||||||
decoding="async"
|
decoding="async"
|
||||||
/>
|
/>
|
||||||
|
|||||||
@@ -72,7 +72,7 @@ const indieProjects = pageProjects.filter((project) => project.category === 'ind
|
|||||||
<img
|
<img
|
||||||
src={project.coverImage}
|
src={project.coverImage}
|
||||||
alt={project.coverImageAlt || project.title}
|
alt={project.coverImageAlt || project.title}
|
||||||
class="h-full w-full object-cover"
|
class="h-full w-full object-cover transition-transform duration-300 ease-out hover:scale-105"
|
||||||
loading="lazy"
|
loading="lazy"
|
||||||
decoding="async"
|
decoding="async"
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in New Issue
Block a user