restructure
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
import User from '@app/auth/components/user';
|
||||
|
||||
import { RelayContext } from '@shared/relayProvider';
|
||||
|
||||
import CheckCircleIcon from '@icons/checkCircle';
|
||||
@@ -13,8 +15,6 @@ import { getEventHash, signEvent } from 'nostr-tools';
|
||||
import { useContext, useState } from 'react';
|
||||
import { navigate } from 'vite-plugin-ssr/client/router';
|
||||
|
||||
import User from '../../../components/user';
|
||||
|
||||
const initialList = [
|
||||
{ pubkey: '82341f882b6eabcd2ba7f1ef90aad961cf074af15b9ef44a09f9d2a8fbfbe6a2' },
|
||||
{ pubkey: 'a341f45ff9758f570a21b000c17d4e53a3a497c8397f26c0e6d61e5acffc7a98' },
|
||||
@@ -177,7 +177,7 @@ export function Page() {
|
||||
() => {
|
||||
updateLastLogin(dateToUnix(now.current));
|
||||
timeout = setTimeout(() => {
|
||||
navigate('/app/radar', { overwriteLastHistoryEntry: true });
|
||||
navigate('/app/today', { overwriteLastHistoryEntry: true });
|
||||
}, 5000);
|
||||
}
|
||||
);
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { CreateViewModal } from '@app/radar/components/views/createModal';
|
||||
import { CreateViewModal } from '@app/today/components/views/createModal';
|
||||
|
||||
export function Header() {
|
||||
return (
|
||||
@@ -1,7 +1,7 @@
|
||||
import { NoteBase } from '@app/note/components/base';
|
||||
import { NoteQuoteRepost } from '@app/note/components/quoteRepost';
|
||||
import { NoteSkeleton } from '@app/note/components/skeleton';
|
||||
import { Header } from '@app/radar/components/header';
|
||||
import { Header } from '@app/today/components/header';
|
||||
|
||||
import { getNotes } from '@utils/storage';
|
||||
|
||||
@@ -26,14 +26,14 @@ export default function Navigation() {
|
||||
</div>
|
||||
<div className="flex flex-col text-zinc-400">
|
||||
<ActiveLink
|
||||
href="/app/radar"
|
||||
href="/app/today"
|
||||
className="flex h-8 items-center gap-2.5 rounded-md px-2.5 text-[13px] font-semibold hover:text-zinc-200"
|
||||
activeClassName=""
|
||||
>
|
||||
<span className="inline-flex h-5 w-5 items-center justify-center rounded bg-zinc-900">
|
||||
<WorldIcon width={12} height={12} className="text-zinc-200" />
|
||||
</span>
|
||||
<span>Radar</span>
|
||||
<span>Today</span>
|
||||
</ActiveLink>
|
||||
<ActiveLink
|
||||
href="/app/threads"
|
||||
|
||||
Reference in New Issue
Block a user