pleroma-like client for Bluesky pl.hexmani.ac
bluesky pleroma social-media
1import Container from "../components/container"; 2import { agent, killSession, loginState } from "../components/login"; 3import MiniProfile from "../components/miniProfile"; 4import PostForm from "../components/postForm"; 5 6const Dashboard = () => { 7 if (!loginState()) { 8 location.href = "/"; 9 } 10 11 return ( 12 <> 13 <div id="sidebar"> 14 <Container 15 title="" 16 children={ 17 <> 18 <MiniProfile did={agent.sub} /> 19 <PostForm /> 20 <button onClick={killSession}>Log out</button> 21 </> 22 } 23 /> 24 </div> 25 <div id="content"> 26 <Container 27 title="Following" 28 children={ 29 <div class="container-content"> 30 <div class="dashboard-feed"> 31 <p>No more posts</p> 32 </div> 33 </div> 34 } 35 /> 36 </div> 37 </> 38 ); 39}; 40 41export default Dashboard;