Skip to content

Commit c762def

Browse files
author
flawmop
committed
Use some simple static pages instead
1 parent 4b5423b commit c762def

File tree

5 files changed

+71
-2
lines changed

5 files changed

+71
-2
lines changed

src/main/java/com/insilicosoft/portal/svc/welcome/HomeController.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import org.springframework.web.bind.annotation.GetMapping;
66
import org.springframework.web.bind.annotation.RestController;
77

8-
@RestController
8+
//@RestController
99
public class HomeController {
1010

1111
private final PortalProperties portalProperties;
@@ -19,4 +19,4 @@ public String getGreeting() {
1919
return "Welcome " + portalProperties.getGreeting() + " !!";
2020
}
2121

22-
}
22+
}
+43
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
html {
2+
font-family:sans-serif
3+
}
4+
5+
body {
6+
color: #777;
7+
background-color: #fff;
8+
margin: 0;
9+
}
10+
11+
h3 {
12+
font-size:1.17em;
13+
margin:1em 0
14+
}
15+
16+
.header {
17+
margin: 0;
18+
text-align: center;
19+
padding: 2.5em 2em 0;
20+
border-bottom: 1px solid #eee;
21+
}
22+
23+
.header h2 {
24+
font-weight: 300;
25+
color: #ccc;
26+
padding: 0;
27+
margin-top: 0;
28+
}
29+
30+
.content {
31+
margin: 0 auto;
32+
padding: 0 2em;
33+
max-width: 800px;
34+
margin-bottom: 50px;
35+
line-height: 1.6em;
36+
}
37+
38+
@media (min-width: 48em) {
39+
.header {
40+
padding-left: 2em;
41+
padding-right: 2em;
42+
}
43+
}
5.39 KB
Loading

src/main/resources/static/index.html

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-GB" lang="en-GB" dir="ltr">
3+
<head>
4+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6+
<title> InsilicoSoft on Kubernetes </title>
7+
<meta name="copyright" content="Copyright InsilicoSoft Ltd 2024" />
8+
<meta name="keywords" content="insilico software action potential prediction software" />
9+
<meta name="description" content="Web interfacing software to research tools. Tools for predicting cardiac action potential." />
10+
11+
<link rel="shortcut icon" type="image/x-icon" href="icon/mess_around.png" />
12+
13+
<link rel="stylesheet" type="text/css" href="css/general.css" media="all" />
14+
</head>
15+
<body>
16+
<div class="header">
17+
<h2><i>Insilico</i>Soft.</h2>
18+
</div>
19+
<div class="content">
20+
<h3> Horizontal scaling ApPredict </h3>
21+
</div>
22+
</body>
23+
</html>

src/main/resources/static/robots.txt

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
User-agent: *
2+
Disallow:
3+
Host: www.insilicosoft.com

0 commit comments

Comments
 (0)