-
- {open && (
-
- {searchData.map((item, index) => (
-
- ))}
+
+
+
+
+
+
+
+
+
+
+
Already part of your university community?
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
First time user?
+
+
Get familiar with the
site first!
+
+
+
+
+ -
+
+ Click here to learn about BACPAC
+
+
+ -
+
+ Click here to learn how to use BACPAC
+
+
+
+
+
+
+
+
+
+
+
+
+
Still have questions?
+
+
+ Our discord community is ready and eager to help you with
+ anything BACPAC related. Make friends along the way!
+
+
+
+
+
+
+
Interested in managing our server? Leave a message!
- )}
-
-
+
+
+
+
)
}
diff --git a/src/app/sitemanual/page.js b/src/app/sitemanual/page.js
new file mode 100644
index 0000000..a868195
--- /dev/null
+++ b/src/app/sitemanual/page.js
@@ -0,0 +1,12 @@
+import Navbar from '../components/Navbar/Navbar'
+import React from 'react'
+
+function SiteManual() {
+ return (
+
+
+
+ )
+}
+
+export default SiteManual
diff --git a/src/assets/bacpacLogo.png b/src/assets/bacpacLogo.png
new file mode 100644
index 0000000..fdf8120
Binary files /dev/null and b/src/assets/bacpacLogo.png differ
diff --git a/src/assets/bacpacTitle.png b/src/assets/bacpacTitle.png
new file mode 100644
index 0000000..f2a1d30
Binary files /dev/null and b/src/assets/bacpacTitle.png differ
diff --git a/src/assets/bookimg.png b/src/assets/bookimg.png
new file mode 100644
index 0000000..7a20fb2
Binary files /dev/null and b/src/assets/bookimg.png differ
diff --git a/src/assets/discordLog.png b/src/assets/discordLog.png
new file mode 100644
index 0000000..2d469e1
Binary files /dev/null and b/src/assets/discordLog.png differ
diff --git a/src/components/SearchBar.js b/src/components/SearchBar.js
index df826c6..6508f59 100644
--- a/src/components/SearchBar.js
+++ b/src/components/SearchBar.js
@@ -1,8 +1,9 @@
-import { useState } from "react"
-import CollegeResult from "@/app/components/CollegeResult"
+import { useState } from 'react'
+import { AiOutlineSearch } from 'react-icons/ai'
+import CollegeResult from '../app/components/CollegeResult'
const SearchBar = ({ data }) => {
- const [open,setOpen] = useState(false)
+ const [open, setOpen] = useState(false)
const [filterData, setFilterData] = useState([])
const handleSearch = (e) => {
@@ -14,24 +15,30 @@ const SearchBar = ({ data }) => {
return collegeName.includes(input) || collegeAddress.includes(input)
})
.sort((a, b) => b.score - a.score)
- setOpen(input.length !== 0)
- setFilterData(filterData)
-
+ setOpen(input.length !== 0)
+ setFilterData(filterData)
}
- let searchResults = filterData?.map((item, index) => (
-
- ))
+ let searchResults = filterData?.map((item, index) =>
)
- if(searchResults.length === 0) searchResults =
No results found
+ if (searchResults.length === 0) searchResults =
No results found
return (
-
-
-
- {open &&
- {searchResults}
-
}
+
+
+
+ {open && (
+
+ {searchResults}
+
+ )}
)
}
diff --git a/src/stories/Button.jsx b/src/stories/Button.jsx
index 876f523..35f6d64 100644
--- a/src/stories/Button.jsx
+++ b/src/stories/Button.jsx
@@ -6,17 +6,9 @@ import './button.css'
* Primary UI component for user interaction
*/
export const Button = ({ primary, backgroundColor, size, label, ...props }) => {
- const mode = primary
- ? 'storybook-button--primary'
- : 'storybook-button--secondary'
+ const mode = primary ? 'storybook-button--primary' : 'storybook-button--secondary'
return (
-