Skip to content
Snippets Groups Projects
Commit 044f91f7 authored by Titus Netland's avatar Titus Netland
Browse files

Community view update

parent 30c5f92f
No related branches found
No related tags found
2 merge requests!70Component update 2,!68Component update
Pipeline #178971 passed
<template> <template>
<div v-if="loggedIn"> <div v-if="loggedIn">
<div className="flex flex-row p-4 relative"> <div class="flex flex-row p-4 relative">
<p className="capitalize font-bold w-full">Mine felleskap</p> <p class="capitalize font-bold w-full">Mine felleskap</p>
<PlusIcon <PlusIcon
class="cursor-pointer max-h-6 max-w-6 float-right grow" class="cursor-pointer max-h-6 max-w-6 float-right grow"
@click="$router.push('/createNewGroup')" @click="$router.push('/createNewGroup')"
...@@ -9,16 +9,16 @@ ...@@ -9,16 +9,16 @@
alt="Lag ett nytt felleskap" alt="Lag ett nytt felleskap"
/> />
</div> </div>
<CommunityList :communities="myCommunities" :member="true"/> <CommunityList :communities="myCommunities" :member="true" />
</div> </div>
<p className="capitalize font-bold w-full p-4">Offentlige felleskap</p> <p class="capitalize font-bold w-full p-4">Offentlige felleskap</p>
<CommunityList :communities="publicCommunities" :member="false"/> <CommunityList :communities="publicCommunities" :member="false" />
</template> </template>
<script> <script>
import CommunityList from "@/components/CommunityComponents/CommunityList.vue"; import CommunityList from "@/components/CommunityComponents/CommunityList.vue";
import {getMyGroups, getVisibleGroups} from "@/utils/apiutil"; import { getMyGroups, getVisibleGroups } from "@/utils/apiutil";
import {PlusIcon} from "@heroicons/vue/outline"; import { PlusIcon } from "@heroicons/vue/outline";
export default { export default {
name: "HomeView", name: "HomeView",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment