Skip to content

Commit 28a5a7a

Browse files
authored
Merge branch 'storefront' into main
2 parents dfdf1e9 + 3b24424 commit 28a5a7a

6 files changed

Lines changed: 92 additions & 31 deletions

File tree

_includes/footer.html

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<footer class="container-fluid bg-dark text-light text-center py-5">
2+
<div class="container bg-dark justify-content-center text-center">
3+
<p class="align-center py-1"><b>Contact:</b> <a class="email" href="mailto:info@uncommonmodels.com">info@uncommonmodels.com</a></p>
4+
5+
<p class="align-center">
6+
&copy;
7+
<script>document.write(new Date().getFullYear())</script> Uncommon Models. All rights reserved.
8+
</p>
9+
</div>
10+
11+
</footer>

_includes/head.html

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
4+
<head>
5+
<title>Uncommon Models | {{ page.title }}</title>
6+
<meta charset="utf-8">
7+
<link rel="shortcut icon" href="favicon.ico" type="image/icon">
8+
<link rel="icon" href="favicon.ico" type="image/icon">
9+
<meta name="viewport" content="width=device-width, initial-scale=1">
10+
<!-- CDN Imports (CSS & JS) -->
11+
12+
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous">
13+
<link rel="stylesheet" type="text/css" href="{{ site.baseurl }}/css/style.css">
14+
15+
16+
<!-- Custom JS -->
17+
<script src="{{ site.baseurl }}/js/main.js"></script>
18+
19+
<!-- Fonts -->
20+
<link rel="preconnect" href="https://fonts.googleapis.com">
21+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
22+
<link href="https://fonts.googleapis.com/css2?family=League+Spartan:wght@100;200;300;400;500;600;700;800;900&display=swap" rel="stylesheet">
23+
24+
<script type="importmap">
25+
{
26+
"imports": {
27+
"three": "https://unpkg.com/three@0.159.0/build/three.module.js",
28+
"three/addons/": "https://unpkg.com/three@0.159.0/examples/jsm/"
29+
}
30+
}
31+
</script>
32+
</head>
Binary file not shown.

css/style.css

Lines changed: 27 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ body {
33
margin: 0;
44

55
}
6-
.splash h1 {
6+
h1 {
77
font-family: 'League Spartan', sans-serif;
88
font-weight: 800;
99
color: white;
@@ -12,7 +12,7 @@ body {
1212
padding-bottom: 1vh;
1313
opacity: 1;
1414
}
15-
.splash h2 {
15+
h2 {
1616
font-family: 'League Spartan', sans-serif;
1717
font-weight: 300;
1818
color: #d9d9d9;
@@ -21,7 +21,31 @@ body {
2121
text-transform: uppercase;
2222
opacity: 1;
2323
}
24-
.splash h3 {
24+
.splash a {
25+
color: #a6a6a6;
26+
text-decoration: none;
27+
28+
}
29+
.splash a:hover{
30+
color: #d9d9d9;
31+
text-decoration: underline;
32+
}
33+
34+
.bg-dark {
35+
background-color: #171717 !important;
36+
}
37+
38+
.bg-dark a {
39+
color: #a6a6a6;
40+
text-decoration: none;
41+
42+
}
43+
.bg-dark a:hover{
44+
color: #d9d9d9;
45+
text-decoration: underline;
46+
}
47+
48+
h3 {
2549
font-family: 'League Spartan', sans-serif;
2650
font-weight: 300;
2751
color: #a6a6a6;
@@ -30,14 +54,12 @@ body {
3054
opacity: 1;
3155
}
3256
.splash {
33-
max-height: 70vh;
3457
background-attachment: local;
3558
background-size: cover;
3659
background-image: linear-gradient(#000000, #393939);
3760
align-content: center;
3861
align-items: center;
3962
text-align: center;
40-
color: white;
4163
padding-bottom: 10vh;
4264
}
4365
#splash-content{

index.html

Lines changed: 22 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,32 @@
1-
<!DOCTYPE html>
2-
<html lang="en">
1+
---
2+
title: Home
3+
---
34

4-
<head>
5-
<title>Uncommon Models</title>
6-
<meta charset="utf-8">
7-
<link rel="shortcut icon" href="favicon.ico" type="image/icon">
8-
<link rel="icon" href="favicon.ico" type="image/icon">
9-
<meta name="viewport" content="width=device-width, initial-scale=1">
10-
<!-- CDN Imports (CSS & JS) -->
11-
12-
13-
<link rel="stylesheet" type="text/css" href="css/style.css">
14-
15-
16-
<!-- Custom JS -->
17-
<!-- <script src="js/main.js"></script> -->
18-
19-
<!-- Fonts -->
20-
<link rel="preconnect" href="https://fonts.googleapis.com">
21-
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
22-
<link href="https://fonts.googleapis.com/css2?family=League+Spartan:wght@100;200;300;400;500;600;700;800;900&display=swap" rel="stylesheet">
23-
24-
</head>
5+
{% include head.html %}
256

267
<body>
27-
<div class="container-fluid splash">
8+
<div class="bg-dark container-fluid splash">
289
<div class="container" id="splash-content">
2910
<img id="splash-logo" src="assets/img/UncommonModels.svg" />
30-
<h1>Uncommon Models</h1>
11+
<h1 class="py-4">Uncommon Models</h1>
3112
<h2>Production-Oriented <br/>Model Railroad <br/> Product Design</h2>
32-
<h3>sales@uncommonmodels.com</h3>
13+
<h3 class="py-4"><a class="email" href="mailto:sales@uncommonmodels.com">sales@uncommonmodels.com</a></h3>
3314
</div>
3415
</div>
16+
<div class="container text-center">
17+
<div class="row row-cols-1 row-cols-sm-2 row-cols-md-3 row-cols-lg-4">
18+
{% for post in site.posts %}
19+
<div class="row">
20+
<div class="card m-2 post-preview">
21+
22+
</div>
23+
</div>
24+
{% endfor %}
25+
</div>
26+
</div>
27+
3528
</body>
29+
30+
{% include footer.html %}
31+
3632
</html>

js/main.js

Whitespace-only changes.

0 commit comments

Comments
 (0)