Sha256: b8417a90e9c911da2519acff28cb3393e7b10eb75d1db32e048360bc10782744
Contents?: true
Size: 1.27 KB
Versions: 6
Compression:
Stored size: 1.27 KB
Contents
<template> <div class="profile"> <span class="avatar-container"><img class="avatar" :src="avatar" /></span> <div> <span class="h2"><a :href="website">{{ author }}</a></span><br /> <span class="detail"> <a :href="address"><i class="fas fa-book"></i> Digital Log</a> | <i class="fas fa-map-marked-alt"></i> {{ location }} </span><br /> <span class="status">{{ status }}</span> </div> </div> </template> <script> import app from '../configs/app' export default { name: 'Profile', components: { }, data () { return { address: '', location: app.profile.location, author: app.profile.author, status: app.profile.status, avatar: app.profile.avatar, // email: app.profile.email, website: app.profile.website, tag: {}, tags: [], dashboard_1: '', dashboard_2: '', rss: '', atom: '', } }, methods: { }, created() { this.address = app.host; this.dashboard_1 = Window.Config.dasbhoard_1 this.dashboard_2 = Window.Config.dasbhoard_2 this.rss = app.host + '/feed/rss' this.atom = app.host + '/feed/atom' }, filters: { capitalize: function(text) { return text[0].toUpperCase() + text.slice(1); }, fromNow: function(date) { return moment(date).fromNow(); } }, watch: { } } </script> <style scoped> </style>
Version data entries
6 entries across 6 versions & 1 rubygems