fixed rsmv title
diff --git a/Components/Header.js b/Components/Header.js
index 9f295cd..96b44c7 100644
--- a/Components/Header.js
+++ b/Components/Header.js
@@ -15,7 +15,7 @@
margin: "0"
}} id={this.props.id ? this.props.id : null}>
<Head>
- <title>{this.props.name} - Clicks Minute Per</title>
+ <title>{this.props.nameOverwrite ? this.props.nameOverwrite : this.props.name} - Clicks Minute Per</title>
<meta name="title" content={this.props.name} />
<meta name="og:title" content={this.props.name} />
<meta name="description" content={this.props.subtext} />
diff --git a/pages/rsmv/index.js b/pages/rsmv/index.js
index 6bb71ce..231894c 100644
--- a/pages/rsmv/index.js
+++ b/pages/rsmv/index.js
@@ -27,7 +27,6 @@
} else {
return;
}
-
}
async componentDidMount() {
@@ -65,6 +64,7 @@
return <>
<Header
name={<><img alt="Server icon" style={{borderRadius: "50%", height: "128px", width: "auto"}} src={this.props.guild_icon_url} /><br />{this.props.guild_name}</>}
+ nameOverwrite="Verify"
subtext={` ${this.props.memberCount} members`}
gradient={["F27878", "D96B6B"]}
wave="RM"
@@ -113,13 +113,13 @@
}
return {
props: {
- uID:code.data.user,
- rID:code.data.role,
- role_name:code.data.role_name,
- gID:code.data.guild,
- guild_name:code.data.guild_name,
- guild_icon_url:code.data.guild_icon_url,
- memberCount:code.data.guild_size,
+ uID: code.data.user,
+ rID: code.data.role,
+ role_name: code.data.role_name,
+ gID: code.data.guild,
+ guild_name: code.data.guild_name,
+ guild_icon_url: code.data.guild_icon_url,
+ memberCount: code.data.guild_size,
headers: headers,
code: ctx.query.code
}
diff --git a/styles/globals.css b/styles/globals.css
index 42628a9..39711f9 100644
--- a/styles/globals.css
+++ b/styles/globals.css
@@ -1,3 +1,6 @@
+@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@300&display=swap');
+
+
html, body {
padding: 0;
margin: 0;
@@ -13,7 +16,7 @@
--page-background: #ffffff;
--link-color: #6576CC;
--hint-color: #f1f1f1;
-
+
background-color: var(--page-background);
}
@@ -59,7 +62,7 @@
* {
box-sizing: border-box;
- font-family: 'Roboto', sans-serif;
+ font-family: 'Rubik', sans-serif;
scroll-behavior: smooth;
}