diff options
author | Santo Cariotti <santo@dcariotti.me> | 2021-03-20 18:24:44 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-20 18:24:44 +0100 |
commit | 3718df3919de151cc754e273cb56b2e72dbe2caa (patch) | |
tree | 1afd7082ca2570a54bd3ba0687542ba94996bbb4 /src/components/TopAuthor.vue | |
parent | 85fa83918294eb11f7bea7c4b821bcc15b44d5cb (diff) | |
parent | 45e5a794ae423e81afa7fdde329f34e3d4a0bcd3 (diff) |
Merge pull request #8 from gico-net/feat/homepage
Homepage
Diffstat (limited to 'src/components/TopAuthor.vue')
-rw-r--r-- | src/components/TopAuthor.vue | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/components/TopAuthor.vue b/src/components/TopAuthor.vue new file mode 100644 index 0000000..e8a0241 --- /dev/null +++ b/src/components/TopAuthor.vue @@ -0,0 +1,16 @@ +<template lang="pug"> + .top-author + .user + img(:src="'https://gravatar.com/avatar/'+avatar" :alt="data.author_email") + strong(:title="data.author_email") + | {{ data.author_name }} <{{ data.author_email }}> + .number + h2 {{ data.num }} +</template> + +<script> +export default { + name: "TopAuthor", + props: ['data', 'avatar'], +} +</script> |