import React from 'react'; import styled from 'styled-components'; import Header from './Header'; const LayoutContainer = styled.div` min-height: 100vh; background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%); `; const MainContent = styled.main` max-width: 1200px; margin: 0 auto; padding: 2rem 1rem; display: grid; grid-template-columns: 1fr 3fr 1fr; gap: 2rem; @media (max-width: 1024px) { grid-template-columns: 1fr; padding: 1rem; } `; const LeftSidebar = styled.aside` @media (max-width: 1024px) { display: none; } `; const CenterColumn = styled.div` min-height: 400px; `; const RightSidebar = styled.aside` @media (max-width: 1024px) { display: none; } `; const SidebarCard = styled.div` background: white; border-radius: 12px; padding: 1.5rem; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05); margin-bottom: 1rem; `; const SidebarTitle = styled.h3` margin: 0 0 1rem 0; color: #2d3748; font-size: 1.1rem; `; const Layout = ({ children, user, onLogout }) => { return (
Navigation

Quick access to different timelines and features.

{user && ( Your Profile
{user.avatar && ( Avatar )}

{user.display_name || user.username}

@{user.username}

{user.followers_count || 0}
Followers
{user.following_count || 0}
Following
{user.statuses_count || 0}
Posts
)}
{children} About GoToSocial

A fast, fun, and small ActivityPub social network server. Connect with friends and discover new communities!

Trending
#opensource
42 posts
#federation
28 posts
#mastodon
15 posts
); }; export default Layout;