-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Initial profile page design #30
Closed
Closed
Changes from 2 commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
7c29fb6
Initial profile page design
raymosun 0ed949f
Clean up code 1
raymosun a04e987
Implement function for getting random avatar
raymosun f9a0b22
Merge branch 'main' into raymond/user-profile-page
raymosun 1f7978a
Fix some merge bugs
raymosun 1caeb55
Merge branch 'main' into raymond/user-profile-page
raymosun 908a36b
Merge branch 'main' into raymond/user-profile-page
raymosun 1c49918
Implement user profile page
raymosun 7b0125b
Merge branch 'main' into raymond/user-profile-page
raymosun b0eacb3
Fix linting/merge issues
raymosun dc3c72c
Make linter happy?
raymosun 343612c
Revert "Make linter happy?"
raymosun 6c65574
Make linter happy in a different way?
raymosun File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
farisashai marked this conversation as resolved.
Show resolved
Hide resolved
|
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,17 @@ | ||
export type Styles = { | ||
about: string; | ||
banner: string; | ||
cardHalf: string; | ||
cardWrapper: string; | ||
horizontal: string; | ||
iconBox: string; | ||
profileCard: string; | ||
profilePage: string; | ||
profilePic: string; | ||
}; | ||
|
||
export type ClassNames = keyof Styles; | ||
|
||
declare const styles: Styles; | ||
|
||
export default styles; |
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,81 @@ | ||
@use 'src/styles/vars.scss' as vars; | ||
|
||
.profilePage { | ||
margin: auto; | ||
max-width: vars.$breakpoint-md; | ||
width: 100%; | ||
|
||
.cardWrapper { | ||
padding: 5rem 0 0; | ||
position: relative; | ||
|
||
.banner { | ||
background-color: vars.$pink-2; | ||
border-radius: 0.5rem; | ||
height: 10rem; | ||
position: absolute; | ||
top: 0; | ||
width: 100%; | ||
} | ||
|
||
.profileCard { | ||
background-color: var(--theme-background); | ||
border-radius: 0.25rem; | ||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25); | ||
display: flex; | ||
margin: 0 2rem; | ||
raymosun marked this conversation as resolved.
Show resolved
Hide resolved
|
||
padding: 1rem 2rem; | ||
position: relative; | ||
|
||
h1 { | ||
font-size: vars.$card-heading-1; | ||
} | ||
|
||
h2 { | ||
font-size: vars.$card-heading-2; | ||
font-weight: 500; | ||
margin-top: 1rem; | ||
} | ||
|
||
h3 { | ||
font-size: vars.$card-heading-3; | ||
font-weight: 200; | ||
margin-top: 0.5rem; | ||
} | ||
|
||
.cardHalf { | ||
flex-grow: 1; | ||
} | ||
|
||
.profilePic { | ||
border-radius: 4rem; | ||
flex-shrink: 0; | ||
height: 8rem; | ||
overflow: hidden; | ||
position: relative; | ||
width: 8rem; | ||
} | ||
|
||
.iconBox { | ||
display: flex; | ||
justify-content: center; | ||
} | ||
} | ||
} | ||
|
||
.about { | ||
border: 2px solid var(--theme-primary-1); | ||
border-radius: 0.5rem; | ||
margin-top: 1rem; | ||
raymosun marked this conversation as resolved.
Show resolved
Hide resolved
|
||
padding: 1rem; | ||
|
||
h1 { | ||
font-size: vars.$card-heading-1; | ||
margin-bottom: 0.5rem; | ||
} | ||
} | ||
|
||
.horizontal { | ||
display: flex; | ||
} | ||
} |
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,17 @@ | ||
export type Styles = { | ||
about: string; | ||
banner: string; | ||
cardHalf: string; | ||
cardWrapper: string; | ||
horizontal: string; | ||
iconBox: string; | ||
profileCard: string; | ||
profilePage: string; | ||
profilePic: string; | ||
}; | ||
|
||
export type ClassNames = keyof Styles; | ||
|
||
declare const styles: Styles; | ||
|
||
export default styles; |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
message me if you need help getting data to test the social media links with. i know we haven't implemented a way to add a link to your profile yet