Skip to content

How can I add a new member to the site? #3

Answered by MadushaS
KavindiDev asked this question in Q&A
Discussion options

You must be logged in to vote

To add a new member,

  • use the code in readme.md in the repo home. and clone the repo to your local machine.

      git clone https://github.com/UOKCS-19/UOKCS-19.github.io.git
      cd UOKCS-19.github.io
      git checkout dev
  • Update the src/data/authors.ts

  • You can use the following template

  {
    name: "Your Name",
    slug: "a simple id to be used as the slug (something like your-name)",
    image: "./src/assets/authors/yourFirstname.jpg",
    bio: "Simple text about you. 3 lines are enough",
  },
  • Then upload a profile image into src/assets/authors/ (and name it as you mentioned in the images property of the authors.ts)
  • commit and open a pull request

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by KavindiDev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants