Skip to content

Commit d05c4e8

Browse files
author
Manu
committed
- href rules
1 parent a398731 commit d05c4e8

File tree

7 files changed

+18
-16
lines changed

7 files changed

+18
-16
lines changed

src/components/FixedPlugin/FixedPlugin.jsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ class FixedPlugin extends Component {
149149
<div className="button-container">
150150
<Button
151151
color="success"
152-
href="https://www.creative-tim.com/product/material-dashboard-react"
152+
href="https://www.creative-tim.com/product/material-dashboard-react?ref=mdr-fixed-plugin"
153153
target="_blank"
154154
fullWidth
155155
>
@@ -161,7 +161,7 @@ class FixedPlugin extends Component {
161161
<div className="button-container">
162162
<Button
163163
color="warning"
164-
href="https://www.creative-tim.com/product/material-dashboard-pro-react"
164+
href="https://www.creative-tim.com/product/material-dashboard-pro-react?ref=mdr-fixed-plugin"
165165
target="_blank"
166166
fullWidth
167167
>
@@ -173,7 +173,7 @@ class FixedPlugin extends Component {
173173
<Button
174174
color="info"
175175
fullWidth
176-
href="https://demos.creative-tim.com/material-dashboard-react/#/documentation/tutorial"
176+
href="https://demos.creative-tim.com/material-dashboard-react/#/documentation/tutorial?ref=mdr-fixed-plugin"
177177
target="_blank"
178178
>
179179
Documentation
@@ -192,7 +192,7 @@ FixedPlugin.propTypes = {
192192
handleFixedClick: PropTypes.func,
193193
rtlActive: PropTypes.bool,
194194
fixedClasses: PropTypes.string,
195-
bgColor: PropTypes.oneOf(["primary", "info", "success", "warning", "danger"]),
195+
bgColor: PropTypes.oneOf(["purple", "blue", "green", "orange", "red"]),
196196
handleColorClick: PropTypes.func,
197197
handleImageClick: PropTypes.func
198198
};

src/components/Footer/Footer.jsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/*eslint-disable*/
12
import React from "react";
23
import PropTypes from "prop-types";
34
// @material-ui/core components
@@ -39,7 +40,7 @@ function Footer({ ...props }) {
3940
<p className={classes.right}>
4041
<span>
4142
&copy; {1900 + new Date().getYear()}{" "}
42-
<a href="https://www.creative-tim.com" className={classes.a}>
43+
<a href="https://www.creative-tim.com?ref=mdr-footer" target="_blank" className={classes.a}>
4344
Creative Tim
4445
</a>
4546
, made with love for a better web

src/components/Sidebar/Sidebar.jsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/*eslint-disable*/
12
import React from "react";
23
import classNames from "classnames";
34
import PropTypes from "prop-types";
@@ -79,10 +80,11 @@ const Sidebar = ({ ...props }) => {
7980
var brand = (
8081
<div className={classes.logo}>
8182
<a
82-
href="https://www.creative-tim.com"
83+
href="https://www.creative-tim.com?ref=mdr-sidebar"
8384
className={classNames(classes.logoLink, {
8485
[classes.logoLinkRTL]: props.rtlActive
8586
})}
87+
target="_blank"
8688
>
8789
<div className={classes.logoImage}>
8890
<img src={logo} alt="logo" className={classes.img} />
@@ -150,7 +152,7 @@ Sidebar.propTypes = {
150152
classes: PropTypes.object.isRequired,
151153
rtlActive: PropTypes.bool,
152154
handleDrawerToggle: PropTypes.func,
153-
color: PropTypes.oneOf(["primary", "info", "success", "warning", "danger"]),
155+
bgColor: PropTypes.oneOf(["purple", "blue", "green", "orange", "red"]),
154156
logo: PropTypes.string,
155157
image: PropTypes.string,
156158
logoText: PropTypes.string,

src/views/Icons/Icons.jsx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/*eslint-disable*/
12
import React from "react";
23
// nodejs library to set properties for components
34
import PropTypes from "prop-types";
@@ -24,9 +25,8 @@ function Icons(props) {
2425
<p className={classes.cardCategoryWhite}>
2526
Handcrafted by our friends from{" "}
2627
<a
27-
href="https://design.google.com/icons/"
28+
href="https://design.google.com/icons/?ref=creativetime"
2829
target="_blank"
29-
rel="noopener noreferrer"
3030
>
3131
Google
3232
</a>
@@ -49,9 +49,8 @@ function Icons(props) {
4949
the iframe is not working on Mobile and Tablets please visit
5050
the icons on their original page on Google. Check the
5151
<a
52-
href="https://design.google.com/icons/"
52+
href="https://design.google.com/icons/?ref=creativetime"
5353
target="_blank"
54-
rel="noopener noreferrer"
5554
>
5655
Material Icons
5756
</a>

src/views/Notifications/Notifications.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,11 @@ class Notifications extends React.Component {
8585
<h4 className={classes.cardTitleWhite}>Notifications</h4>
8686
<p className={classes.cardCategoryWhite}>
8787
Handcrafted by our friends from{" "}
88-
<a target="_blank" href="https://material-ui-next.com/">
88+
<a target="_blank" href="https://material-ui-next.com/?ref=creativetime">
8989
Material UI
9090
</a>{" "}
9191
and styled by{" "}
92-
<a target="_blank" href="https://www.creative-tim.com/">
92+
<a target="_blank" href="https://www.creative-tim.com/?ref=mdr-notifications-page">
9393
Creative Tim
9494
</a>
9595
. Please checkout the{" "}

src/views/RTLPage/RTLPage.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -302,11 +302,11 @@ class RTLPage extends React.Component {
302302
<h4 className={classes.cardTitleWhite}>اعلان ها</h4>
303303
<p className={classes.cardCategoryWhite}>
304304
يدويا من قبل أصدقائنا من{" "}
305-
<a target="_blank" href="https://material-ui-next.com/">
305+
<a target="_blank" href="https://material-ui-next.com/?ref=creativetime">
306306
واجهة المستخدم المادية
307307
</a>{" "}
308308
ونصب من قبل{" "}
309-
<a target="_blank" href="https://www.creative-tim.com/">
309+
<a target="_blank" href="https://www.creative-tim.com/?ref=mdr-rtl-page">
310310
الإبداعية تيم
311311
</a>
312312
. يرجى التحقق من{" "}

src/views/UpgradeToPro/UpgradeToPro.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ function UpgradeToPro(props) {
195195
<Button
196196
round
197197
color="danger"
198-
href="https://www.creative-tim.com/product/material-dashboard-pro-react?ref=md-free-react-upgrade-live"
198+
href="https://www.creative-tim.com/product/material-dashboard-pro-react?ref=mdr-upgrade-live"
199199
>
200200
Upgrade to Pro
201201
</Button>

0 commit comments

Comments
 (0)