From e9f4a48efd06d539eaaebd75880d569d6d093d58 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Thu, 3 Nov 2022 16:59:20 +0300 Subject: Switch back to grid layout --- vnext/src/App.js | 143 +++++++++++++++++++++++++++++++++---------------------- 1 file changed, 87 insertions(+), 56 deletions(-) (limited to 'vnext/src/App.js') diff --git a/vnext/src/App.js b/vnext/src/App.js index 15e29017..fab438bc 100644 --- a/vnext/src/App.js +++ b/vnext/src/App.js @@ -19,6 +19,7 @@ import { useCookies } from 'react-cookie'; import { me, trends } from './api'; import { useVisitor } from './ui/VisitorContext'; +import Avatar from './ui/Avatar'; /** * @@ -91,8 +92,8 @@ export default function App({ footer }) { }, [hash]); useEffect(() => { - const getTrends = async () => { - setAllTrends(await trends()); + const getTrends = async () => { + setAllTrends(await trends()); }; getTrends(); }, []); @@ -111,66 +112,96 @@ export default function App({ footer }) { return ( <>
-
- { -
+ + } +
+ + } /> + } /> + } /> + } /> + } /> + } /> + } /> + } /> + } /> + } /> + } /> + } /> + } /> + +
); } -- cgit v1.2.3