Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Feedback page #154

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,3 +102,5 @@ Nikita Jha - Discord: @nikita-jha#6879
Ivan Zheng - Discord: @IvanZ#8319

Sumin Lee - Discord: @이숨#6575

Nathan Christian - Discord: NathanChr#1879
3 changes: 3 additions & 0 deletions my-app/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import CourseSwapPage from './components/CourseSwapPage/CourseSwapPage';
import CourseSwapPagePersonal from './components/CourseSwapPage/CourseSwapPagePersonal';
import CourseSwapPageSaved from './components/CourseSwapPage/CourseSwapPageSaved';
import FAQPage from './components/FAQPage/FAQPage';
import FeedbackPage from './components/FeedbackPage/FeedbackPage';
import CreateAccountPage from './components/CreateAccountPage/CreateAccountPage';
import TextBookPage from './components/TextBookPage/TextBook';
import ParkingPassMain from './components/ParkingPassSwap/ParkingPassMain';
Expand Down Expand Up @@ -43,6 +44,8 @@ function App() {

<Route path="/faq" element={<FAQPage />} />

<Route path="/feedback" element={<FeedbackPage />} />

<Route path="/parking" element={<ParkingPassMain />} />
<Route path="/tickets" element={<TicketPage />} />
{/* <Route path="/Profile" element={<Profile />} /> */}
Expand Down
30 changes: 30 additions & 0 deletions my-app/src/components/FeedbackPage/FeedbackPage.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
.main-container-feedback {
position: relative;
top: var(--top-height);
}

.feedback-body {
display: block;
padding-left: 30%;
padding-right: 30%;
margin-top: 1em;
}

.form-button {
display: inline;
cursor: pointer;
color: white;
background-color: var(--color-primary);
border: none;
margin-top: 1em;
padding: 5px 15px;
border-radius: 5px;
transition: 0.25s;
}

.form-button:hover {
color: var(--color-primary);
background-color: white;
border: 1px solid var(--color-primary);
box-shadow: 0px 0px 15px #d9d9d9;
}
35 changes: 35 additions & 0 deletions my-app/src/components/FeedbackPage/FeedbackPage.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
import React from 'react';

import './FeedbackPage.css';
import '../MainTheme.css';

/* UGA Marketplace Feedback Form link */
const FormLink =
'https://docs.google.com/forms/d/e/1FAIpQLSfJkjB6IcYv5ibrBpqzTXmWD3etrhj9NNrRz8mt1vgaxvwQmg/viewform?usp=sf_link';

// Disbable eslint temporarily
/* eslint-disable */
function FeedbackPage() {
return (
<div className="main-container-feedback">
<b>
<h1>UGA Marketplace Feedback Form</h1>
</b>
<div className="feedback-body">
<div className="feedback-text">
Have feedback for UGA Marketplace?<p></p>Whether you are a student or
faculty member, your feedback is valuable and will be strongly
considered as the website continues to grow.
</div>
<button
onClick={() => (window.location.href = FormLink)}
type="button"
className="form-button">
Submit Feedback
</button>
</div>
</div>
);
}

export default FeedbackPage;
3 changes: 3 additions & 0 deletions my-app/src/components/HomeNavbar/HomeNavbar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ function HomeNavbar() {
<li>
<Link to="/faq">FAQ</Link>
</li>
<li>
<Link to="/feedback">Feedback</Link>
</li>
</ul>
</nav>
</div>
Expand Down