chore: rename everything

This commit is contained in:
Tristan Yang
2022-06-27 10:37:03 +08:00
parent 69b4e7aac2
commit 585f8a3661
31 changed files with 79 additions and 79 deletions
+1 -1
View File
@@ -215,7 +215,7 @@ export default function ChannelChat({ cid = "", dropFiles = [] }) {
>
<StyledChannelChat
// ref={scrollObserveRef}
id={`RUSTCHAT_FEED_channel_${cid}`}
id={`VOCECHAT_FEED_channel_${cid}`}
>
{/* <div className="anchor"></div> */}
{hasMore ? (
+1 -1
View File
@@ -85,7 +85,7 @@ export default function DMChat({ uid = "", dropFiles = [] }) {
</StyledHeader>
}
>
<StyledDMChat id={`RUSTCHAT_FEED_user_${uid}`}>
<StyledDMChat id={`VOCECHAT_FEED_user_${uid}`}>
{hasMore ? <LoadMore pullUp={pullUp} /> : null}
{[...feeds].map((mid, idx) => {
const curr = messageData[mid];
+1 -1
View File
@@ -3,7 +3,7 @@ const StyledWrapper = styled.div`
display: flex;
width: 100vw;
height: 100vh;
background-color: var(--rustchat-navs-bg);
background-color: var(---navs-bg);
> .col {
height: 100%;
display: flex;
+1 -1
View File
@@ -122,7 +122,7 @@ export default function InvitePage() {
<div className="form animate__animated animate__fadeInDown animate__faster">
<div className="tips">
<img src={`${BASE_URL}/resource/organization/logo`} alt="logo" className="logo" />
<h2 className="title">Sign Up to Rustchat</h2>
<h2 className="title">Sign Up to VoceChat</h2>
<span className="desc">Please enter your details.</span>
</div>
<form onSubmit={handleReg}>
+1 -1
View File
@@ -58,7 +58,7 @@ export default function MetamaskLoginButton({ login }) {
console.log("get sn");
const signature = await ethereum.request({
method: "personal_sign",
params: [nonce, address, "hello from rustchat"]
params: [nonce, address, "hello from "]
});
return signature;
};
+1 -1
View File
@@ -134,7 +134,7 @@ export default function LoginPage() {
<div className="form">
<div className="tips">
<img src={`${BASE_URL}/resource/organization/logo`} alt="logo" className="logo" />
<h2 className="title">Login to Rustchat</h2>
<h2 className="title">Login to VoceChat</h2>
<span className="desc">Please enter your details.</span>
</div>
<form onSubmit={handleLogin}>
+1 -1
View File
@@ -49,7 +49,7 @@ export default function OnboardingPage() {
return (
<>
<Helmet>
<title>Rustchat Setup</title>
<title>VoceChat Setup</title>
</Helmet>
<StyledOnboardingPage>
<Navigator {...serverSetup} />
+1 -1
View File
@@ -63,7 +63,7 @@ export default function DonePage({ serverName }) {
return (
<StyledWrapper>
<span className="primaryText">Welcome to {serverName}</span>
<span className="secondaryText">Proudly presented by Rustchat</span>
<span className="secondaryText">Proudly presented by VoceChat</span>
<span className="tip">
More settings, including domain resolution, privileges, securities, and invites are
available in <span className="strong">Settings</span>
+1 -1
View File
@@ -46,7 +46,7 @@ const StyledWrapper = styled.div`
export default function WelcomePage({ nextStep }) {
return (
<StyledWrapper>
<span className="primaryText">Welcome to your Rustchat!</span>
<span className="primaryText">Welcome to your VoceChat!</span>
<span className="secondaryText">
Everything in this space is owned by you. Lets set up your space!
</span>
+1 -1
View File
@@ -28,7 +28,7 @@ export default function ExpiredTip() {
return (
<Styled>
<div className="title">Magic link expired</div>
<p className="desc">Go back to your original Rustchat tab and request a new magic link.</p>
<p className="desc">Go back to your original VoceChat tab and request a new magic link.</p>
<p className="desc">You can close this window now.</p>
</Styled>
);
+1 -1
View File
@@ -102,7 +102,7 @@ export default function Reg() {
<>
<div className="tips">
<img src={`${BASE_URL}/resource/organization/logo`} alt="logo" className="logo" />
<h2 className="title">Sign Up to Rustchat</h2>
<h2 className="title">Sign Up to VoceChat</h2>
<span className="desc">Please enter your details.</span>
</div>
+1 -1
View File
@@ -71,7 +71,7 @@ export default function SendMagicLinkPage() {
<>
<div className="tips">
<img src={`${BASE_URL}/resource/organization/logo`} alt="logo" className="logo" />
<h2 className="title">Login to Rustchat</h2>
<h2 className="title">Login to VoceChat</h2>
<span className="desc">Please enter your Email</span>
</div>
<form onSubmit={handleLogin}>
+2 -2
View File
@@ -99,8 +99,8 @@ export default function APIConfig() {
<Button>Update Secret</Button>
</Tippy>
<div className="tip">
Tip: The security key agreed between the rustchat server and the third-party app is used to
encrypt the communication data.{" "}
Tip: The security key agreed between the server and the third-party app is used to encrypt
the communication data.{" "}
</div>
</Styled>
);
+4 -4
View File
@@ -107,7 +107,7 @@ export default function Logins() {
<div className="title">
<div className="txt">
<Label>Google</Label>
<Tooltip link="https://doc.rustchat.com/en-us/login-google.html" />
<Tooltip link="https://doc.voce.chat/en-us/login-google.html" />
</div>
<span className="desc">Allows members login with Google.</span>
</div>
@@ -130,7 +130,7 @@ export default function Logins() {
<div className="title">
<div className="txt">
<Label>Github</Label>
<Tooltip link="https://doc.rustchat.com/en-us/login-github.html" />
<Tooltip link="https://doc.voce.chat/en-us/login-github.html" />
</div>
<span className="desc">Allows members login with Github.</span>
</div>
@@ -161,7 +161,7 @@ export default function Logins() {
<div className="title">
<div className="txt">
<Label>Metamask</Label>
<Tooltip link="https://doc.rustchat.com/en-us/login-metamask.html" />
<Tooltip link="https://doc.voce.chat/en-us/login-metamask.html" />
</div>
<span className="desc">Allows members login with Metamask.</span>
</div>
@@ -176,7 +176,7 @@ export default function Logins() {
<div className="title">
<div className="txt">
<Label htmlFor="desc">OIDC</Label>
<Tooltip link="https://doc.rustchat.com/en-us/login-webid.html" />
<Tooltip link="https://doc.voce.chat/en-us/login-webid.html" />
</div>
<span className="desc">Save my login details for next time.</span>
</div>
+1 -1
View File
@@ -125,7 +125,7 @@ export default function ConfigSMTP() {
<div className="tip">
<img src={iconQuestion} alt="question icon" />
<a
href="https://rustchat.com/doc/smtp-setting"
href="https://voce.chat/doc/smtp-setting"
target="_blank"
className="link"
rel="noreferrer"