Skip to content

Commit

Permalink
Remove console.toit.io (#51)
Browse files Browse the repository at this point in the history
* Remove console.toit.io

* More tweaks

* Remove copyright year
  • Loading branch information
kasperl authored Sep 11, 2022
1 parent 8097df6 commit c0214a8
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion src/components/general/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ class Footer extends React.Component<FooterProps> {
</Typography>
</Grid>
</Grid>
<Typography className={this.props.classes.copyright}>© Toitware ApS. 2021.</Typography>
<Typography className={this.props.classes.copyright}>© Toitware ApS</Typography>
</Grid>
);
}
Expand Down
20 changes: 10 additions & 10 deletions src/components/header/ToolbarTop.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ interface ToolbarState {
}

export const toitio = "https://toit.io";
export const console = "https://console.toit.io";
export const jaguar = "https://github.com/toitlang/jaguar#how-do-i-use-it";
export const docs = "https://docs.toit.io";
export const libs = "https://libs.toit.io";
export const community = "https://chat.toit.io";
export const discussions = "https://chat.toit.io";

class ToolbarTop extends React.Component<ToolbarTopProps, ToolbarState> {
handleClick = (event: React.MouseEvent<HTMLButtonElement>) => {
Expand Down Expand Up @@ -82,8 +82,8 @@ class ToolbarTop extends React.Component<ToolbarTopProps, ToolbarState> {
</Link>
</MenuItem>
<MenuItem>
<Link to={console} target="blank">
Console
<Link to={jaguar} target="blank">
Installation
</Link>
</MenuItem>
<MenuItem>
Expand All @@ -97,8 +97,8 @@ class ToolbarTop extends React.Component<ToolbarTopProps, ToolbarState> {
</Link>
</MenuItem>
<MenuItem>
<Link to={community} target="blank">
Community
<Link to={discussions} target="blank">
Discussions
</Link>
</MenuItem>
</Menu>
Expand All @@ -111,17 +111,17 @@ class ToolbarTop extends React.Component<ToolbarTopProps, ToolbarState> {
<Button color="secondary" href={toitio} target="blank">
Toit.io
</Button>
<Button color="secondary" href={console} target="blank">
Console
<Button color="secondary" href={jaguar} target="blank">
Installation
</Button>
<Button color="secondary" href={docs} target="blank">
Documentation
</Button>
<Button color="secondary" href={libs} target="blank">
Library
</Button>
<Button color="secondary" href={community} target="blank">
Community
<Button color="secondary" href={discussions} target="blank">
Discussions
</Button>
</>
)}
Expand Down

0 comments on commit c0214a8

Please sign in to comment.