Skip to content

Commit

Permalink
Add bug report link
Browse files Browse the repository at this point in the history
  • Loading branch information
pierrelefevre committed Dec 11, 2023
1 parent 7251bd7 commit c9dce55
Showing 1 changed file with 32 additions and 21 deletions.
53 changes: 32 additions & 21 deletions src/layouts/dashboard/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,33 +38,44 @@ const releaseCommit =
const name =
releaseBranch + "-" + releaseDate + "-" + releaseCommit.slice(0, 7);


export default function DashboardLayout() {
return (
<RootStyle>
<Navbar />
<MainStyle>
<Outlet />
{window.location.pathname !== "/onboarding" && window.location.pathname !== "/" && (
<Container
sx={{ opacity: 0.5, textAlign: "center", padding: "2rem" }}
>
<p>
{" "}
<a
style={{
opacity: 0.75,
color: "inherit",
whiteSpace: "nowrap",
}}
href="https://github.com/kthcloud/landing-frontend"
>
kthcloud/landing-frontend
</a>{" "}
<span style={{ whiteSpace: "nowrap" }}>{name}</span>
</p>
</Container>
)}
{window.location.pathname !== "/onboarding" &&
window.location.pathname !== "/" && (
<Container
sx={{ opacity: 0.5, textAlign: "center", padding: "2rem" }}
>
<p>
<a
style={{
opacity: 0.75,
color: "inherit",
whiteSpace: "nowrap",
marginBottom: "1rem",
}}
href="https://github.com/kthcloud/landing-frontend/issues/new/choose"
>
Report a bug
</a>
<br />
<a
style={{
opacity: 0.75,
color: "inherit",
whiteSpace: "nowrap",
}}
href="https://github.com/kthcloud/landing-frontend"
>
kthcloud/landing-frontend
</a>{" "}
<span style={{ whiteSpace: "nowrap" }}>{name}</span>
</p>
</Container>
)}
</MainStyle>
</RootStyle>
);
Expand Down

0 comments on commit c9dce55

Please sign in to comment.