Skip to content

Commit ddff781

Browse files
fix: course building refactor
1 parent 8bb2422 commit ddff781

32 files changed

Lines changed: 396 additions & 384 deletions

_includes/title.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{% if site.logo %}
2+
<div class="site-logo" role="img" aria-label="{{ site.title }}"></div>
3+
<h3 class="site-logo-title">{{ site.title }}</h3>
4+
{% else %}
5+
{{ site.title }}
6+
{% endif %}

_layouts/home.html

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,17 @@ <h2 class="post-list-heading">Documentation</h2>
1414
</li>
1515
<li>
1616
<a class="post-link" href="/mobile/">
17-
OpenGolfSim Mobile Control
17+
OpenGolfSim for iOS &amp; Android
18+
</a>
19+
</li>
20+
<li>
21+
<a class="post-link" href="/mobile/ogs-control">
22+
OGS Control
23+
</a>
24+
</li>
25+
<li>
26+
<a class="post-link" href="/tools/">
27+
Course Building
1828
</a>
1929
</li>
2030
</ul>

_sass/color_schemes/ogs.scss

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
11
@import "./color_schemes/dark";
22

3+
$base-grey: rgb(17, 28, 28);
34

4-
// $white: #fff;
5-
// $grey-dk-000: #eee;
6-
// $grey-dk-100: #5c5962;
7-
$grey-dk-200: #44434d;
8-
// $grey-dk-250: #302d36;
9-
$grey-dk-300: #1d2123;
10-
// $grey-lt-000: #f5f6fa;
11-
// $grey-lt-100: #eeebee;
12-
// $grey-lt-200: #ecebed;
13-
// $grey-lt-300: #e6e1e8;
5+
6+
$white: #fff;
7+
$grey-dk-000: lighten($base-grey, 50%);
8+
$grey-dk-100: lighten($base-grey, 20%);
9+
$grey-dk-200: lighten($base-grey, 6%);
10+
$grey-dk-250: lighten($base-grey, 4%);
11+
$grey-dk-300: $base-grey;
12+
$grey-lt-000: lime;
13+
$grey-lt-100: teal;
14+
$grey-lt-200: orange;
15+
$grey-lt-300: $grey-dk-000;
1416
// $purple-000: #7253ed;
1517
// $purple-100: #5e41d0;
1618
// $purple-200: #4e26af;
@@ -34,7 +36,10 @@ $blue-300: #4f9cdb;
3436

3537

3638
// $blue-000: #3d5476;
37-
$link-color: #16ab48; // $grey-dk-300;
39+
// $link-color: #16ab48; // $grey-dk-300;
40+
$link-color: rgb(33, 212, 141); // $grey-dk-300;
3841
$body-background-color: $grey-dk-300;
3942
$sidebar-color: $grey-dk-300;
43+
$feedback-color: darken($sidebar-color, 1%);
4044

45+
$border-color: $grey-dk-200;

_sass/custom/custom.scss

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,25 @@
77
}
88
.site-header {
99
// display: flex;
10-
min-height: 6.75rem;
10+
1111
border: none !important;
1212
// align-items: center;
13+
.site-title {
14+
display: flex;
15+
flex-direction: row;
16+
align-items: center;
17+
18+
.site-logo {
19+
height: 40px;
20+
width: 40px;
21+
display: block;
22+
margin-right: 0.8rem;
23+
}
24+
h3.site-logo-title {
25+
margin: 0;
26+
font-size: 14px !important;
27+
}
28+
}
1329
}
1430
.main-header {
1531
min-height: 4.75rem;
@@ -267,4 +283,11 @@ p.note, blockquote.note {
267283
}
268284
small {
269285
color: $grey-lt-300;
286+
}
287+
288+
footer {
289+
margin-top: 40px;
290+
margin-bottom: 40px;
291+
font-size: 11px;
292+
color: $grey-lt-300;
270293
}

_sass/custom/setup.scss

Whitespace-only changes.
53.2 KB
Loading

contact.md

Lines changed: 14 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,18 @@ nav_exclude: true
44
---
55

66
# Contact Us
7+
---
78

8-
<!-- modify this form HTML and place wherever you want your form -->
9-
<form
10-
action="https://opengolfsim.com/api/contact/support"
11-
method="POST"
12-
>
13-
<div class="contact-form">
14-
<div class="contact-form-ele">
15-
<div>Your email</div>
16-
<div><input type="email" class="styled-input" name="email" /></div>
17-
</div>
18-
<div class="contact-form-ele">
19-
<div>Your message</div>
20-
<div><textarea name="message" class="styled-input" rows="10"></textarea></div>
21-
</div>
22-
<button class="button" type="submit">Send</button>
23-
</div>
24-
<input type="hidden" name="successUrl" value="https://help.opengolfsim.com/contact-thanks" />
25-
</form>
9+
Want to get in touch? Shoot us an email at <a href="mailto:help@opengolfsim.com">help@opengolfsim.com</a>
10+
11+
---
12+
13+
<a href="https://discord.com/invite/RQdFHwT3bQ" target="_blank">
14+
<img src="https://cdn.simpleicons.org/discord/5865F2" alt="Discord" width="60"/>
15+
</a>
16+
17+
<p>For active discussions and support join our Discord server.</p>
18+
19+
<a href="https://discord.com/invite/RQdFHwT3bQ" target="_blank" class="button">
20+
OpenGolfSim Discord
21+
</a>
Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,16 @@
11
---
2-
title: 4. Course Export
3-
parent: Course Building Guide
2+
title: Exporting
3+
parent: Course Building
44
nav_order: 4
55
---
66

77
# Course Export
88

9+
1. TOC
10+
{:toc}
11+
12+
### Define Tees
13+
914
Before we can export and play the new course, we need to define each hole's par, pin locations, and tee position.
1015

1116
1. Add a new Course Details object to your scene. Right-click the **Hierarchy** panel and from the dropdown menu select **OpenGolfSim > Create Course Details**{: .label }. This should add a new game object called `OGSCourseDetails` with an **OGS Course** script attached.
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
2-
title: 2. Course Maps
3-
parent: Course Building Guide
4-
nav_order: 2
2+
title: Course Map
3+
parent: Course Building
4+
nav_order: 3
55
---
66

77
# Course Maps
@@ -31,7 +31,7 @@ Make sure you've [downloaded and setup](/tools/getting-started/#install-inkscape
3131
<img src="/assets/course-building/inkscape-document.jpg" width="250" />
3232
</a>
3333

34-
2. Make sure you have installed the official [OpenGolfSim color palette](/tools/getting-started/#install-ogs-color-palette) and placed the OpenGolfSim.gpl (GIMP Palette) file into the user palettes folder, which can be found via **Edit > Preferences > System > User Palettes**{: .label }
34+
2. Make sure you have installed the official [OpenGolfSim color palette](/tools/getting-started/#install-the-ogs-color-palette) and placed the OpenGolfSim.gpl (GIMP Palette) file into the user palettes folder, which can be found via **Edit > Preferences > System > User Palettes**{: .label }
3535

3636
### Fictional Course
3737

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
title: 3. Course Meshes
3-
parent: Course Building Guide
2+
title: Course Meshes
3+
parent: Course Building
44
nav_order: 3
55
---
66

0 commit comments

Comments
 (0)