Enhance dashboard components with new icons, layout adjustments, and improved file display
This commit is contained in:
parent
f164351011
commit
b36d3b76a1
9 changed files with 159 additions and 26 deletions
|
@ -1,4 +1,4 @@
|
|||
import { $, component$, Slot, useOnDocument } from '@builder.io/qwik';
|
||||
import { $, component$, Slot, useOnDocument, useVisibleTask$ } from '@builder.io/qwik';
|
||||
import AOS from 'aos';
|
||||
import 'aos/dist/aos.css';
|
||||
import { useNanostore$ } from '~/hooks/nanostores';
|
||||
|
@ -9,8 +9,11 @@ import { StereoUser } from '~/lib/types';
|
|||
export default component$(() => {
|
||||
const info = useNanostore$<StereoUser>(userInfo);
|
||||
|
||||
useVisibleTask$(async () => {
|
||||
info.value = await api.me();
|
||||
})
|
||||
|
||||
useOnDocument("DOMContentLoaded", $(async () => {
|
||||
info.value = await api.me()
|
||||
|
||||
AOS.init({
|
||||
once: true,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue