-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
š¤šø ā Adding more profile contents & updating styling for Lens frontenā¦
ā¦d (and defining some new roles for #16 backend) Check out the Notion documentation here: https://skinetics.notion.site/Lens-posting-a07f0e9c243249c0a3517e4160874137 Currently having a bit of a problem with determining the method we'll use to define proposal parameters, but I've come up with a fallback solution (i.e. using bots & comments) for the MVP. Potentially these "comments" could also be stored off-Lens but still be visible on the frontend (problem here is if you're looking at the proposals from an alternate client), bringing the Discord integration further into the limelight (using DeWork.xyz as the intermediary bot), as well as highlighting a real usecase/benefit to having both Supabase & Moralis as the data stores. Hopefully the metadata standards for publications are just as loose as with the `appId` standard on lens, as we'll just be able to create dummy metadata that is saved to the IPFS publication URI and therefore callable via graphql. So overall, a lot of questions coming up, but some UI improvements as well as some more read interactivity for the client...
- Loading branch information
1 parent
7818816
commit 9023612
Showing
12 changed files
with
396 additions
and
48 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import Link from "next/link"; | ||
import React from "react"; | ||
import styles from '../styles/Header.module.css'; | ||
import SignInButton from "./SignInButton"; | ||
|
||
export default function Header () { | ||
return ( | ||
<div className={styles.headerContainer}> | ||
<div> | ||
<Link href={'/'}> | ||
<img src="/logo.png" alt='logo' /> | ||
</Link> | ||
</div> | ||
<SignInButton /> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
mutation createCommentTypedData($request: CreatePublicCommentRequest!) { | ||
createCommentTypedData(request: $request) { | ||
id | ||
expiresAt | ||
typedData { | ||
types { | ||
CommentWithSig { | ||
name | ||
type | ||
} | ||
} | ||
domain { | ||
name | ||
chainId | ||
version | ||
verifyingContract | ||
} | ||
value { | ||
nonce | ||
deadline | ||
profileId | ||
profileIdPointed | ||
pubIdPointed | ||
contentURI | ||
collectModule | ||
collectModuleInitData | ||
referenceModule | ||
referenceModuleInitData | ||
referenceModuleData | ||
} | ||
} | ||
} | ||
} |
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,6 @@ | ||
.headerContainer { | ||
height: 64px; | ||
display: flex; | ||
flex-direction: center; | ||
justify-content: space-between; | ||
} |
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,42 @@ | ||
.profileContainer { | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
justify-content: center; | ||
padding: 1rem; | ||
margin: 1rem; | ||
border-radius: 10px; | ||
box-shadow: 0 0 14px rgba(0, 0, 0, 0.02), 0 5px 5px rgba(0, 0, 0, 0.04); | ||
} | ||
|
||
.profileContentContainer { | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
justify-content: center; | ||
max-width: 800px; | ||
} | ||
|
||
.coverImageContainer { | ||
width: 100%; | ||
height: 256px; | ||
border-radius: 10px; | ||
object-fit: cover; | ||
} | ||
|
||
.profilePictureContainer { | ||
width: 128px; | ||
height: 128px; | ||
border-radius: 50%; | ||
object-fit: cover; | ||
} | ||
|
||
.profileHandle { | ||
font-size: 1.5rem; | ||
opacity: 0.7; | ||
} | ||
|
||
.followerCount { | ||
margin-top: 32px; | ||
margin-bottom: 32px; | ||
} |
Oops, something went wrong.