Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions app/components/logo.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import { Link } from "react-router";

export function Logo() {
return (
<Link to="/" className="group grid leading-snug">
<span className="font-light transition group-hover:-translate-x-1">
epic
</span>
<span className="font-bold transition group-hover:translate-x-1">
notes
</span>
</Link>
)
}
14 changes: 1 addition & 13 deletions app/root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import { type Route } from './+types/root.ts'
import appleTouchIconAssetUrl from './assets/favicons/apple-touch-icon.png'
import faviconAssetUrl from './assets/favicons/favicon.svg'
import { GeneralErrorBoundary } from './components/error-boundary.tsx'
import { Logo } from './components/logo.tsx'
import { EpicProgress } from './components/progress-bar.tsx'
import { SearchBar } from './components/search-bar.tsx'
import { useToast } from './components/toaster.tsx'
Expand Down Expand Up @@ -234,19 +235,6 @@ function App() {
)
}

function Logo() {
return (
<Link to="/" className="group grid leading-snug">
<span className="font-light transition group-hover:-translate-x-1">
epic
</span>
<span className="font-bold transition group-hover:translate-x-1">
notes
</span>
</Link>
)
}

function AppWithProviders() {
const data = useLoaderData<typeof loader>()
return (
Expand Down