Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
129 commits
Select commit Hold shift + click to select a range
c558e00
Added my name to app
joeydare Apr 3, 2024
fb925c8
Fixed small typo
joeydare Apr 3, 2024
421db44
Added name
Joan-cris Apr 3, 2024
f0ababe
Merge pull request #2 from KaiWinterleUD/add-name-joannacrisomia
Joan-cris Apr 3, 2024
a036a0b
Merge pull request #1 from KaiWinterleUD/add-name-joeydare
joeydare Apr 3, 2024
f099b29
Basic Button and pages added
joeydare Apr 9, 2024
07c97dc
Improved User Interface to column
joeydare Apr 9, 2024
9df0f5e
Removed unnecessary App.tsx content
joeydare Apr 9, 2024
fdcb4de
Merge pull request #43 from KaiWinterleUD/basic-button-joeydare
rkiamilev Apr 9, 2024
d8d1429
Added names to bottom
joeydare Apr 9, 2024
01f2208
Added detailed button to home page with containters
joeydare Apr 9, 2024
015cfb2
Moved detailed button to top right
joeydare Apr 9, 2024
b333392
Added Pages.css and moved styling into css
joeydare Apr 10, 2024
9ad6208
Added styling for the button and moved home page button top left
joeydare Apr 10, 2024
6eda2d6
Merge pull request #44 from KaiWinterleUD/detailed-button-joeydare
Joan-cris Apr 10, 2024
452f08e
added navbar sample
rkiamilev Apr 11, 2024
1d93696
add navbar
rkiamilev Apr 11, 2024
48687ae
Add basic questions
Joan-cris Apr 11, 2024
f4f7a6a
change variable names for clarity
Joan-cris Apr 11, 2024
4a518f9
Add descriptions for consts
Joan-cris Apr 11, 2024
82579f7
Reword questions
Joan-cris Apr 11, 2024
a697d5c
Add detailed questions
Joan-cris Apr 11, 2024
f07e71a
fix intermediate button
Joan-cris Apr 11, 2024
14daa33
Merge pull request #45 from KaiWinterleUD/home-button-joeydare
KaiWinterleUD Apr 11, 2024
eb27994
updated navbar
rkiamilev Apr 11, 2024
1a3337a
final navbar
rkiamilev Apr 11, 2024
23dd753
Removed clutter and moved extra content to footer
joeydare Apr 11, 2024
b602f60
Merge pull request #47 from KaiWinterleUD/remove-clutter-joeydare
joeydare Apr 11, 2024
32976b2
Merge branch 'main' into basic-questions-joanna
joeydare Apr 11, 2024
062edc5
Merge pull request #46 from KaiWinterleUD/basic-questions-joanna
joeydare Apr 11, 2024
b27231a
black background
rkiamilev Apr 11, 2024
a3d20bf
added black
rkiamilev Apr 11, 2024
2139d78
test
rkiamilev Apr 11, 2024
3eb6df7
navbar 2.0
rkiamilev Apr 14, 2024
e5a3781
Added header with border
joeydare Apr 15, 2024
5fe9f7e
Added header to Detailed and Basic page
joeydare Apr 15, 2024
264d181
Removed margin bottom on buttons
joeydare Apr 15, 2024
92dac9f
Lowered border px
joeydare Apr 15, 2024
df6a7bf
Added hover and border to nav buttons
joeydare Apr 15, 2024
4ec890a
Removed column and container styling and incorporated it into just he…
joeydare Apr 15, 2024
1b8b78b
fix: missing bootstrap stylesheet link in index.html
rkiamilev Apr 15, 2024
af9b292
Added brain logo to header
joeydare Apr 15, 2024
b55ae49
navbar
rkiamilev Apr 15, 2024
87fc70d
Made visual changes to header
joeydare Apr 15, 2024
f8d627c
Changed Fonts
joeydare Apr 15, 2024
b2f7578
Added changes to Basic and Detailed page
joeydare Apr 15, 2024
883f647
Added ability to click icon or title to return to home screen and hov…
joeydare Apr 15, 2024
0cbef43
Merge branch 'main' into updated-header-joeydare
joeydare Apr 15, 2024
084ccfb
Added 'Contact Us' and 'Help' to footer with hover styling for appeal
joeydare Apr 15, 2024
be28f2f
Merge branch 'main' into updated-footer-joeydare
joeydare Apr 15, 2024
87c3b6b
Merge pull request #49 from KaiWinterleUD/updated-header-joeydare
joeydare Apr 15, 2024
17403d9
Merge branch 'main' into updated-footer-joeydare
joeydare Apr 15, 2024
e92d4a1
merge conflict fix
joeydare Apr 15, 2024
30e712b
Merge pull request #51 from KaiWinterleUD/fix-merge-joeydare
joeydare Apr 15, 2024
42aa47a
Merge pull request #50 from KaiWinterleUD/updated-footer-joeydare
joeydare Apr 15, 2024
d65c29e
Fixed footer merge
joeydare Apr 15, 2024
82ec03c
Merge pull request #52 from KaiWinterleUD/merge-conflict-2-joeydare
joeydare Apr 15, 2024
ae44074
Completed merge conflict
joeydare Apr 17, 2024
d03ec38
Merge pull request #54 from KaiWinterleUD/solve-branch-conflict-joeydare
joeydare Apr 17, 2024
f6d4a39
Updated home page significantly to look much more appealing
joeydare Apr 17, 2024
628a9da
Merge pull request #55 from KaiWinterleUD/home-page-joeydare
joeydare Apr 17, 2024
99a97ea
Minor CSS adjustments
joeydare Apr 17, 2024
268e170
Merge pull request #56 from KaiWinterleUD/adjustments-CSS-joeydare
joeydare Apr 17, 2024
ece6214
Added questions.css and moved CSS styling from Basic and Detailed int…
joeydare Apr 18, 2024
b1af93f
Merge pull request #57 from KaiWinterleUD/sort-files-joeydare
joeydare Apr 18, 2024
4548eba
imported questions css file
joeydare Apr 18, 2024
a1545be
Merge pull request #58 from KaiWinterleUD/questions-css-joeydare
joeydare Apr 18, 2024
f77a0db
Solved empty buttons issue
joeydare Apr 18, 2024
fd37caf
Merge pull request #59 from KaiWinterleUD/solve-empty-buttons-joeydare
joeydare Apr 18, 2024
ad63efb
Added font files
joeydare Apr 18, 2024
46253fa
Global fonts
joeydare Apr 18, 2024
1852428
Merge pull request #60 from KaiWinterleUD/add-fonts-joeydare
joeydare Apr 18, 2024
3a1322f
fonts
rkiamilev Apr 18, 2024
fe4faa3
Fixed typo in font import
joeydare Apr 18, 2024
a36bee0
Merge pull request #61 from KaiWinterleUD/add-fonts-joeydare
joeydare Apr 18, 2024
0510a3d
Added another font
joeydare Apr 19, 2024
837e7db
Merge pull request #62 from KaiWinterleUD/add-fonts-joeydare
joeydare Apr 19, 2024
f102041
Basic and Detailed text added and image to center box
joeydare Apr 21, 2024
3702da4
Merge pull request #63 from KaiWinterleUD/home-page-changes
joeydare Apr 21, 2024
059e5de
Changed questions page buttons to radio buttons
joeydare Apr 22, 2024
357afd5
Adjusted fonts for radio labels and questions, added footer spac
joeydare Apr 22, 2024
a1d8da8
Merge pull request #64 from KaiWinterleUD/questions-changes-joeydare
joeydare Apr 22, 2024
7d48398
Added comments to code
joeydare Apr 22, 2024
e480bca
Merge pull request #65 from KaiWinterleUD/comments-joeydare
joeydare Apr 22, 2024
a08d5c2
Update fonts and CSS styling
rkiamilev Apr 23, 2024
834bc5c
update font
rkiamilev Apr 23, 2024
1345eaf
Changed CSS to be website responsive, added feedback response for que…
joeydare Apr 23, 2024
024ea1f
Merge pull request #66 from KaiWinterleUD/website-responsive-joeydare
joeydare Apr 23, 2024
610674e
career button
rkiamilev Apr 23, 2024
dbd2009
Results and Confetti only show up when all buttons are checked
joeydare Apr 24, 2024
67ffab8
Fixed issue with confetti anytime a button is changed
joeydare Apr 24, 2024
e863bd6
Merge pull request #67 from KaiWinterleUD/allQuestionsAnswered-bugfix…
joeydare Apr 24, 2024
2468f73
ting
rkiamilev Apr 24, 2024
6b152f4
Added navigation between basic and detailed
joeydare Apr 24, 2024
cdd34c7
Merge pull request #68 from KaiWinterleUD/navigate-basic-detailed-joe…
joeydare Apr 24, 2024
b479d06
Changed basic question radio buttons to face icons and added styling
joeydare Apr 24, 2024
c8cd08b
Changed detailed question button to face icons and added styling
joeydare Apr 24, 2024
e731e9b
Merge pull request #69 from KaiWinterleUD/navigate-basic-detailed-joe…
joeydare Apr 24, 2024
8cb722a
gerge branch 'main' of https://github.com/KaiWinterleUD/starter_helpi…
rkiamilev Apr 24, 2024
a863a1c
took out duplicate code, added navbar
rkiamilev Apr 24, 2024
c03ce47
removed header from navbar.tsx
rkiamilev Apr 24, 2024
f3b1f4f
basic progress bar
Joan-cris Apr 25, 2024
9979e11
progress bar detailed, merge fix
Joan-cris Apr 25, 2024
ef5b050
Merge pull request #71 from KaiWinterleUD/Progress-bar-joannacrisomia
joeydare Apr 25, 2024
d1c956a
rmv header, fixed navbar
rkiamilev Apr 25, 2024
9198bf4
fixed career search page
rkiamilev Apr 25, 2024
7bbfa60
merged main into ricky2
rkiamilev Apr 26, 2024
e604333
remove un-used imports
rkiamilev Apr 26, 2024
61f4488
detailed progress bar
rkiamilev Apr 26, 2024
a7bbcd4
Updated header, readded title
joeydare Apr 29, 2024
fd5fc6b
Merge pull request #72 from KaiWinterleUD/update-header-joeydare
joeydare Apr 29, 2024
2871925
Fixed website responsiveness
joeydare Apr 29, 2024
4d2ac42
Merge pull request #73 from KaiWinterleUD/fix-responsiveness-joeydare
joeydare Apr 29, 2024
026dafd
title switches to home page
joeydare Apr 29, 2024
bcf0d8a
Merge pull request #74 from KaiWinterleUD/title-handle-joeydare
joeydare Apr 29, 2024
68f6679
Results page
joeydare Apr 29, 2024
84ab486
Export Results page
joeydare Apr 29, 2024
2f563a2
Results page is ready to be created
joeydare Apr 29, 2024
2afe4d6
Merge pull request #75 from KaiWinterleUD/create-results-joeydare
joeydare Apr 29, 2024
87a33ad
Results fix
joeydare Apr 29, 2024
1d2f36e
Merge pull request #76 from KaiWinterleUD/create-results-joeydare
joeydare Apr 29, 2024
0e52b2f
Added content to home page
joeydare Apr 30, 2024
986ea6c
Merge pull request #77 from KaiWinterleUD/improve-home-joeydare
joeydare Apr 30, 2024
b889211
Fixed footer causing scroll
joeydare May 2, 2024
c680b5b
Merge pull request #78 from KaiWinterleUD/fix-footer-joeydare
joeydare May 2, 2024
637a425
Added brain icon to progress bar w animation
joeydare May 7, 2024
d1943c6
alter question in detailed
Joan-cris May 7, 2024
1c92ae7
change to progress bar
Joan-cris May 9, 2024
4b55a83
changes to progress bar detailes
Joan-cris May 9, 2024
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
54 changes: 45 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"version": "0.1.0",
"private": true,
"dependencies": {
"@fortawesome/fontawesome-free": "^6.5.2",
"@testing-library/jest-dom": "^5.17.0",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^13.5.0",
Expand All @@ -16,6 +17,8 @@
"react": "^18.2.0",
"react-bootstrap": "^2.10.1",
"react-dom": "^18.2.0",
"react-dom-confetti": "^0.2.0",
"react-icons": "^5.1.0",
"react-scripts": "5.0.1",
"typescript": "^4.9.5",
"web-vitals": "^2.1.4"
Expand Down
8 changes: 7 additions & 1 deletion public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>React App</title>
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css"
integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3"
crossorigin="anonymous"
/>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
Expand All @@ -40,4 +46,4 @@
To create a production bundle, use `npm run build` or `yarn build`.
-->
</body>
</html>
</html>
92 changes: 67 additions & 25 deletions src/App.css
Original file line number Diff line number Diff line change
@@ -1,38 +1,80 @@
.App {
text-align: center;
.footer {
position: fixed;
bottom: 0;
width: 100%;
background-color: #6fb4fe;
color: white;
display: flex;
align-items: center;
padding: 0.2vw;
}

.header {
top: 0;
width: 100%;
height: 4vw;
background-color: white;
align-items: center;
}

.App-logo {
height: 40vmin;
pointer-events: none;
.footer-container {
display: flex;
cursor: pointer;
margin-right: 3vw;
margin-left: 1vw;
font-family: "Poppins Light", sans-serif;
font-weight: bold;
font-size: 1.6vw;
}

@media (prefers-reduced-motion: no-preference) {
.App-logo {
animation: App-logo-spin infinite 20s linear;
}
.footer-container:hover {
opacity: 0.7;
}

.App-header {
background-color: #282c34;
min-height: 100vh;
.api-form {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
font-size: calc(10px + 2vmin);
color: white;
margin-left: 20vw;
}

.api-form .form-control {
width: 20vw;
}

.api-form .Submit-Button {
width: 10vw;
background-color: #0980ff;
border-color: #0980ff;
}

.api-form .Submit-Button:hover {
width: 10vw;
background-color: #0053ac;
border-color: #0053ac;
}

.navBar {
background-color: #6fb4fe;
display: flex;
height: 4.5vw;
}

.App-link {
color: #61dafb;
.search-bar {
margin: auto;
width: 19vw;
height: 2.7vw; /* Adjust the width as needed */
font-size: 1vw; /* Adjust the font size as needed */
margin-left: 44.5vw;
}

@keyframes App-logo-spin {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
.career-search {
margin-top: 0.8vw;
margin-left: 1vw;
color: white;
font-family: "Poppins", sans-serif;
}

.career-search:hover {
opacity: 0.9;
cursor: pointer;
}
55 changes: 32 additions & 23 deletions src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
import React, { useState } from 'react';
import logo from './logo.svg';
import './App.css';
import { Button, Form } from 'react-bootstrap';
import Home from './Pages/Home';
import Basic from './Pages/Basic';
import Detailed from './Pages/Detailed';
import NavHome from './navbar';
import CareerSearchByInterest from './Pages/interests';
import Results from './Pages/Results';

//local storage and API Key: key should be entered in by the user and will be stored in local storage (NOT session storage)
let keyData = "";
Expand All @@ -13,6 +18,7 @@ if (prevKey !== null) {

function App() {
const [key, setKey] = useState<string>(keyData); //for api key input
const [currPg, setCurrPg] = useState<string>('Home');

//sets the local storage item to the api key the user inputed
function handleSubmit() {
Expand All @@ -24,29 +30,32 @@ function App() {
function changeKey(event: React.ChangeEvent<HTMLInputElement>) {
setKey(event.target.value);
}

const updatePageState = () => {
return currPg === 'Basic' ? <Basic handlePage={setCurrPg} />
: currPg === 'Detailed' ? <Detailed handlePage={setCurrPg} />
: currPg === 'interests' ? <CareerSearchByInterest handlePage={setCurrPg} />
: currPg === 'Results' ? <Results handlePage={setCurrPg} />
: <Home handlePage={setCurrPg} />;
};

return (
<div className="App">
<header className="App-header">
<img src={logo} className="App-logo" alt="logo" />
<p>
Edit <code>src/App.tsx</code> and save to reload.
</p>
<a
className="App-link"
href="https://reactjs.org"
target="_blank"
rel="noopener noreferrer"
>
Learn React
</a>
</header>
<Form>
<Form.Label>API Key:</Form.Label>
<Form.Control type="password" placeholder="Insert API Key Here" onChange={changeKey}></Form.Control>
<br></br>
<Button className="Submit-Button" onClick={handleSubmit}>Submit</Button>
</Form>
</div>
<>
<NavHome handlePage={setCurrPg}></NavHome>

{updatePageState()/* Renders the page */}

<footer className="footer" /* Bottom of page */>
<h2 className="footer-container">Contact Us</h2>
<h2 className="footer-container">Help</h2>
<Form className="api-form">
<Form.Group controlId="apiKey" /* Form for API Key Input */>
<Form.Control type="password" placeholder="Insert API Key Here" onChange={changeKey} />
</Form.Group>
<Button className="Submit-Button" onClick={handleSubmit}>Submit</Button>
</Form>
</footer>
</>
);
}

Expand Down
Loading