-
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.
* feat: basic but need to move to js sdk * feat: chat and getting the messages * fix: tabs css * feat: working on chat * feat: finalizing xmtp widget * fix: message textfield fix when replying * fix: xmtp build --------- Co-authored-by: anthony2399 <[email protected]>
- Loading branch information
1 parent
c75715f
commit aa8cecc
Showing
152 changed files
with
6,831 additions
and
134 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 |
---|---|---|
@@ -1,11 +1,12 @@ | ||
import React from 'react' | ||
import ReactDOM from 'react-dom/client' | ||
import App from './app/app' | ||
import './polyfills'; | ||
import React from 'react'; | ||
import ReactDOM from 'react-dom/client'; | ||
import App from './app/app'; | ||
import '@rainbow-me/rainbowkit/styles.css'; | ||
import './index.css' | ||
import './index.css'; | ||
|
||
ReactDOM.createRoot(document.getElementById('root')!).render( | ||
<React.StrictMode> | ||
<App /> | ||
</React.StrictMode>, | ||
) | ||
</React.StrictMode> | ||
); |
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,4 @@ | ||
import { Buffer } from 'buffer'; | ||
|
||
window.Buffer = window.Buffer ?? Buffer; | ||
window.global = window.global ?? window; |
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 |
---|---|---|
@@ -1,6 +1,10 @@ | ||
module.exports ={ | ||
"typescript": true, | ||
"template": require("./src/template/template.js"), | ||
"dimensions": false, | ||
"svgo": true | ||
} | ||
module.exports = { | ||
typescript: true, | ||
dimensions: false, | ||
svgo: true, | ||
replaceAttrValues: { | ||
'var(--justweb3-primary-color)': | ||
'{props.fill || "var(--justweb3-primary-color)"}', | ||
}, | ||
template: require('./src/template/template.js'), | ||
}; |
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
31 changes: 31 additions & 0 deletions
31
packages/@justweb3/ui/src/lib/icons/components/general/AddFolder.tsx
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,31 @@ | ||
import type { SVGProps } from 'react'; | ||
export default function AddFolder(props: SVGProps<SVGSVGElement>) { | ||
return ( | ||
<svg | ||
xmlns="http://www.w3.org/2000/svg" | ||
fill="none" | ||
viewBox="0 0 15 15" | ||
{...props} | ||
> | ||
<mask | ||
id="add-folder_svg__a" | ||
width={15} | ||
height={15} | ||
x={0} | ||
y={0} | ||
maskUnits="userSpaceOnUse" | ||
style={{ | ||
maskType: 'alpha', | ||
}} | ||
> | ||
<path fill="#D9D9D9" d="M0 0h15v15H0z" /> | ||
</mask> | ||
<g mask="url(#add-folder_svg__a)"> | ||
<path | ||
fill={props.fill || 'var(--justweb3-primary-color)'} | ||
d="M8.75 10H10V8.75h1.25V7.5H10V6.25H8.75V7.5H7.5v1.25h1.25zM2.5 12.5q-.516 0-.883-.367a1.2 1.2 0 0 1-.367-.883v-7.5q0-.516.367-.883.368-.367.883-.367h3.75L7.5 3.75h5q.516 0 .883.367.367.368.367.883v6.25q0 .516-.367.883a1.2 1.2 0 0 1-.883.367z" | ||
/> | ||
</g> | ||
</svg> | ||
); | ||
} |
31 changes: 31 additions & 0 deletions
31
packages/@justweb3/ui/src/lib/icons/components/general/AddImage.tsx
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,31 @@ | ||
import type { SVGProps } from 'react'; | ||
export default function AddImage(props: SVGProps<SVGSVGElement>) { | ||
return ( | ||
<svg | ||
xmlns="http://www.w3.org/2000/svg" | ||
fill="none" | ||
viewBox="0 0 15 15" | ||
{...props} | ||
> | ||
<mask | ||
id="add-image_svg__a" | ||
width={15} | ||
height={15} | ||
x={0} | ||
y={0} | ||
maskUnits="userSpaceOnUse" | ||
style={{ | ||
maskType: 'alpha', | ||
}} | ||
> | ||
<path fill="#D9D9D9" d="M0 0h15v15H0z" /> | ||
</mask> | ||
<g mask="url(#add-image_svg__a)"> | ||
<path | ||
fill={props.fill || 'var(--justweb3-primary-color)'} | ||
d="M3.125 13.125q-.516 0-.883-.367a1.2 1.2 0 0 1-.367-.883v-8.75q0-.516.367-.883.368-.367.883-.367H8.75V5H10v1.25h3.125v5.625q0 .516-.367.883a1.2 1.2 0 0 1-.883.367zm.625-2.5h7.5L8.906 7.5 7.031 10 5.625 8.125zm6.875-5v-1.25h-1.25v-1.25h1.25v-1.25h1.25v1.25h1.25v1.25h-1.25v1.25z" | ||
/> | ||
</g> | ||
</svg> | ||
); | ||
} |
31 changes: 31 additions & 0 deletions
31
packages/@justweb3/ui/src/lib/icons/components/general/AddVideo.tsx
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,31 @@ | ||
import type { SVGProps } from 'react'; | ||
export default function AddVideo(props: SVGProps<SVGSVGElement>) { | ||
return ( | ||
<svg | ||
xmlns="http://www.w3.org/2000/svg" | ||
fill="none" | ||
viewBox="0 0 15 15" | ||
{...props} | ||
> | ||
<mask | ||
id="add-video_svg__a" | ||
width={15} | ||
height={15} | ||
x={0} | ||
y={0} | ||
maskUnits="userSpaceOnUse" | ||
style={{ | ||
maskType: 'alpha', | ||
}} | ||
> | ||
<path fill="#D9D9D9" d="M0 0h15v15H0z" /> | ||
</mask> | ||
<g mask="url(#add-video_svg__a)"> | ||
<path | ||
fill={props.fill || 'var(--justweb3-primary-color)'} | ||
d="M5.625 10h1.25V8.125H8.75v-1.25H6.875V5h-1.25v1.875H3.75v1.25h1.875zM2.5 12.5q-.516 0-.883-.367a1.2 1.2 0 0 1-.367-.883v-7.5q0-.516.367-.883.368-.367.883-.367H10q.516 0 .883.367.367.368.367.883v2.813l2.5-2.5v6.875l-2.5-2.5v2.812q0 .516-.367.883A1.2 1.2 0 0 1 10 12.5z" | ||
/> | ||
</g> | ||
</svg> | ||
); | ||
} |
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
Oops, something went wrong.