parent
7751e72311
commit
686b705833
@ -0,0 +1,66 @@ |
|||||||
|
<template> |
||||||
|
<BaseCard class="mt-4"> |
||||||
|
<div class="text-center text-lg font-bold mb-4">{{ t("Social Network") }}</div> |
||||||
|
<ul class="nav nav-pills nav-stacked"> |
||||||
|
<li class="home-icon active"> |
||||||
|
<a href="/social"> |
||||||
|
<i class="mdi mdi-home" aria-hidden="true"></i> |
||||||
|
{{ t("Social Wall") }} |
||||||
|
</a> |
||||||
|
</li> |
||||||
|
<li class="messages-icon"> |
||||||
|
<a href="resources/messages"> |
||||||
|
<i class="mdi mdi-email" aria-hidden="true"></i> |
||||||
|
{{ t("Messages") }} <span class="badge badge-warning"></span> |
||||||
|
</a> |
||||||
|
</li> |
||||||
|
<li class="shared-profile-icon"> |
||||||
|
<a href="/account/home"> |
||||||
|
<i class="mdi mdi-account-circle" aria-hidden="true"></i> |
||||||
|
{{ t("My Profile") }} |
||||||
|
</a> |
||||||
|
</li> |
||||||
|
<li class="friends-icon"> |
||||||
|
<a href="/resources/friends"> |
||||||
|
<i class="mdi mdi-handshake" aria-hidden="true"></i> |
||||||
|
{{ t("My Friends") }} |
||||||
|
</a> |
||||||
|
</li> |
||||||
|
</ul> |
||||||
|
</BaseCard> |
||||||
|
</template> |
||||||
|
|
||||||
|
<script setup> |
||||||
|
import BaseCard from "../basecomponents/BaseCard.vue"; |
||||||
|
import { useI18n } from "vue-i18n" |
||||||
|
|
||||||
|
const { t } = useI18n() |
||||||
|
</script> |
||||||
|
|
||||||
|
<style scoped> |
||||||
|
.menu-list { |
||||||
|
list-style: none; |
||||||
|
padding: 0; |
||||||
|
} |
||||||
|
|
||||||
|
.menu-item { |
||||||
|
display: block; |
||||||
|
padding: 0.5rem 1rem; |
||||||
|
color: #333; |
||||||
|
text-decoration: none; |
||||||
|
transition: background-color 0.2s; |
||||||
|
} |
||||||
|
|
||||||
|
.menu-item + .menu-item { |
||||||
|
margin-top: 1rem; /* Adds space between menu items */ |
||||||
|
} |
||||||
|
|
||||||
|
.nav-pills .nav-link { |
||||||
|
display: flex; |
||||||
|
align-items: center; |
||||||
|
} |
||||||
|
|
||||||
|
.fa { |
||||||
|
margin-right: 0.5em; |
||||||
|
} |
||||||
|
</style> |
@ -1,13 +1,21 @@ |
|||||||
<template> |
<template> |
||||||
<h2 v-t="'Friends'" class="mr-auto" /> |
<div class="flex flex-col md:flex-row gap-4"> |
||||||
|
<div class="md:basis-1/3 lg:basis-1/4 2xl:basis-1/6 flex flex-col"> |
||||||
<hr /> |
<SocialSideMenu /> |
||||||
|
</div> |
||||||
<router-view></router-view> |
<div class="md:basis-2/3 lg:basis-3/4 2xl:basis-5/6"> |
||||||
|
<h2 v-t="'Friends'" class="mr-auto" /> |
||||||
|
<hr /> |
||||||
|
<router-view></router-view> |
||||||
|
</div> |
||||||
|
</div> |
||||||
</template> |
</template> |
||||||
|
|
||||||
<script> |
<script> |
||||||
|
import SocialSideMenu from "../social/SocialSideMenu.vue"; |
||||||
|
|
||||||
export default { |
export default { |
||||||
name: 'UserRelUserLayout' |
name: 'UserRelUserLayout', |
||||||
|
components: {SocialSideMenu} |
||||||
} |
} |
||||||
</script> |
</script> |
||||||
|
Loading…
Reference in new issue