diff --git a/src/app/newsFeedPage/page.tsx b/src/app/newsFeedPage/page.tsx
index 9227140..81028e1 100644
--- a/src/app/newsFeedPage/page.tsx
+++ b/src/app/newsFeedPage/page.tsx
@@ -3,6 +3,9 @@
import React from 'react';
import NavBar from '../../components/userComponents/navBar/navBar';
+/**
+ * @returns The news feed page
+ */
function App() {
return (
diff --git a/src/app/qrCodeScanner/page.tsx b/src/app/qrCodeScanner/page.tsx
deleted file mode 100644
index 0f0d283..0000000
--- a/src/app/qrCodeScanner/page.tsx
+++ /dev/null
@@ -1,30 +0,0 @@
-'use client';
-
-import React from 'react';
-import NavBar from '../../components/userComponents/navBar/navBar';
-import QrScanner from '../../components/userComponents/QrScanner/QrScanner';
-/**
- * @returns qr code scanner page
- */
-function App() {
- return (
-
-
-
-
- QR Learning Exhibits
-
-
- Saratoga is home to an abundance of plant and animal life. As you
- explore these exhibits, you will learn about species that are
- endangered and being carefully monitored by scientists with protective
- efforts in place. We welcome you to learn more about these important
- plants and animals throughout the exhibits by utilizing our QR codes
- on each sign that has a fun fact about a species.
-
-
-
-
- );
-}
-export default App;
diff --git a/src/app/qrCodeTourPage/page.tsx b/src/app/qrCodeTourPage/page.tsx
deleted file mode 100644
index c2c6147..0000000
--- a/src/app/qrCodeTourPage/page.tsx
+++ /dev/null
@@ -1,19 +0,0 @@
-'use client';
-
-import React from 'react';
-import NavBar from '../../components/userComponents/navBar/navBar';
-
-function App() {
- return (
-
-
-
-
- QR Code Tour
-
-
-
- );
-}
-
-export default App;
diff --git a/src/components/userComponents/navBar/navBar.tsx b/src/components/userComponents/navBar/navBar.tsx
index ed419c2..fa4c4d6 100644
--- a/src/components/userComponents/navBar/navBar.tsx
+++ b/src/components/userComponents/navBar/navBar.tsx
@@ -2,21 +2,20 @@ import React, { useState } from 'react';
import Link from 'next/link';
/**
- *
+ * @returns The navigation bar for the web app
*/
function NavBar() {
const [showMenu, setShowMenu] = useState(false);
/**
- *
+ * Toggles the side menu
*/
function handleClick() {
setShowMenu(!showMenu);
}
/**
- *
- * @param event
+ * @param event - Close the side menu when the escape key is pressed
*/
function handleKeyDown(event: React.KeyboardEvent
) {
if (event.key === 'Escape') {
diff --git a/src/supabase/tour_displays/queries.tsx b/src/supabase/tour_displays/queries.tsx
index e624a23..e06663b 100644
--- a/src/supabase/tour_displays/queries.tsx
+++ b/src/supabase/tour_displays/queries.tsx
@@ -1,7 +1,7 @@
'use client';
import supabase from '../client';
-import { TourDisplaysRow, DisplayRow, TourRow } from '../../types/types';
+import { TourDisplaysRow, DisplayRow } from '../../types/types';
import { fetchDisplaysfromIds } from '../displays/queries';
/**
@@ -33,7 +33,6 @@ export async function fetchMatchingTourDisplayIdsfromSpotlight(tourId: string) {
);
}
const displayIds = data.map(item => item.display_id);
- console.log('hello?');
return displayIds;
}