Skip to content

Commit

Permalink
Replace instances of ref=con with ref=op (#1723)
Browse files Browse the repository at this point in the history
* Replace instances of ref=con with ref=op

As this is the Operator repo, the value of the query parameter needs to
be 'op' instead of 'con' (which signifies Console)
  • Loading branch information
kaankabalak authored Aug 14, 2023
1 parent b5a15ab commit 6404169
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 14 deletions.
2 changes: 1 addition & 1 deletion web-app/src/common/Copyright.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default function Copyright() {
return (
<Typography variant="body2" color="textSecondary" align="center">
{"Copyright © "}
<Link color="inherit" href="https://min.io/?ref=con">
<Link color="inherit" href="https://min.io/?ref=op">
MinIO
</Link>{" "}
{new Date().getFullYear()}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ const DistributedOnly = ({ iconComponent, entity }: IDistributedOnly) => {
<div>
Please deploy a server in{" "}
<a
href="https://min.io/docs/minio/linux/operations/install-deploy-manage/deploy-minio-multi-node-multi-drive.html?ref=con"
href="https://min.io/docs/minio/linux/operations/install-deploy-manage/deploy-minio-multi-node-multi-drive.html?ref=op"
target="_blank"
rel="noopener"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ const LicenseConsentModal = ({
the license obligations, we offer a commercial license which is
available here:{" "}
<a
href={`https://min.io/signup?ref=con`}
href={`https://min.io/signup?ref=op`}
rel="noopener"
className={"link-text"}
>
Expand Down
2 changes: 1 addition & 1 deletion web-app/src/screens/Console/License/LicenseFAQ.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const LicenseFAQ = () => {
Foundation and the Open Source Initiative. You can get a copy of the GNU
AGPL v3 license with MinIO source code or at&nbsp;
<a
href={"https://min.io/compliance?ref=con"}
href={"https://min.io/compliance?ref=op"}
target={"_blank"}
className={classes.linkText}
>
Expand Down
6 changes: 3 additions & 3 deletions web-app/src/screens/Console/License/utils.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ type FeatureItem = {
const FeatureLink = ({ text, anchor }: { text: string; anchor: string }) => {
return (
<a
href={`https://min.io/product/subnet?ref=con#${anchor}`}
href={`https://min.io/product/subnet?ref=op#${anchor}`}
className={"link-text"}
target="_blank"
rel="noopener "
Expand Down Expand Up @@ -239,7 +239,7 @@ export const STANDARD_PLAN_FEATURES = [
the MinIO Subscription Network
</span>{" "}
<a
href="https://min.io/product/subnet?ref=con"
href="https://min.io/product/subnet?ref=op"
className={"link-text"}
target="_blank"
rel="noopener"
Expand Down Expand Up @@ -352,7 +352,7 @@ export const ENTERPRISE_PLAN_FEATURES = [
about the MinIO Subscription Network
</span>{" "}
<a
href="https://min.io/product/subnet?ref=con"
href="https://min.io/product/subnet?ref=op"
className={"link-text"}
target="_blank"
rel="noopener"
Expand Down
2 changes: 1 addition & 1 deletion web-app/src/screens/Console/Support/RegisterHelpBox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ const RegisterHelpBox = ({ hasMargin = true }: { hasMargin?: boolean }) => {
icon={<ExtraFeaturesIcon />}
description={
<Link
href="https://min.io/signup?ref=con"
href="https://min.io/signup?ref=op"
target="_blank"
sx={{
color: "#2781B0",
Expand Down
2 changes: 1 addition & 1 deletion web-app/src/screens/Console/Support/utils.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export const ProxyConfiguration = () => {
color: "#2781B0",
cursor: "pointer",
}}
href="https://min.io/docs/minio/linux/reference/minio-mc-admin/mc-admin-config.html?ref=con"
href="https://min.io/docs/minio/linux/reference/minio-mc-admin/mc-admin-config.html?ref=op"
target="_blank"
>
configure a proxy
Expand Down
9 changes: 4 additions & 5 deletions web-app/src/screens/LoginPage/LoginPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -468,10 +468,9 @@ const Login = () => {

const logoVar = getLogoVar();

let docsURL = "https://min.io/docs/minio/linux/index.html?ref=con";
let docsURL = "https://min.io/docs/minio/linux/index.html?ref=op";
if (isK8S) {
docsURL =
"https://min.io/docs/minio/kubernetes/upstream/index.html?ref=con";
docsURL = "https://min.io/docs/minio/kubernetes/upstream/index.html?ref=op";
}

return (
Expand All @@ -496,15 +495,15 @@ const Login = () => {
</a>
<span className={classes.separator}>|</span>
<a
href="https://subnet.min.io/?ref=con"
href="https://subnet.min.io/?ref=op"
target="_blank"
rel="noopener"
>
Support
</a>
<span className={classes.separator}>|</span>
<a
href="https://min.io/download/?ref=con"
href="https://min.io/download/?ref=op"
target="_blank"
rel="noopener"
>
Expand Down

0 comments on commit 6404169

Please sign in to comment.