feat: pwa
This commit is contained in:
parent
869e164469
commit
c5b0c0543a
23 changed files with 3825 additions and 51 deletions
|
|
@ -32,7 +32,7 @@ export default function ProfileButton({
|
|||
if (variant === 'titlebar') {
|
||||
triggerComponent = (
|
||||
<button>
|
||||
<Avatar className="w-7 h-7 hover:opacity-90">
|
||||
<Avatar className="ml-2 w-6 h-6 hover:opacity-90">
|
||||
<AvatarImage src={avatar} />
|
||||
<AvatarFallback>
|
||||
<img src={defaultAvatar} />
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ export default function ScrollToTopButton({
|
|||
<Button
|
||||
variant="secondary-2"
|
||||
className={cn(
|
||||
`absolute bottom-2 right-2 rounded-full w-11 h-11 p-0 hover:text-background transition-transform ${visible ? '' : 'translate-y-14'}`,
|
||||
`absolute bottom-6 right-6 rounded-full w-12 h-12 p-0 hover:text-background transition-transform ${visible ? '' : 'translate-y-20'}`,
|
||||
className
|
||||
)}
|
||||
onClick={handleScrollToTop}
|
||||
|
|
|
|||
|
|
@ -6,7 +6,6 @@ import AboutInfoDialog from '../AboutInfoDialog'
|
|||
import AccountButton from '../AccountButton'
|
||||
import NotificationButton from '../NotificationButton'
|
||||
import PostButton from '../PostButton'
|
||||
import RefreshButton from '../RefreshButton'
|
||||
import RelaySettingsButton from '../RelaySettingsButton'
|
||||
import SearchButton from '../SearchButton'
|
||||
|
||||
|
|
@ -23,7 +22,6 @@ export default function PrimaryPageSidebar() {
|
|||
<RelaySettingsButton variant="sidebar" />
|
||||
<NotificationButton variant="sidebar" />
|
||||
<SearchButton variant="sidebar" />
|
||||
<RefreshButton variant="sidebar" />
|
||||
<AboutInfoDialog>
|
||||
<Button variant="sidebar" size="sidebar">
|
||||
<Info />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue