Skip to content

Commit a9b1aff

Browse files
authored
Merge pull request #2 from UncommonModels/portfolio
Add Portfolio
2 parents 28a5a7a + 832a074 commit a9b1aff

8 files changed

Lines changed: 87 additions & 16 deletions

File tree

_includes/footer.html

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,20 @@
1-
<footer class="container-fluid bg-dark text-light text-center py-5">
1+
<footer class="container-fluid bg-dark text-light text-center py-5 footer">
22
<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>
3+
<div class="row justify-content-center py-1">
4+
<div class="col-sm-4">
5+
<p class="align-center"><a class="" href="{{site.baseurl}}/">Homepage</a></p>
6+
</div>
7+
<div class="col-sm-4">
8+
<p class="align-center"><b>Contact:</b> <a class="email" href="mailto:info@uncommonmodels.com">info@uncommonmodels.com</a></p>
9+
</div>
10+
411

5-
<p class="align-center">
12+
</div>
13+
<p class="align-center pt-5">
614
&copy;
715
<script>document.write(new Date().getFullYear())</script> Uncommon Models. All rights reserved.
816
</p>
917
</div>
1018

11-
</footer>
19+
</footer>
20+
</html>

_layouts/post.html

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{% include head.html %}
2+
3+
<body>
4+
<div class="container-fluid post-envelope">
5+
<div class="bg-light container post-body">
6+
<div class="px-4 py-5 my-5 justify-content-center" >
7+
<h1 class="display-5 fw-bold text-center">{{page.title}}</h1>
8+
<hr>
9+
<br/>
10+
<div class="row justify-content-center">
11+
<img src="{{ site.baseurl }}{{ page.image }}" class=" col-sm-10 col-md-8 col-lg-6 col-xl-4 align-center" alt="{{page.title}}">
12+
</div>
13+
14+
<br>
15+
<div class="col-lg-6 mx-auto">
16+
{{page.content | markdownify}}
17+
{% if page.external_link != "" and page.external_link != null %}
18+
<div class="d-grid gap-2 d-sm-flex justify-content-sm-center">
19+
<a href="{{page.external_link}}" class="btn btn-primary">Learn More</a>
20+
</div>
21+
{%endif%}
22+
</div>
23+
</div>
24+
</div>
25+
</div>
26+
</body>
27+
{% include footer.html %}

_posts/2023-08-01-lighthouse.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
title: "Wings Neck Lighthouse"
3+
layout: post
4+
description: ''
5+
image: /assets/img/lighthouse.jpg
6+
---
7+
The Wings Neck lighthouse is located on Cape Cod in Massachusetts and stands near the southernmost entrance of the Cape Cod Canal. This model was recreated in N scale using photographs and US Coast Guard blueprints in the public domain. The model includes space for lighting the tower with a 1/4" LED.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
title: "Raritan River Railroad Freight Station"
3+
layout: post
4+
description: ''
5+
image: /assets/img/rrrr_freight_station.jpg
6+
---
7+
The Raritan River Railroad was a short line that ran from South Amboy, NJ to New Brunswick, NJ. The line was founded in 1888 and eventuially was absorbed into Conrail in 1980. The line provided passenger service until 1938 and continues to service freight customers to the present day. Currently, only one original structure on the line survives: the Raritan River Railroad Freight Station in Milltown, NJ. The station originally served as the town's passenger station before being moved to its current locationa and repurposed as a freight depot. This model represents that station in it's current freight configuration, with wider doors on the track and road sides. To purchase a model in either HO scale or N Scale, please contact the Raritan River Railroad Historical Society. All proceeds go towards the moving of the station across the street so it can be restored and preserved as a museum and community meeting center.

assets/img/lighthouse.jpg

748 KB
Loading
766 KB
Loading

css/style.css

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,31 @@ body {
66
h1 {
77
font-family: 'League Spartan', sans-serif;
88
font-weight: 800;
9-
color: white;
109
text-transform: uppercase;
1110
font-size: calc(12px + 4vmin);
1211
padding-bottom: 1vh;
13-
opacity: 1;
1412
}
13+
.text-light h1{
14+
color: #ffffff;
15+
}
16+
.text-dark h2{
17+
color: #1f1f1f;
18+
}
19+
20+
.post-envelope {
21+
min-height: 85vh;
22+
}
23+
.footer {
24+
min-height: 15vh;
25+
}
26+
1527
h2 {
1628
font-family: 'League Spartan', sans-serif;
1729
font-weight: 300;
1830
color: #d9d9d9;
1931
font-size: calc(10px + 3vmin);
2032
width: 100%;
2133
text-transform: uppercase;
22-
opacity: 1;
2334
}
2435
.splash a {
2536
color: #a6a6a6;
@@ -48,11 +59,16 @@ h2 {
4859
h3 {
4960
font-family: 'League Spartan', sans-serif;
5061
font-weight: 300;
51-
color: #a6a6a6;
5262
font-size: calc(8px + 2.5vmin);
5363
width: 100%;
5464
opacity: 1;
5565
}
66+
.text-light h3{
67+
color: #a6a6a6;
68+
}
69+
.text-dark h3{
70+
color: #363636;
71+
}
5672
.splash {
5773
background-attachment: local;
5874
background-size: cover;

index.html

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,26 @@
55
{% include head.html %}
66

77
<body>
8-
<div class="bg-dark container-fluid splash">
8+
<div class="bg-dark text-light container-fluid splash">
99
<div class="container" id="splash-content">
1010
<img id="splash-logo" src="assets/img/UncommonModels.svg" />
1111
<h1 class="py-4">Uncommon Models</h1>
12-
<h2>Production-Oriented <br/>Model Railroad <br/> Product Design</h2>
12+
<h2>Production-Oriented <br />Model Railroad <br /> Product Design</h2>
1313
<h3 class="py-4"><a class="email" href="mailto:sales@uncommonmodels.com">sales@uncommonmodels.com</a></h3>
1414
</div>
1515
</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">
16+
<div class="container justify-content-center text-center pb-5">
17+
<div class="row row-cols-1 row-cols-sm-2 row-cols-md-3 row-cols-lg-4 pb-5 justify-content-center">
1818
{% for post in site.posts %}
19-
<div class="row">
20-
<div class="card m-2 post-preview">
21-
19+
<div class="col">
20+
<div class="card m-3 post-preview">
21+
<img src="{{ site.baseurl }}{{ post.image }}" class="card-img-top" alt="{{post.title}}">
22+
<div class="card-body">
23+
<h5 class="card-title pb-3" style="min-height: 5vh;">{{post.title}}</h5>
24+
<!-- <p class="card-text">{{post.description}}</p> -->
25+
<div class="d-flex justify-content-center"><a href="{{post.url}}"
26+
class="btn btn-primary">Learn More</a></div>
27+
</div>
2228
</div>
2329
</div>
2430
{% endfor %}
@@ -29,4 +35,3 @@ <h3 class="py-4"><a class="email" href="mailto:sales@uncommonmodels.com">sales@u
2935

3036
{% include footer.html %}
3137

32-
</html>

0 commit comments

Comments
 (0)