Minor loginpage / navbar fixes
This commit is contained in:
@@ -256,7 +256,7 @@ const MarketplaceCard = ({ classes }) => {
|
|||||||
</a>
|
</a>
|
||||||
*/}
|
*/}
|
||||||
<a
|
<a
|
||||||
href="https://shuffler.io/docs/configuration#installing-shuffle"
|
href="/docs/configuration#installing-shuffle"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
style={{ color: "rgba(255, 132, 68, 1)", textDecoration: "underline" }}
|
style={{ color: "rgba(255, 132, 68, 1)", textDecoration: "underline" }}
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -203,7 +203,7 @@ const menuData = {
|
|||||||
social: true,
|
social: true,
|
||||||
platforms: [
|
platforms: [
|
||||||
{ name: "Discord", icon: "/images/icons/discord.svg", link: "https://discord.gg/B2CBzUm", gaData: { category: "navbar", action: "social_click", label: "discord_icon_click" } },
|
{ name: "Discord", icon: "/images/icons/discord.svg", link: "https://discord.gg/B2CBzUm", gaData: { category: "navbar", action: "social_click", label: "discord_icon_click" } },
|
||||||
{ name: "GitHub", icon: "/images/icons/github.svg", link: "https://github.com/shuffle/shuffle", gaData: { category: "navbar", action: "social_click", label: "github_icon_click" } },
|
{ name: "GitHub", icon: "/images/icons/github.svg", link: "https://github.com/shuffle/shuffle/blob/main/.github/install-guide.md", gaData: { category: "navbar", action: "social_click", label: "github_icon_click" } },
|
||||||
],
|
],
|
||||||
followUs: [
|
followUs: [
|
||||||
{ name: "LinkedIn", icon: "/images/icons/linkedIn.svg", link: "https://www.linkedin.com/company/shuffleio", gaData: { category: "navbar", action: "social_click", label: "linkedin_icon_click" } },
|
{ name: "LinkedIn", icon: "/images/icons/linkedIn.svg", link: "https://www.linkedin.com/company/shuffleio", gaData: { category: "navbar", action: "social_click", label: "linkedin_icon_click" } },
|
||||||
@@ -403,7 +403,7 @@ const MobileMenu = ({ anchorEl, handleClose, isLoggedIn, navigate, isCloud }) =>
|
|||||||
fontSize: '14px',
|
fontSize: '14px',
|
||||||
fontFamily: theme.typography.fontFamily,
|
fontFamily: theme.typography.fontFamily,
|
||||||
}}>
|
}}>
|
||||||
{column.title}
|
{column.title}
|
||||||
</Typography>
|
</Typography>
|
||||||
|
|
||||||
{column.social ? (
|
{column.social ? (
|
||||||
@@ -1103,9 +1103,9 @@ const Navbar = (props) => {
|
|||||||
if (isCloud) {
|
if (isCloud) {
|
||||||
ReactGA.event(item.gaData);
|
ReactGA.event(item.gaData);
|
||||||
handleMenuClose();
|
handleMenuClose();
|
||||||
} else if(item.link.includes("docs") || item.link.includes("usecases")){
|
} else if (item.link.includes("docs") || item.link.includes("usecases")) {
|
||||||
handleMenuClose();
|
handleMenuClose();
|
||||||
}else{
|
} else {
|
||||||
window.open("https://shuffler.io" + item.link, '_blank');
|
window.open("https://shuffler.io" + item.link, '_blank');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@@ -2509,36 +2509,39 @@ const Navbar = (props) => {
|
|||||||
>
|
>
|
||||||
Login
|
Login
|
||||||
</Button>
|
</Button>
|
||||||
<Button
|
|
||||||
variant="outlined"
|
{isCloud &&
|
||||||
sx={{
|
<Button
|
||||||
...sharedButtonStyles,
|
variant="outlined"
|
||||||
display: {
|
sx={{
|
||||||
xs: "none",
|
...sharedButtonStyles,
|
||||||
lg: "block"
|
display: {
|
||||||
},
|
xs: "none",
|
||||||
color: "white",
|
lg: "block"
|
||||||
backgroundColor: "#2F2F2F",
|
},
|
||||||
border: "1px solid #2F2F2F",
|
color: "white",
|
||||||
borderRadius: "8px",
|
backgroundColor: "#2F2F2F",
|
||||||
"&:hover": {
|
border: "1px solid #2F2F2F",
|
||||||
border: "1px solid white",
|
borderRadius: "8px",
|
||||||
backgroundColor: "#2F2F2F",
|
"&:hover": {
|
||||||
},
|
border: "1px solid white",
|
||||||
}}
|
backgroundColor: "#2F2F2F",
|
||||||
onClick={() => {
|
},
|
||||||
if (isCloud) {
|
}}
|
||||||
ReactGA.event({
|
onClick={() => {
|
||||||
category: "navbar",
|
if (isCloud) {
|
||||||
action: "signup_click",
|
ReactGA.event({
|
||||||
label: "signup_click",
|
category: "navbar",
|
||||||
});
|
action: "signup_click",
|
||||||
}
|
label: "signup_click",
|
||||||
navigate("/register");
|
});
|
||||||
}}
|
}
|
||||||
>
|
navigate("/register");
|
||||||
Sign Up
|
}}
|
||||||
</Button>
|
>
|
||||||
|
Sign Up
|
||||||
|
</Button>
|
||||||
|
}
|
||||||
<Button
|
<Button
|
||||||
variant="contained"
|
variant="contained"
|
||||||
sx={{
|
sx={{
|
||||||
|
|||||||
Reference in New Issue
Block a user