2019-10-04 02:47:44 +00:00
|
|
|
<template>
|
2019-10-14 00:25:07 +00:00
|
|
|
<div class="w3-container">
|
2019-11-18 01:31:58 +00:00
|
|
|
<div class="w3-center">
|
|
|
|
<img alt="Guppe logo" src="/f/guppe.png">
|
|
|
|
</div>
|
|
|
|
<h1 class="w3-center">Guppe Groups</h1>
|
2019-10-14 00:25:07 +00:00
|
|
|
<p>
|
2019-11-18 01:31:58 +00:00
|
|
|
Guppe brings social groups to the fediverse — making it easy to connect and meet new
|
|
|
|
people based on shared
|
|
|
|
interests without the maniuplation of your attention to maximize ad revenue nor the
|
|
|
|
walled garden lock-in of capitalist social media.
|
2019-10-14 00:25:07 +00:00
|
|
|
</p>
|
2019-11-18 01:31:58 +00:00
|
|
|
<h2 class="w3-center">How does Guppe work?</h2>
|
2019-10-14 00:25:07 +00:00
|
|
|
<p>
|
2019-11-18 01:31:58 +00:00
|
|
|
Guppe groups look like regular users you can interact with using your existing account on any
|
|
|
|
ActivityPub service, but they automatically share anything you send them with all of their followers.
|
2019-10-14 00:25:07 +00:00
|
|
|
</p>
|
2019-11-18 01:31:58 +00:00
|
|
|
<ol>
|
|
|
|
<li>Follow a group on @gup.pe to join that group</li>
|
|
|
|
<li>Mention a group on @gup.pe to share a post with everyone in the group</li>
|
|
|
|
<li>New groups are created on demand, just search for or mention @YourGroupNameHere@gup.pe and it will show up</li>
|
|
|
|
<li>Visit a @gup.pe group profile to see the group history</li>
|
|
|
|
</ol>
|
|
|
|
<h2 class="w3-center">Active Groups</h2>
|
|
|
|
<div class="profile-grid w3-margin-bottom w3-mobile">
|
2019-11-18 01:48:11 +00:00
|
|
|
<div v-for="group of groups" class="w3-card w3-container w3-section" :key="group._id">
|
|
|
|
<profile-summary :actor="group" class="profile"/>
|
|
|
|
<router-link :to="`/u/${group.preferredUsername}`">Group profile...</router-link>
|
2019-11-18 01:31:58 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2019-10-04 02:47:44 +00:00
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
2019-11-18 01:48:11 +00:00
|
|
|
import ProfileSummary from '@/components/ProfileSummary.vue'
|
2019-10-04 02:47:44 +00:00
|
|
|
|
|
|
|
export default {
|
|
|
|
name: 'home',
|
|
|
|
components: {
|
2019-11-18 01:48:11 +00:00
|
|
|
ProfileSummary
|
2019-11-18 01:31:58 +00:00
|
|
|
},
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
groups: [],
|
|
|
|
error: null
|
|
|
|
}
|
|
|
|
},
|
|
|
|
created () {
|
|
|
|
window.fetch(`/u/`, {
|
|
|
|
method: 'get',
|
|
|
|
headers: {
|
|
|
|
accept: 'application/json'
|
|
|
|
}
|
|
|
|
}).then(res => res.json())
|
|
|
|
.then(json => {
|
|
|
|
this.groups = json
|
|
|
|
})
|
|
|
|
.catch(err => this.error = err.message)
|
2019-10-04 02:47:44 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|
2019-11-18 01:31:58 +00:00
|
|
|
|
|
|
|
<style scoped>
|
|
|
|
.profile {
|
|
|
|
width: 300px;
|
|
|
|
}
|
|
|
|
.profile-grid {
|
2019-11-18 01:48:11 +00:00
|
|
|
display: flex;
|
|
|
|
flex-flow: row wrap;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-content: space-between;
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<style>
|
|
|
|
.profile-image {
|
|
|
|
width: 75px;
|
2019-11-18 01:31:58 +00:00
|
|
|
}
|
|
|
|
</style>
|