We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e199a0 commit 9db6defCopy full SHA for 9db6def
src/pages/index.js
@@ -1,6 +1,7 @@
1
import React, { useState } from 'react';
2
import Layout from '@theme/Layout';
3
import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
4
+import useBaseUrl from '@docusaurus/useBaseUrl';
5
import styles from './index.module.css';
6
7
export default function Home() {
@@ -42,7 +43,7 @@ export default function Home() {
42
43
<div className={styles.hero}>
44
<div className={styles.headerContainer}>
45
<img
- src="/img/newlogo.png"
46
+ src={useBaseUrl('/img/newlogo.png')}
47
alt="DREXpedia Logo"
48
className={styles.logo}
49
/>
0 commit comments