building works!
diff --git a/pages/rsmv/failure.js b/pages/rsmv/failure.js
index 31b721b..caca7c5 100644
--- a/pages/rsmv/failure.js
+++ b/pages/rsmv/failure.js
@@ -1,5 +1,5 @@
import { Component } from 'react'
-import Styles from '../../styles/rsmv/rsmv.module.scss'
+import Header from '../../Components/Header'
class Failed extends Component {
constructor(props) {
@@ -8,15 +8,14 @@
render() {
return (
- <div className={Styles.container}>
-
- <div className={Styles.ServerHeader}>
- <h4>
- Verification failed<br />
- Please try again, and if the error persists please contact us at <a href="mailto:verification@clicksminuteper.net" target="_blank">verification@clicksminuteper.net</a>
- </h4>
- </div>
- </div>
+ <Header
+ name="Verification failed"
+ subtext={<p>Please try again, and if the error persists please contact us at <a href="mailto:verification@clicksminuteper.net" target="_blank" rel="noopener noreferrer">verification@clicksminuteper.net</a></p>}
+ gradient={["F27878", "D96B6B"]}
+ wave="RM"
+ buttons={[]}
+ hideArrow={true}
+ />
)
}
diff --git a/pages/rsmv/index.js b/pages/rsmv/index.js
index 3b56943..141d171 100644
--- a/pages/rsmv/index.js
+++ b/pages/rsmv/index.js
@@ -54,7 +54,7 @@
render() {
return <>
<Header
- name={<><img style={{borderRadius: "50%"}} src={this.props.guild_icon_url} /><br />{this.props.guild_name}</>}
+ name={<><img alt="Server icon" style={{borderRadius: "50%"}} src={this.props.guild_icon_url} /><br />{this.props.guild_name}</>}
subtext={` ${this.props.memberCount} members`}
gradient={["F27878", "D96B6B"]}
wave="RM"
diff --git a/pages/rsmv/success.js b/pages/rsmv/success.js
index 66d2003..a1ed945 100644
--- a/pages/rsmv/success.js
+++ b/pages/rsmv/success.js
@@ -1,26 +1,22 @@
import { Component } from 'react'
-import Styles from '../../styles/pages/rsmv.module.scss'
+import Styles from '../../styles/rsmv/rsmv.module.css'
+import Header from '../../Components/Header'
class Success extends Component {
constructor(props) {
super(props)
}
-
-
render() {
return (
- <>
- <div className={Styles.container}>
- <div className={Styles.ServerHeader}>
- <h4>
- Thank you for verifying.<br />
- You can now close this tab or window.
- </h4>
- </div>
- </div>
- <div style={{height:"38vh"}}></div>
- </>
+ <Header
+ name="Verified"
+ subtext="You can now close this tab or window."
+ gradient={["65CC76", "60B258"]}
+ wave="RM"
+ buttons={[]}
+ hideArrow={true}
+ />
)
}