Skip to content

Commit

Permalink
add linksys ports image
Browse files Browse the repository at this point in the history
  • Loading branch information
asoltys committed Apr 3, 2019
1 parent 0cd26d9 commit 280a781
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/RouterSettings/PortStyles.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import React from "react";
import styled from "styled-components";
import { Button, Card, CardBody } from "reactstrap";
import glImage from "images/gl.jpg";
import linksysImage from "images/linksyswrt3200acm.jpg";

export const PortNumber = styled.div`
position: absolute;
Expand Down Expand Up @@ -45,8 +46,13 @@ const GL = () => {
return <RouterImage src={glImage} alt="GL B-1300" />;
};

const LinkSys = () => {
return <RouterImage src={linksysImage} alt="Linksys WRT 3200ACM" />;
};

const deviceImages = {
"gl-b1300": <GL />
"gl-b1300": <GL />,
"linksys-wrt3200acm": <LinkSys />
};

export const Device = ({ device }) => (
Expand Down
Binary file added src/images/linksyswrt3200acm.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/portOrderings.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"ea3500": ["eth1", "eth0.3", "eth0.4", "eth0.5", "eth0.6"],
"gl-ar750": ["eth0", "eth1.1", "eth1.2"],
"gl-b1300": ["eth0.3", "eth0.4", "eth1"],
"linksys-wrt3200acm": ["eth0.1", "eth0.3", "eth0.4", "eth0.5", "eth1.2"],
"mynet-n600": ["eth0.1", "eth0.2", "eth0.3", "eth0.4", "eth1"],
"mynet-n750": ["eth0.1", "eth0.4", "eth0.5", "eth0.3", "eth0.2"],
"rpi-2": ["eth0"],
Expand Down

0 comments on commit 280a781

Please sign in to comment.