Skip to content
This repository has been archived by the owner on Aug 29, 2024. It is now read-only.

adjust vite config, hopefully serve at corret path; fix link to logo #4

Merged
merged 1 commit into from
May 30, 2024
Merged
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
2 changes: 1 addition & 1 deletion src/components/Navbar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const Navbar = () => {
return (
<nav style={styles.navbar}>
<Link to="/" style={styles.logo}>
<img src="./public/education-dao-circle.png" alt="Logo" style={styles.logoImage} />
<img src="/education-dao-circle.png" alt="Logo" style={styles.logoImage} />
Education DAO Glossary
</Link>
</nav>
Expand Down
2 changes: 1 addition & 1 deletion vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';

export default defineConfig({
base: '/web3-glossary-website/', // Adjust this if your repository name is different
base: '/', // Adjust this if your repository name is different
plugins: [react()],
});