File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ <script setup lang="ts"></script >
2+
3+ <template >
4+ <div class =" bg-accent/10 h-[460px]" >
5+ <h1 class =" p-4 text-2xl font-bold" ></h1 >
6+ </div >
7+ </template >
Original file line number Diff line number Diff line change 1- <script lang="ts" setup></script >
1+ <script lang="ts" setup>
2+ import ProfileDetails from ' ~/components/profile/ProfileDetails.vue' ;
3+ import Tabs from ' @/components/ui/Tabs.vue' ;
4+ import Tab from ' @/components/ui/Tab.vue' ;
5+ </script >
26
37<template >
48 <div >
5- <h1 class =" p-4 text-2xl font-bold" >{{ $t('leftsidebar.nav.profile') }}</h1 >
6- <!-- Profile content will go here -->
9+ <ProfileDetails />
10+ <Tabs >
11+ <Tab
12+ :label =" $t (' profile.tabs.posts' )"
13+ route="/home"
14+ :is-active =" $route .path === ' /profile' "
15+ />
16+ <Tab
17+ :label =" $t (' profile.tabs.replies' )"
18+ route="/home"
19+ :is-active =" $route .path !== ' /profile' "
20+ />
21+ <Tab
22+ :label =" $t (' profile.tabs.media' )"
23+ route="/home"
24+ :is-active =" $route .path !== ' /profile' "
25+ />
26+ <Tab
27+ :label =" $t (' profile.tabs.likes' )"
28+ route="/home"
29+ :is-active =" $route .path !== ' /profile' "
30+ />
31+ </Tabs >
732 </div >
833</template >
Original file line number Diff line number Diff line change 3737 "homepage" : {
3838 "tweets" : " Tweets"
3939 },
40+ "profile" : {
41+ "tabs" : {
42+ "posts" : " Posts" ,
43+ "replies" : " Replies" ,
44+ "media" : " Media" ,
45+ "likes" : " Likes"
46+ }
47+ },
4048 "playground" : {
4149 "dialog" : {
4250 "title" : " Create your account" ,
You can’t perform that action at this time.
0 commit comments