feat: improve mobile experience

This commit is contained in:
codytseng 2025-01-02 21:57:14 +08:00
parent 8ec0d46d58
commit 3946e603b3
98 changed files with 2508 additions and 1058 deletions

View file

@ -0,0 +1,29 @@
import NotificationList from '@/components/NotificationList'
import PrimaryPageLayout from '@/layouts/PrimaryPageLayout'
import { Bell } from 'lucide-react'
import { useTranslation } from 'react-i18next'
export default function NotificationListPage() {
return (
<PrimaryPageLayout
pageName="notifications"
titlebar={<NotificationListPageTitlebar />}
displayScrollToTopButton
>
<div className="px-4">
<NotificationList />
</div>
</PrimaryPageLayout>
)
}
function NotificationListPageTitlebar() {
const { t } = useTranslation()
return (
<div className="flex gap-2 items-center h-full pl-3">
<Bell />
<div className="text-lg font-semibold">{t('Notifications')}</div>
</div>
)
}