Skip to content

Frontend - Project Card  #134

@minhngo3818

Description

@minhngo3818

This task is purely styling and html. Use Tailwind for styling.

Notes: Do not install unnecessary icon packages. This will increase bundle size and slow down the performance. If need an icon, copy its React component to ~/client/src/assets/icons/icons.jsx. You can style it with inline Tailwind if necessary

Icon sources: icones, iconfy

Props:

  • title: string
  • description: string
  • status: string
  • demo: string
  • image: string
  • github: string
  • discord: string

Styling details:

  • Card:
    • dimension: 360x360px,
    • corner radius: 20px
    • background-color: #2A2C2E,
    • drop shadow,
    • float up effect on hover
    • text color: white
    • padding: 10-20
    • all child components align to left except Image/Icon
  • Image/Icon:
    • dimension: 80x80px
    • color: #ff9617 or #2196f3
  • Title:
    • font-size: 24px
    • color: white
  • Description:
    • text color: #F5F5F5
    • font-size: 16px
    • limit to 4 lines
    • if text is longer than the limit, show dots at the end of 4th line
  • Status
    • Label: color -> white, font-size -> 16px
    • Status: text same as the label,
    • Status colors: On going - #4CDC4C, Inactive - #f1c40f, Completed - #3498db, Canceled - #ff2d55
    • Recommend creating a helper function to switch status color
  • Url
    • Border: circle, 1px, white, change color to #ff9617 on hover, size 40x40px
    • Icon
    • Add a tooltip on hover
    • group 3 url under a div element
    • set inline with Status

Demo
Project-Card 1

White frame:
Untitled (1)

Metadata

Metadata

Assignees

Labels

CSSrequire using cssFrontendtask relates to frontendTailwind CSSstyling in tailwind css

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions