-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #125 from NfNitLoop/smipler-nav
Integrate "Edit Profile" into the Profile page.
- Loading branch information
Showing
15 changed files
with
216 additions
and
132 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
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
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,36 @@ | ||
<!-- | ||
A "chip" element w/ userID, and their icon. | ||
--> | ||
|
||
<user-chip> | ||
<ProfileImage {userID} size="line" /> | ||
<UserIDView {userID} {displayName} {href} {shouldLink} /> | ||
</user-chip> | ||
|
||
<script lang="ts"> | ||
import type { UserID } from "feoblog-client"; | ||
import UserIDView from "./UserIDView.svelte" | ||
import ProfileImage from "./ProfileImage.svelte"; | ||
export let userID: UserID | ||
export let displayName: string = "" | ||
export let href: string|undefined = undefined | ||
export let shouldLink = true | ||
</script> | ||
|
||
<style> | ||
user-chip { | ||
display: inline-block; | ||
border-radius: 5px; | ||
/* TODO: Same as others */ | ||
background-color: #eee; | ||
padding: 0.25em; | ||
margin: 0.25em; | ||
white-space: nowrap; | ||
max-width: 20em; | ||
text-overflow: ellipsis; | ||
} | ||
</style> |
Oops, something went wrong.