Skip to content

Commit

Permalink
weird fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
NotMatta committed Dec 18, 2024
1 parent 8fc292c commit d9d4f2c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8" />
<!--<link rel="icon" type="image/svg+xml" href="/vite.svg" />-->
<link rel="icon" type="image/png" href="/logo-smol.png"/>
<link rel="icon" type="image/png" href="https://github.com/NotMatta/aniwiki/blob/main/public/logo-smol.png?raw=true"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Aniwiki</title>
</head>
Expand Down
12 changes: 6 additions & 6 deletions src/components/background.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
const images = [
"/gallery/pic1.png",
"/gallery/pic3.png",
"/gallery/pic4.jpg",
"/gallery/pic5.webp",
"/gallery/pic6.jpg",
"/gallery/pic7.webp",
"https://github.com/NotMatta/aniwiki/blob/main/public/gallery/pic1.png?raw=true",
"https://github.com/NotMatta/aniwiki/blob/main/public/gallery/pic3.png?raw=true",
"https://github.com/NotMatta/aniwiki/blob/main/public/gallery/pic4.jpg?raw=true",
"https://github.com/NotMatta/aniwiki/blob/main/public/gallery/pic5.webp?raw=true",
"https://github.com/NotMatta/aniwiki/blob/main/public/gallery/pic6.jpg?raw=true",
"https://github.com/NotMatta/aniwiki/blob/main/public/gallery/pic7.webp?raw=true",
]

const Background = () => {
Expand Down
2 changes: 1 addition & 1 deletion src/components/navbar-component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const NavBar = () => {
return(
<div className="w-full flex justify-between min-h-14 items-center px-6">
<div className="w-1/2">
<Link to="/"><img className="h-8 font-extrabold text-xl hover:invert duration-300" src="/logo.png" alt="AniWiki"/></Link>
<Link to="/"><img className="h-8 font-extrabold text-xl hover:invert duration-300" src="https://github.com/NotMatta/aniwiki/blob/main/public/logo.png?raw=true" alt="AniWiki"/></Link>
</div>
<div className="flex gap-4 [&_p]:hidden md:[&_p]:block [&>a]:gap-2 [&>a]:flex [&>a]:p-2">
<Link to="/search" className="hover:bg-[rgba(0,0,0,0.5)] duration-300 rounded-xl"><Search/><p>Search</p></Link>
Expand Down
2 changes: 1 addition & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ import react from '@vitejs/plugin-react'
// https://vite.dev/config/
export default defineConfig({
plugins: [react()],
base: '/aniwiki/'
base: '/'
})

0 comments on commit d9d4f2c

Please sign in to comment.