Skip to content

Commit 9db6def

Browse files
fix logo home
1 parent 6e199a0 commit 9db6def

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/pages/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import React, { useState } from 'react';
22
import Layout from '@theme/Layout';
33
import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
4+
import useBaseUrl from '@docusaurus/useBaseUrl';
45
import styles from './index.module.css';
56

67
export default function Home() {
@@ -42,7 +43,7 @@ export default function Home() {
4243
<div className={styles.hero}>
4344
<div className={styles.headerContainer}>
4445
<img
45-
src="/img/newlogo.png"
46+
src={useBaseUrl('/img/newlogo.png')}
4647
alt="DREXpedia Logo"
4748
className={styles.logo}
4849
/>

0 commit comments

Comments
 (0)