Skip to content

Commit 384135e

Browse files
committed
backend
1 parent 5036bea commit 384135e

File tree

7 files changed

+389
-326
lines changed

7 files changed

+389
-326
lines changed

components/navbar.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
import styles from "../styles/Navbar.module.css";
32
import Aos from "aos";
43
import "aos/dist/aos.css";
@@ -35,11 +34,13 @@ export default function Navbar() {
3534
<Link href="signin" className={styles.sign}>Signin</Link>
3635
<Link href="signup" className={styles.sign}>Signup</Link>
3736
<Link href="dashboard" className={styles.sign}>Dashboard</Link>
37+
<Link href="cart" className={styles.sign}>Cart</Link>
38+
3839
</form>
3940

4041
</div>
4142
</div>
4243
</>
4344
);
4445

45-
};
46+
};

models/socket.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ const chatSchema = new mongoose.Schema({
99
});
1010
mongoose.models = {};
1111

12-
module.exports = mongoose.model("Q&As",chatSchema);
12+
module.exports = mongoose.model("QAs",chatSchema);

next.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/** @type {import('next').NextConfig} */
22
const nextConfig = {
3-
reactStrictMode: true,
3+
reactStrictMode: false,
44
}
55

66
module.exports = nextConfig

pages/_app.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export default function App({ Component, pageProps }) {
88
<ChakraProvider>
99
<Navbar/>
1010
<Component {...pageProps} />
11-
<Footer />
11+
{/* <Footer /> */}
1212
</ChakraProvider>
1313
)
1414
}

0 commit comments

Comments
 (0)