aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2022-03-23 07:39:03 +0000
committerterminaldweller <thabogre@gmail.com>2022-03-23 07:39:03 +0000
commitca5d35830ec1fb0b7176b101c9b56c48eeb1ea8f (patch)
tree3f52b57ebe118228d67968952296824c3be3d7f6
parentwip (diff)
downloadmdrtl-ca5d35830ec1fb0b7176b101c9b56c48eeb1ea8f.tar.gz
mdrtl-ca5d35830ec1fb0b7176b101c9b56c48eeb1ea8f.zip
wip
-rw-r--r--spring-front/public/index.html7
-rw-r--r--spring-front/public/manifest.json8
-rw-r--r--spring-front/public/robots.txt3
-rw-r--r--spring-front/src/index.css (renamed from spring-front/public/index.css)15
-rw-r--r--spring-front/src/index.js1
5 files changed, 12 insertions, 22 deletions
diff --git a/spring-front/public/index.html b/spring-front/public/index.html
index 804f336..aa0134b 100644
--- a/spring-front/public/index.html
+++ b/spring-front/public/index.html
@@ -13,13 +13,6 @@
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
<link
rel="stylesheet"
- href="index.css"
- type="text/css"
- media="screen"
- title="no title"
- />
- <link
- rel="stylesheet"
href="https://unpkg.com/@highlightjs/cdn-assets@11.5.0/styles/default.min.css"
/>
<meta charset="utf-8" />
diff --git a/spring-front/public/manifest.json b/spring-front/public/manifest.json
new file mode 100644
index 0000000..4a4d0ed
--- /dev/null
+++ b/spring-front/public/manifest.json
@@ -0,0 +1,8 @@
+{
+ "short_name": "RTLMD",
+ "name": "RTLMD",
+ "start_url": ".",
+ "display": "standalone",
+ "theme_color": "#005f87",
+ "background_color": "#000000"
+}
diff --git a/spring-front/public/robots.txt b/spring-front/public/robots.txt
new file mode 100644
index 0000000..e9e57dc
--- /dev/null
+++ b/spring-front/public/robots.txt
@@ -0,0 +1,3 @@
+# https://www.robotstxt.org/robotstxt.html
+User-agent: *
+Disallow:
diff --git a/spring-front/public/index.css b/spring-front/src/index.css
index 89813c7..c788cb4 100644
--- a/spring-front/public/index.css
+++ b/spring-front/src/index.css
@@ -6,21 +6,6 @@ body {
width: 95vw;
}
-.article{$
- text-align: left;
- padding: 2%;
- border-style: solid;
- position: relative;
- white-space: -moz-pre-wrap !important;
- color: #005f87;
- background: #000000;
- font-family: "DejaVuSansMono NF", Helvetica, monospace;
- overflow-wrap: break-word;
- float: left;
- /* width: 78%; */
- width: 95%;
-}
-
a {
color: #005f87;
text-decoration: none;
diff --git a/spring-front/src/index.js b/spring-front/src/index.js
index 1b3e051..2b3e29d 100644
--- a/spring-front/src/index.js
+++ b/spring-front/src/index.js
@@ -3,6 +3,7 @@ import ReactDOM from "react-dom";
import hljs from "highlight.js/lib/core";
import markdown from "highlight.js/lib/languages/markdown";
import "highlight.js/styles/devibeans.css";
+import "./index.css";
hljs.registerLanguage("markdown", markdown);