-
-
Notifications
You must be signed in to change notification settings - Fork 185
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
style: format code with prettier (#1243)
Format code with prettier This commit fixes the style issues introduced in d6189e1 according to the output from Prettier. Details: None Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
- Loading branch information
1 parent
d6189e1
commit 633570e
Showing
6 changed files
with
200 additions
and
198 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
.lock_profile_container { | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
flex-direction: column; | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
flex-direction: column; | ||
} | ||
|
||
.profile_lock_img { | ||
width: 100%; | ||
max-width: 270px; | ||
filter: drop-shadow(2px 2px 5px var(--color)); | ||
} | ||
width: 100%; | ||
max-width: 270px; | ||
filter: drop-shadow(2px 2px 5px var(--color)); | ||
} |
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 |
---|---|---|
@@ -1,20 +1,21 @@ | ||
import "./index.css" | ||
import lockImg from "../../../assets/lock.png" | ||
import { Link } from "react-router-dom" | ||
import "./index.css"; | ||
import lockImg from "../../../assets/lock.png"; | ||
import { Link } from "react-router-dom"; | ||
|
||
const LockedFriendPage = ({name}) => { | ||
const LockedFriendPage = ({ name }) => { | ||
return ( | ||
<div className="lock_profile_container"> | ||
<img | ||
src={lockImg} | ||
<img | ||
src={lockImg} | ||
alt="User Profile Locked" | ||
className="profile_lock_img" | ||
/> | ||
<h3> | ||
Add <Link to={`/dummygram/user/${name}`}>{name}</Link> as friend to unlock their friend list! | ||
</h3> | ||
/> | ||
<h3> | ||
Add <Link to={`/dummygram/user/${name}`}>{name}</Link> as friend to | ||
unlock their friend list! | ||
</h3> | ||
</div> | ||
) | ||
} | ||
); | ||
}; | ||
|
||
export default LockedFriendPage | ||
export default LockedFriendPage; |
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 |
---|---|---|
@@ -1,72 +1,72 @@ | ||
.friends_page_main_container { | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
min-height: calc(100vh - 85px); | ||
margin: 10px; | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
min-height: calc(100vh - 85px); | ||
margin: 10px; | ||
} | ||
|
||
.friends_page_sub_container { | ||
padding: 15px; | ||
border-radius: 10px; | ||
max-width: 700px; | ||
width: 100%; | ||
border: 2px solid var(--profile-color); | ||
box-shadow: var(--post-box-shadow); | ||
padding: 15px; | ||
border-radius: 10px; | ||
max-width: 700px; | ||
width: 100%; | ||
border: 2px solid var(--profile-color); | ||
box-shadow: var(--post-box-shadow); | ||
} | ||
|
||
.friend_page_header { | ||
text-align: center; | ||
font-size: 30px; | ||
font-weight: 700; | ||
padding: 20px; | ||
color: var(--text-dim) | ||
text-align: center; | ||
font-size: 30px; | ||
font-weight: 700; | ||
padding: 20px; | ||
color: var(--text-dim); | ||
} | ||
|
||
.friend_page_friend_list_container { | ||
padding: 0; | ||
padding: 0; | ||
} | ||
|
||
.friend_page_friend_list_item { | ||
list-style: none; | ||
display: flex; | ||
align-items: center; | ||
gap: 10px; | ||
padding: 8px; | ||
border-bottom: 1px solid #eee; | ||
list-style: none; | ||
display: flex; | ||
align-items: center; | ||
gap: 10px; | ||
padding: 8px; | ||
border-bottom: 1px solid #eee; | ||
} | ||
|
||
.friend_page_friend_avatar { | ||
width: 50px; | ||
height: 50px; | ||
border-radius: 50%; | ||
border: 1px solid #eee; | ||
width: 50px; | ||
height: 50px; | ||
border-radius: 50%; | ||
border: 1px solid #eee; | ||
} | ||
|
||
.friend_page_friend_name { | ||
font-weight: 600; | ||
color: var(--text-secondary); | ||
cursor: pointer; | ||
font-weight: 600; | ||
color: var(--text-secondary); | ||
cursor: pointer; | ||
} | ||
|
||
.friend_page_friend_name:hover { | ||
text-decoration: underline; | ||
text-decoration: underline; | ||
} | ||
|
||
.friend_page_friend_bio { | ||
color: var(--profile-color); | ||
cursor: default; | ||
color: var(--profile-color); | ||
cursor: default; | ||
} | ||
|
||
@media only screen and (max-width: 840px) { | ||
.friends_page_main_container { | ||
padding-top: 20px; | ||
} | ||
.friends_page_main_container { | ||
padding-top: 20px; | ||
} | ||
} | ||
|
||
@media only screen and (max-width: 450px) { | ||
.friend_page_header { | ||
font-size: 23px; | ||
padding: 15px; | ||
} | ||
} | ||
.friend_page_header { | ||
font-size: 23px; | ||
padding: 15px; | ||
} | ||
} |
Oops, something went wrong.