Skip to content
This repository has been archived by the owner on Jan 19, 2023. It is now read-only.

Saber2pr/profile-generator

Repository files navigation

Profile Generator

git clone https://github.com/Saber2pr/profile-generator.git --depth=1

参考数据格式

interface Data {
  margin?: string

  profile: {
    imgSrc?: string
    name: string
    target: string
    birth: string
    location: string
    school: string
    mobile: string
    mail: string
    workLinks: Array<{ name: string; href: string }>
    socialLinks: Array<{ name: string; href: string }>
  }

  opensource: {
    title: string
    works: Array<{
      name: string
      href?: string
      describes: Array<{
        content: string
        keywords?: Array<{ word: string; style: string }>
      }>
    }>
  }

  worksexp: {
    title: string
    works: Array<{
      name: string
      href?: string
      describes: Array<{
        content: string
        keywords?: Array<{ word: string; style: string }>
      }>
    }>
  }

  ability: {
    title: string
    items: Array<{
      type: string
      describes: Array<{
        content: string
        keywords?: Array<{ word: string; style: string }>
      }>
    }>
  }

  rate: {
    title: string
    describes: Array<{
      content: string
      keywords?: Array<{ word: string; style: string }>
    }>
  }
}

示例>>