File tree Expand file tree Collapse file tree 2 files changed +15
-13
lines changed Expand file tree Collapse file tree 2 files changed +15
-13
lines changed Original file line number Diff line number Diff line change 1+ import { Link } from "react-router" ;
2+
3+ export function Logo ( ) {
4+ return (
5+ < Link to = "/" className = "group grid leading-snug" >
6+ < span className = "font-light transition group-hover:-translate-x-1" >
7+ epic
8+ </ span >
9+ < span className = "font-bold transition group-hover:translate-x-1" >
10+ notes
11+ </ span >
12+ </ Link >
13+ )
14+ }
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ import { type Route } from './+types/root.ts'
1515import appleTouchIconAssetUrl from './assets/favicons/apple-touch-icon.png'
1616import faviconAssetUrl from './assets/favicons/favicon.svg'
1717import { GeneralErrorBoundary } from './components/error-boundary.tsx'
18+ import { Logo } from './components/logo.tsx'
1819import { EpicProgress } from './components/progress-bar.tsx'
1920import { SearchBar } from './components/search-bar.tsx'
2021import { useToast } from './components/toaster.tsx'
@@ -234,19 +235,6 @@ function App() {
234235 )
235236}
236237
237- function Logo ( ) {
238- return (
239- < Link to = "/" className = "group grid leading-snug" >
240- < span className = "font-light transition group-hover:-translate-x-1" >
241- epic
242- </ span >
243- < span className = "font-bold transition group-hover:translate-x-1" >
244- notes
245- </ span >
246- </ Link >
247- )
248- }
249-
250238function AppWithProviders ( ) {
251239 const data = useLoaderData < typeof loader > ( )
252240 return (
You can’t perform that action at this time.
0 commit comments