Skip to content

Commit 1df917a

Browse files
committed
format time
Signed-off-by: cwen0 <[email protected]>
1 parent 2fa7765 commit 1df917a

26 files changed

+18
-269
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
*.dll
55
*.so
66
*.dylib
7+
.idea
78

89
# Test binary, built with `go test -c`
910
*.test

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/cwen0/web-show
1+
module github.com/chaos-mesh/web-show
22

33
go 1.13
44

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package main
22

33
import (
4-
"github.com/cwen0/web-show/server"
4+
"github.com/chaos-mesh/web-show/server"
55
"github.com/pingcap/log"
66
)
77

server/server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package server
33
import (
44
"net/http"
55

6-
"github.com/cwen0/web-show/pkg/queue"
6+
"github.com/chaos-mesh/web-show/pkg/queue"
77
"github.com/gorilla/mux"
88
"github.com/pingcap/log"
99
)

web/public/favicon.ico

2.57 MB
Binary file not shown.

web/public/index.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
name="description"
1010
content="Web site created using create-react-app"
1111
/>
12-
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
1312
<!--
1413
manifest.json provides metadata used when your web app is installed on a
1514
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/

web/public/logo192.png

-5.22 KB
Binary file not shown.

web/public/logo512.png

-9.44 KB
Binary file not shown.

web/public/manifest.json

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,6 @@
66
"src": "favicon.ico",
77
"sizes": "64x64 32x32 24x24 16x16",
88
"type": "image/x-icon"
9-
},
10-
{
11-
"src": "logo192.png",
12-
"type": "image/png",
13-
"sizes": "192x192"
14-
},
15-
{
16-
"src": "logo512.png",
17-
"type": "image/png",
18-
"sizes": "512x512"
199
}
2010
],
2111
"start_url": ".",

web/src/components/Banner.tsx

Lines changed: 8 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
import React from 'react';
22
import styled from 'styled-components';
3-
import { ReactComponent as Logo } from '../icons/sandvine-logo.svg';
4-
import { ReactComponent as Bell } from '../icons/bell-solid.svg';
5-
import { ReactComponent as Cog } from '../icons/cog-solid.svg';
6-
import { ReactComponent as Question } from '../icons/question-circle-solid.svg';
7-
import { ReactComponent as Bars } from '../icons/bars.svg';
3+
import logo from '../icons/chaosmesh.png';
84

95
interface IBannerSectionProps {
106
width: string | number;
@@ -103,37 +99,21 @@ const BannerTitle = styled.div`
10399
}
104100
`;
105101

102+
const ImgType = styled.img`
103+
margin-left: 50px;
104+
height: 50px;
105+
width: 200px;
106+
`;
107+
106108
const Banner = () => {
107109
return (
108110
<BannerStyles className="banner">
109111
<BannerSection className="banner-section banner-section-title">
110112
<BannerTitle className="banner-title">
111-
<Logo className="logo" height="100%" fill="white"></Logo>
113+
<ImgType src={logo} alt="Logo" />
112114
<h1 className="banner-title-text">Web Show</h1>
113115
</BannerTitle>
114116
</BannerSection>
115-
<BannerSection className="banner-section banner-section-actions">
116-
<IconSection className="icon-section">
117-
<div
118-
style={{
119-
position: 'relative',
120-
paddingRight: '20px'
121-
}}
122-
>
123-
<Bell className="bell icon-button no-fill" height="100%"></Bell>
124-
<span className="badge">14</span>
125-
</div>
126-
<Cog className="cog icon-button no-fill" height="100%"></Cog>
127-
<Question
128-
className="question icon-button no-fill"
129-
height="100%"
130-
></Question>
131-
<Bars
132-
className="bars icon-button icon-button-filled fill"
133-
height="100%"
134-
></Bars>
135-
</IconSection>
136-
</BannerSection>
137117
</BannerStyles>
138118
);
139119
};

0 commit comments

Comments
 (0)