-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
34 add photo thumbnail to the UI (#37)
* move likes to the left corner * add photo thumbnail to the top right corner * add photo thumbnail to the top right corner * making photo thumbnail smaller * small fix for comments flow making sure it flows from the top on a longer screen * fixing likes, making sure they are at the left side * increasing margins --------- Co-authored-by: Vicky Chen <chenpanj@amazon.com> Co-authored-by: Natalie Chan <natapoke2@gmail.com>
- Loading branch information
1 parent
a74d9ee
commit 82ae7eb
Showing
6 changed files
with
35 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
export const Photo = ({ img }: { img: string }) => { | ||
if (!img) return null; | ||
|
||
return ( | ||
<div className="fixed top-4 right-4 border border-gray-300 shadow-md"> | ||
<img id="image" alt="Received image" src={img} width={100} /> | ||
</div> | ||
); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters