Skip to content
Open
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
76 changes: 76 additions & 0 deletions gatorconnect/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 gatorconnect/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,12 @@
"version": "0.1.0",
"private": true,
"dependencies": {
"@fortawesome/free-solid-svg-icons": "^6.6.0",
"@fortawesome/react-fontawesome": "^0.2.2",
"@testing-library/jest-dom": "^5.17.0",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^13.5.0",
"axios": "^1.7.7",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-router-dom": "^6.27.0",
Expand Down
7 changes: 6 additions & 1 deletion gatorconnect/src/.vs/VSWorkspaceState.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
{
"ExpandedNodes": [],
"ExpandedNodes": [
"",
"\\components",
"\\components\\pages"
],
"SelectedNode": "\\App.js",
"PreviewInSolutionExplorer": false
}
Binary file modified gatorconnect/src/.vs/slnx.sqlite
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified gatorconnect/src/.vs/src/v17/.wsuo
Binary file not shown.
10 changes: 9 additions & 1 deletion gatorconnect/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,16 @@ import SignUp from './components/pages/SignUp.js';
import Team from './components/pages/Team.js';
import Mission from './components/pages/Mission.js';
import Profile from './components/pages/Profile.js';
import AddPostPage from './components/pages/AddPostPage.js';
import ListingDetail from './components/pages/ListingDetails';
import DevMess from './components/pages/DevMess.js';

function App() {
return (
<>
<Router>
<Navbar />
<div className="page-container"> {/* Add this div to wrap content */}
<Routes>
<Route path='/' element={<Home />} />
<Route path='/services' element={<Services />} />
Expand All @@ -23,7 +27,11 @@ function App() {
<Route path='/team' element={<Team />} />
<Route path='/mission' element={<Mission />} />
<Route path='/profile' element={<Profile />} />
</Routes>
<Route path='/add-post' element= {<AddPostPage/>} />
<Route path='/listing/:id' element={<ListingDetail />} />
<Route path='/devMessaging/' element={<DevMess />}/>
</Routes>
</div>
</Router>
</>
);
Expand Down
4 changes: 3 additions & 1 deletion gatorconnect/src/components/Navbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ import React, { useState, useEffect } from 'react';
import { Button } from './Button';
import { Link } from 'react-router-dom';
import './Navbar.css';
import { user } from './/pages/SignUp.js'


function Navbar() {
const [click, setClick] = useState(false);
Expand Down Expand Up @@ -61,7 +63,7 @@ function Navbar() {
{button && <Button buttonStyle='btn--outline'>SIGN UP</Button>}
<Link to='/profile' className='profile-icon'>
<img
src='images/profileicon.png'
src={localStorage.profilepic}
alt='Profile'
className='profile-icon-img'
/>
Expand Down
68 changes: 68 additions & 0 deletions gatorconnect/src/components/pages/AddPost.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@

.page{
background-color: #EEF2FF;
}

.container{
margin: auto;
padding-top: 6rem;
padding-bottom: 6rem;
max-width: 42rem;
}

.box{
padding-left: 1.5rem;
padding-right: 1.5rem;
padding-top: 2rem;
padding-bottom: 2rem;
margin: 1rem;
margin-bottom: 1rem;
border-radius: 0.375rem;
border-width: 1px;
background-color: #ffffff;
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);

@media (min-width: 768px) {
margin: 0;
}
}

.addPostTxt{
margin-bottom: 1.5rem;
font-weight: 600;
text-align: center;
}

.space{
margin-bottom: 1rem;
}

.title{
display: block;
margin-bottom: 0.5rem;
font-weight: 700;
color: #374151;
}

.text{
padding-top: 0.5rem;
padding-bottom: 0.5rem;
padding-left: 0.75rem;
padding-right: 0.75rem;
margin-bottom: 0.5rem;
border-radius: 0.25rem;
border-width: 1px;
width: 100%;
}

.post-button{
padding-top: 0.5rem;
padding-bottom: 0.5rem;
padding-left: 1rem;
padding-right: 1rem;
border-radius: 9999px;
width: 100%;
font-weight: 700;
color: #ffffff;
background-color: #0021A5;
}
Loading