You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by ke...@apache.org on 2021/11/05 09:46:15 UTC
[skywalking-showcase] branch main updated: Clean up useless contents
This is an automated email from the ASF dual-hosted git repository.
kezhenxu94 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/skywalking-showcase.git
The following commit(s) were added to refs/heads/main by this push:
new 0d5e3a5 Clean up useless contents
0d5e3a5 is described below
commit 0d5e3a55cb5cf0cb9b18548f584a0d4c7c264a66
Author: kezhenxu94 <ke...@apache.org>
AuthorDate: Fri Nov 5 17:45:52 2021 +0800
Clean up useless contents
---
services/app/ui/.gitignore | 1 -
services/app/ui/public/favicon.ico | Bin 3870 -> 0 bytes
services/app/ui/public/index.html | 50 +++++++----------------------------
services/app/ui/public/logo192.png | Bin 5347 -> 0 bytes
services/app/ui/public/logo512.png | Bin 9664 -> 0 bytes
services/app/ui/public/manifest.json | 25 ------------------
services/app/ui/public/robots.txt | 3 ---
services/app/ui/src/App.css | 23 ----------------
services/app/ui/src/App.js | 6 +----
services/app/ui/src/index.css | 5 ----
services/app/ui/src/logo.svg | 20 --------------
11 files changed, 11 insertions(+), 122 deletions(-)
diff --git a/services/app/ui/.gitignore b/services/app/ui/.gitignore
index 2f39cc9..4e27027 100644
--- a/services/app/ui/.gitignore
+++ b/services/app/ui/.gitignore
@@ -15,7 +15,6 @@
# specific language governing permissions and limitations
# under the License.
#
-# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
# dependencies
/node_modules
diff --git a/services/app/ui/public/favicon.ico b/services/app/ui/public/favicon.ico
deleted file mode 100644
index a11777c..0000000
Binary files a/services/app/ui/public/favicon.ico and /dev/null differ
diff --git a/services/app/ui/public/index.html b/services/app/ui/public/index.html
index 569776c..51be56e 100644
--- a/services/app/ui/public/index.html
+++ b/services/app/ui/public/index.html
@@ -19,44 +19,14 @@
-->
<!DOCTYPE html>
<html lang="en">
- <head>
- <meta charset="utf-8" />
- <link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
- <meta name="viewport" content="width=device-width, initial-scale=1" />
- <meta name="theme-color" content="#000000" />
- <meta
- name="description"
- content="Web site created using create-react-app"
- />
- <link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
- <!--
- manifest.json provides metadata used when your web app is installed on a
- user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
- -->
- <link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
- <!--
- Notice the use of %PUBLIC_URL% in the tags above.
- It will be replaced with the URL of the `public` folder during the build.
- Only files inside the `public` folder can be referenced from the HTML.
-
- Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
- work correctly both with client-side routing and a non-root public URL.
- Learn how to configure a non-root public URL by running `npm run build`.
- -->
- <title>React App</title>
- </head>
- <body>
- <noscript>You need to enable JavaScript to run this app.</noscript>
- <div id="root"></div>
- <!--
- This HTML file is a template.
- If you open it directly in the browser, you will see an empty page.
-
- You can add webfonts, meta tags, or analytics to this file.
- The build step will place the bundled scripts into the <body> tag.
-
- To begin the development, run `npm start` or `yarn start`.
- To create a production bundle, use `npm run build` or `yarn build`.
- -->
- </body>
+<head>
+ <meta charset="utf-8"/>
+ <meta name="viewport" content="width=device-width, initial-scale=1"/>
+ <meta name="theme-color" content="#000000"/>
+ <title>SkyWalking Showcase App</title>
+</head>
+<body>
+<noscript>You need to enable JavaScript to run this app.</noscript>
+<div id="root"></div>
+</body>
</html>
diff --git a/services/app/ui/public/logo192.png b/services/app/ui/public/logo192.png
deleted file mode 100644
index fc44b0a..0000000
Binary files a/services/app/ui/public/logo192.png and /dev/null differ
diff --git a/services/app/ui/public/logo512.png b/services/app/ui/public/logo512.png
deleted file mode 100644
index a4e47a6..0000000
Binary files a/services/app/ui/public/logo512.png and /dev/null differ
diff --git a/services/app/ui/public/manifest.json b/services/app/ui/public/manifest.json
deleted file mode 100644
index 080d6c7..0000000
--- a/services/app/ui/public/manifest.json
+++ /dev/null
@@ -1,25 +0,0 @@
-{
- "short_name": "React App",
- "name": "Create React App Sample",
- "icons": [
- {
- "src": "favicon.ico",
- "sizes": "64x64 32x32 24x24 16x16",
- "type": "image/x-icon"
- },
- {
- "src": "logo192.png",
- "type": "image/png",
- "sizes": "192x192"
- },
- {
- "src": "logo512.png",
- "type": "image/png",
- "sizes": "512x512"
- }
- ],
- "start_url": ".",
- "display": "standalone",
- "theme_color": "#000000",
- "background_color": "#ffffff"
-}
diff --git a/services/app/ui/public/robots.txt b/services/app/ui/public/robots.txt
deleted file mode 100644
index e9e57dc..0000000
--- a/services/app/ui/public/robots.txt
+++ /dev/null
@@ -1,3 +0,0 @@
-# https://www.robotstxt.org/robotstxt.html
-User-agent: *
-Disallow:
diff --git a/services/app/ui/src/App.css b/services/app/ui/src/App.css
index ba2f24e..7c4deb4 100644
--- a/services/app/ui/src/App.css
+++ b/services/app/ui/src/App.css
@@ -19,20 +19,6 @@
*/
.App {
text-align: center;
-}
-
-.App-logo {
- height: 40vmin;
- pointer-events: none;
-}
-
-@media (prefers-reduced-motion: no-preference) {
- .App-logo {
- animation: App-logo-spin infinite 20s linear;
- }
-}
-
-.App-header {
background-color: #282c34;
min-height: 100vh;
display: flex;
@@ -42,12 +28,3 @@
font-size: calc(10px + 2vmin);
color: white;
}
-
-@keyframes App-logo-spin {
- from {
- transform: rotate(0deg);
- }
- to {
- transform: rotate(360deg);
- }
-}
diff --git a/services/app/ui/src/App.js b/services/app/ui/src/App.js
index d026296..835e312 100644
--- a/services/app/ui/src/App.js
+++ b/services/app/ui/src/App.js
@@ -18,7 +18,6 @@
*
*/
import React from 'react';
-import logo from './logo.svg';
import './App.css';
function App() {
@@ -32,10 +31,7 @@ function App() {
return (
<div className="App">
- <header className="App-header">
- <img src={logo} className="App-logo" alt="logo"/>
- <p>{!data ? "Loading..." : data}</p>
- </header>
+ <p>{!data ? "Loading..." : data}</p>
</div>
);
}
diff --git a/services/app/ui/src/index.css b/services/app/ui/src/index.css
index af77bd6..75bda6e 100644
--- a/services/app/ui/src/index.css
+++ b/services/app/ui/src/index.css
@@ -25,8 +25,3 @@ body {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
-
-code {
- font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
- monospace;
-}
diff --git a/services/app/ui/src/logo.svg b/services/app/ui/src/logo.svg
deleted file mode 100644
index e1af96c..0000000
--- a/services/app/ui/src/logo.svg
+++ /dev/null
@@ -1,20 +0,0 @@
-<!--
- ~ Licensed to the Apache Software Foundation (ASF) under one
- ~ or more contributor license agreements. See the NOTICE file
- ~ distributed with this work for additional information
- ~ regarding copyright ownership. The ASF licenses this file
- ~ to you under the Apache License, Version 2.0 (the
- ~ "License"); you may not use this file except in compliance
- ~ with the License. You may obtain a copy of the License at
- ~
- ~ http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing,
- ~ software distributed under the License is distributed on an
- ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- ~ KIND, either express or implied. See the License for the
- ~ specific language governing permissions and limitations
- ~ under the License.
- ~
--->
-<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 841.9 595.3"><g fill="#61DAFB"><path d="M666.3 296.5c0-32.5-40.7-63.3-103.1-82.4 14.4-63.6 8-114.2-20.2-130.4-6.5-3.8-14.1-5.6-22.4-5.6v22.3c4.6 0 8.3.9 11.4 2.6 13.6 7.8 19.5 37.5 14.9 75.7-1.1 9.4-2.9 19.3-5.1 29.4-19.6-4.8-41-8.5-63.5-10.9-13.5-18.5-27.5-35.3-41.6-50 32.6-30.3 63.2-46.9 84-46.9V78c-27.5 0-63.5 19.6-99.9 53.6-36.4-33.8-72.4-53.2-99.9-53.2v22.3c20.7 0 51.4 16.5 84 46.6-14 14.7-28 31.4-41.3 49.9-22.6 2.4-44 6.1-63.6 11 [...]
\ No newline at end of file