diff --git a/frontend/sportsmatch-app/pictures/jeffrey-keenan-pUhxoSapPFA-unsplash.jpg b/frontend/sportsmatch-app/assets/jeffrey-keenan-pUhxoSapPFA-unsplash.jpg similarity index 100% rename from frontend/sportsmatch-app/pictures/jeffrey-keenan-pUhxoSapPFA-unsplash.jpg rename to frontend/sportsmatch-app/assets/jeffrey-keenan-pUhxoSapPFA-unsplash.jpg diff --git a/frontend/sportsmatch-app/pictures/man.svg b/frontend/sportsmatch-app/assets/man.svg similarity index 100% rename from frontend/sportsmatch-app/pictures/man.svg rename to frontend/sportsmatch-app/assets/man.svg diff --git a/frontend/sportsmatch-app/pictures/michael-dam-mEZ3PoFGs_k-unsplash.jpg b/frontend/sportsmatch-app/assets/michael-dam-mEZ3PoFGs_k-unsplash.jpg similarity index 100% rename from frontend/sportsmatch-app/pictures/michael-dam-mEZ3PoFGs_k-unsplash.jpg rename to frontend/sportsmatch-app/assets/michael-dam-mEZ3PoFGs_k-unsplash.jpg diff --git a/frontend/sportsmatch-app/pictures/unknown-user-placeholder.png b/frontend/sportsmatch-app/assets/unknown-user-placeholder.png similarity index 100% rename from frontend/sportsmatch-app/pictures/unknown-user-placeholder.png rename to frontend/sportsmatch-app/assets/unknown-user-placeholder.png diff --git a/frontend/sportsmatch-app/pictures/woman.svg b/frontend/sportsmatch-app/assets/woman.svg similarity index 100% rename from frontend/sportsmatch-app/pictures/woman.svg rename to frontend/sportsmatch-app/assets/woman.svg diff --git a/frontend/sportsmatch-app/index.html b/frontend/sportsmatch-app/index.html index dba2c9f0..ec5a36d8 100644 --- a/frontend/sportsmatch-app/index.html +++ b/frontend/sportsmatch-app/index.html @@ -2,7 +2,7 @@ - + SPORTS MINGLE diff --git a/frontend/sportsmatch-app/src/components/EventHistoryItem.tsx b/frontend/sportsmatch-app/src/components/EventHistoryItem.tsx index 342c5689..6f520d61 100644 --- a/frontend/sportsmatch-app/src/components/EventHistoryItem.tsx +++ b/frontend/sportsmatch-app/src/components/EventHistoryItem.tsx @@ -49,7 +49,7 @@ function EventHistoryItem({ eventHistoryDTO }: EventHistoryProps) {
- +
You
@@ -78,7 +78,7 @@ function EventHistoryItem({ eventHistoryDTO }: EventHistoryProps) {
- +
{eventHistoryDTO.opponent?.name} diff --git a/frontend/sportsmatch-app/src/components/Navbar.tsx b/frontend/sportsmatch-app/src/components/Navbar.tsx index e8fe0496..dfbb598a 100644 --- a/frontend/sportsmatch-app/src/components/Navbar.tsx +++ b/frontend/sportsmatch-app/src/components/Navbar.tsx @@ -6,8 +6,8 @@ import { NavDropdown } from 'react-bootstrap' import { OpenAPI, ExSecuredEndpointService, ApiError } from '../generated/api' function Navbar() { - const loggedInUserImgUrl = 'pictures/michael-dam-mEZ3PoFGs_k-unsplash.jpg' - const loggedOutUserImgUrl = 'pictures/unknown-user-placeholder.png' + const loggedInUserImgUrl = '/assets/michael-dam-mEZ3PoFGs_k-unsplash.jpg' + const loggedOutUserImgUrl = '/assets/unknown-user-placeholder.png' const [isLoggedIn, setLoggedIn] = useState(false) const [userId, setUserId] = useState() diff --git a/frontend/sportsmatch-app/src/components/RateGameComponent.tsx b/frontend/sportsmatch-app/src/components/RateGameComponent.tsx index acc988e1..778b752d 100644 --- a/frontend/sportsmatch-app/src/components/RateGameComponent.tsx +++ b/frontend/sportsmatch-app/src/components/RateGameComponent.tsx @@ -53,8 +53,8 @@ export default function RateGameComponent(p: Props) { init() }, []) - const userProfilePicture = 'pictures/unknown-user-placeholder.png' - const opponentProfilePicture = 'pictures/unknown-user-placeholder.png' + const userProfilePicture = '/assets/unknown-user-placeholder.png' + const opponentProfilePicture = '/assets/unknown-user-placeholder.png' const [userScore, setUserScore] = useState(0) const [opponentScore, setOpponentScore] = useState(0) diff --git a/frontend/sportsmatch-app/src/components/RatingCard.tsx b/frontend/sportsmatch-app/src/components/RatingCard.tsx index 7a52c9d1..72e3771d 100644 --- a/frontend/sportsmatch-app/src/components/RatingCard.tsx +++ b/frontend/sportsmatch-app/src/components/RatingCard.tsx @@ -15,7 +15,7 @@ export default function RatingCard({ rating }: RatingCardProps) {
diff --git a/frontend/sportsmatch-app/src/components/UserCard.tsx b/frontend/sportsmatch-app/src/components/UserCard.tsx index ba43ab59..0f0224e5 100644 --- a/frontend/sportsmatch-app/src/components/UserCard.tsx +++ b/frontend/sportsmatch-app/src/components/UserCard.tsx @@ -24,7 +24,7 @@ export default function UserCard({ user, summary }: UserCardProp) {
- +
  • {user.name}

    diff --git a/frontend/sportsmatch-app/src/pages/UserInfo.tsx b/frontend/sportsmatch-app/src/pages/UserInfo.tsx index eec84af7..5df963be 100644 --- a/frontend/sportsmatch-app/src/pages/UserInfo.tsx +++ b/frontend/sportsmatch-app/src/pages/UserInfo.tsx @@ -119,7 +119,7 @@ export default function UserInfo() { checked={selectedGender === 'male'} onChange={() => handleSelectGender('male')} /> - man + man

    Male

@@ -138,7 +138,7 @@ export default function UserInfo() { checked={selectedGender === 'female'} onChange={() => handleSelectGender('female')} /> - man + man

Female

diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 00000000..35ddc753 --- /dev/null +++ b/package-lock.json @@ -0,0 +1,6 @@ +{ + "name": "sportsmatch", + "lockfileVersion": 3, + "requires": true, + "packages": {} +}