Skip to content
This repository has been archived by the owner on Mar 9, 2022. It is now read-only.

Create Contributors page #18

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from
Open

Create Contributors page #18

wants to merge 3 commits into from

Conversation

AndCotOli
Copy link
Member

Created contributors page, and updated the leaves component.

Styles may need to be refactored.

@tejas-hosamani
Copy link
Contributor

Contributors Page

src/components/Leaves/Leaves.vue Show resolved Hide resolved
<p>
<a v-bind:href="`https://github.com/${data.attributes.username}`">
<i class="fa fa-github-square"></i>
<span>{{ data.attributes.username }}</span>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There should be left padding on this.

@@ -0,0 +1,33 @@
<template>
<div class="contributors">
<div class="contributor" v-for="contributor in contributors" :key="contributor.id">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is giving a linting error.

return (
fetch('https://api-dev.codinggarden.community/contributors')
.then(res => res.json())
// eslint-disable-next-line
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's fix the issues and follow the linter.

@AndCotOli
Copy link
Member Author

I don't know why there are those linting errors @spiray , my linter isn't complaining and the code auto-prettifies when I push. I'll look at it, though.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants