mirror of
https://github.com/SrIzan10/starters.git
synced 2026-05-01 11:05:16 +00:00
improve nginx html
This commit is contained in:
BIN
examples/nginx/site/favicon.ico
Normal file
BIN
examples/nginx/site/favicon.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.0 KiB |
@@ -1,46 +1,15 @@
|
||||
<html>
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title>NGINX on Railway</title>
|
||||
<meta name="description" content="Choo Choo!" />
|
||||
|
||||
<style>
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 2rem;
|
||||
background-color: hsl(250, 24%, 9%);
|
||||
color: hsl(0, 0%, 100%);
|
||||
font-family: -apple-system, BlinkMacSystemFont, avenir next, avenir,
|
||||
segoe ui, helvetica neue, helvetica, Ubuntu, roboto, noto, arial,
|
||||
sans-serif;
|
||||
}
|
||||
<link rel="icon" href="/favicon.ico" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
|
||||
main {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
min-height: 100vh;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 48px;
|
||||
margin: 1rem 0;
|
||||
}
|
||||
|
||||
.logo {
|
||||
width: 8rem;
|
||||
height: 8rem;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
|
||||
a {
|
||||
color: hsl(270, 70%, 65%);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
</style>
|
||||
<link rel="stylesheet" href="/styles.css?v=1.0" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
@@ -54,12 +23,15 @@
|
||||
<h1>NGINX on Railway</h1>
|
||||
|
||||
<p>
|
||||
This is an example of an NGINX static site running on Railway.
|
||||
Choo Choo! This is an example of an NGINX static site running on
|
||||
Railway.
|
||||
<a
|
||||
href="https://github.com/railwayapp/starters/tree/master/examples/nginx"
|
||||
>View source</a
|
||||
>.
|
||||
</p>
|
||||
</main>
|
||||
|
||||
<script src="/script.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
1
examples/nginx/site/script.js
Normal file
1
examples/nginx/site/script.js
Normal file
@@ -0,0 +1 @@
|
||||
console.log("Choo choo!");
|
||||
40
examples/nginx/site/styles.css
Normal file
40
examples/nginx/site/styles.css
Normal file
@@ -0,0 +1,40 @@
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 2rem;
|
||||
background-color: hsl(250, 24%, 9%);
|
||||
color: hsl(0, 0%, 100%);
|
||||
font-family: -apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui,
|
||||
helvetica neue, helvetica, Ubuntu, roboto, noto, arial, sans-serif;
|
||||
}
|
||||
|
||||
main {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
min-height: 100vh;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 48px;
|
||||
margin: 1rem 0;
|
||||
}
|
||||
|
||||
.logo {
|
||||
width: 8rem;
|
||||
height: 8rem;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
|
||||
p {
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
a {
|
||||
color: hsl(270, 70%, 65%);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
Reference in New Issue
Block a user