From 3d675b5212495709f80b58620e33977477c9b487 Mon Sep 17 00:00:00 2001 From: Casper Liao Date: Mon, 19 Feb 2024 17:44:09 -0500 Subject: [PATCH 1/4] Add-to-ReadMe --- .zshrc | 2 ++ README.md | 1 + 2 files changed, 3 insertions(+) create mode 100644 .zshrc diff --git a/.zshrc b/.zshrc new file mode 100644 index 00000000..9109df6c --- /dev/null +++ b/.zshrc @@ -0,0 +1,2 @@ +export NVM_DIR=~/.nvm +source $(brew --prefix nvm)/nvm.sh diff --git a/README.md b/README.md index 1e852fe2..a0493d6f 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,7 @@ on its own, run `yarn frontend-dev` or `yarn backend-dev`. - **Jessica Han** - Developer - **Grace Sawatyanon** - Developer - **Miranda Luo** - Developer +- **Casper Liao** - Developer ### 2022-2023 From 491ab0ebad56c8d98869e0b1e5d13a65ad05af78 Mon Sep 17 00:00:00 2001 From: Casper Liao Date: Mon, 19 Feb 2024 18:04:06 -0500 Subject: [PATCH 2/4] Remove.zshre --- .zshrc | 2 -- 1 file changed, 2 deletions(-) delete mode 100644 .zshrc diff --git a/.zshrc b/.zshrc deleted file mode 100644 index 9109df6c..00000000 --- a/.zshrc +++ /dev/null @@ -1,2 +0,0 @@ -export NVM_DIR=~/.nvm -source $(brew --prefix nvm)/nvm.sh From c7317105d1b4001914a3cab7053489d2482e3a14 Mon Sep 17 00:00:00 2001 From: Casper Liao Date: Wed, 21 Feb 2024 18:08:43 -0500 Subject: [PATCH 3/4] Change landlord underlined text to button style --- frontend/src/components/Review/Review.tsx | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/frontend/src/components/Review/Review.tsx b/frontend/src/components/Review/Review.tsx index 796cd619..5e9b6785 100644 --- a/frontend/src/components/Review/Review.tsx +++ b/frontend/src/components/Review/Review.tsx @@ -189,22 +189,25 @@ const ReviewComponent = ({ return ( showLabel && ( <> - - {apt.length > 0 ? 'Property: ' : 'Landlord: '} - 0 ? `/apartment/${review.aptId}` : `/landlord/${review.landlordId}`, style: { - color: 'black', - textDecoration: 'underline', - paddingBottom: '3px', + textDecoration: 'none', + display: 'inline-block', + width: '100%', + paddingLeft: '3px', }, component: RouterLink, }} onClick={handleLinkClick} > - {apt.length > 0 ? apt[0].name : landlordData ? landlordData.name : ''} + ) From 3a65ca438f0372ca4a731eee15fe19920983c7d3 Mon Sep 17 00:00:00 2001 From: CasperL1218 Date: Wed, 21 Feb 2024 18:30:12 -0500 Subject: [PATCH 4/4] Fix README and change text to button --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a0493d6f..f050d609 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,7 @@ on its own, run `yarn frontend-dev` or `yarn backend-dev`. - **Jessica Han** - Developer - **Grace Sawatyanon** - Developer - **Miranda Luo** - Developer -- **Casper Liao** - Developer +- **Kea-Roy Ong** - Developer ### 2022-2023