Skip to content

Commit 22e5600

Browse files
author
Padmashri Saravanan
committed
experimenting with different structure in navbar
1 parent 01f17d4 commit 22e5600

17 files changed

Lines changed: 121 additions & 40 deletions

_quarto.yml

Lines changed: 28 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -13,42 +13,44 @@ website:
1313
menu:
1414
- text: "Getting Started"
1515
href: getting_started.qmd
16-
- text: "Courses"
17-
href: getting_started.qmd#courses
18-
- text: "Websites"
19-
href: getting_started.qmd#websites
20-
- text: "Dashboards"
21-
href: getting_started.qmd#dashboards
22-
- text: "Next Steps"
16+
- text: "Example use cases"
17+
href: examples.qmd
18+
- text: "Build with OTTR"
19+
menu:
20+
- text: "Templates"
21+
href: getting_started.qmd
22+
- text: "Setup steps"
2323
href: next_steps.qmd
24-
- text: "Enroll for Sync Updates"
24+
- text: "Enroll for sync updates"
2525
href: enroll_sync.qmd
26-
- text: "Customization"
27-
menu:
28-
- text: "Customizing checks {{< fa robot title='A robot' >}}"
29-
href: customize-robots.qmd
30-
- text: "Customizing style {{< fa palette title='A palette' >}}"
26+
- text: "OTTR-fy existing repo"
27+
href: ottr-fy.qmd
28+
- text: "---"
29+
- text: "Customize"
30+
- text: "Style {{< fa palette title='A palette' >}}"
3131
href: customize-style.qmd
32-
- text: "Customizing Docker {{< fa gears title='gears' >}}"
32+
- text: "Checks {{< fa robot title='A robot' >}}"
33+
href: customize-robots.qmd
34+
- text: "Docker {{< fa gears title='gears' >}}"
3335
href: customize-docker.qmd
36+
- text: "Advanced / Integrations"
37+
menu:
38+
- text: "Google Analytics {{< fa chart-line title='a line chart' >}}"
39+
href: more_features_ganalytic.qmd
3440
- text: "Citing sources {{< fa quote-left title='A left quotation mark' >}}"
3541
href: more_features_sources.qmd
3642
- text: "Giving credits {{< fa award title='An award' >}}"
3743
href: more_features_credits.qmd
38-
- text: "Google Analytics {{< fa chart-line title='a line chart' >}}"
39-
href: more_features_ganalytic.qmd
44+
- text: "Google Docs {{< fa file title='a file folder' >}}"
45+
href: more_features_gdoc.qmd
4046
- text: "Borrowing chapters {{< fa bookmark title='A bookmark' >}}"
4147
href: more_features_borrowing.qmd
42-
- text: "Compatibility with Google Docs {{< fa file title='a file folder' >}}"
43-
href: more_features_gdoc.qmd
44-
- text: "OTTR-fying an existing repository"
45-
href: ottr-fy.qmd
46-
- text: "About OTTR babies"
47-
href: examples.qmd
48-
- text: "Troubleshooting {{< fa tools title='tools' >}}"
49-
href: faqs.qmd
50-
- text: "Contact {{< fa envelope title='An envelope' >}}"
51-
href: contact.qmd
48+
- text: "Help"
49+
menu:
50+
- text: "Troubleshooting {{< fa tools title='tools' >}}"
51+
href: faqs.qmd
52+
- text: "Contact {{< fa envelope title='An envelope' >}}"
53+
href: contact.qmd
5254
- text: "{{< fa brands github title='The GitHub logo' >}}"
5355
href: https://github.com/ottrproject/OTTR_Template
5456

contact.qmd

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,7 @@ output:
77
If you have questions please contact:
88

99
- Carrie Wright (cwright2@fredhutch.org)
10+
11+
---
12+
13+
[Troubleshooting](faqs.qmd) &emsp; [Home](index.qmd)

customize-docker.qmd

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,3 +220,7 @@ If you do choose to use the action manually, then you can use this by going to `
220220
![](resources/images/docker-gha.png)
221221

222222
For more guidance on how to personalize Docker images, we taking our [Containers for Scientist course](https://hutchdatascience.org/Containers_for_Scientists/). Or file a GitHub issue on the relevant repository.
223+
224+
---
225+
226+
[Customizing Checks](customize-robots.qmd) &emsp; [Next Steps](next_steps.qmd)

customize-robots.qmd

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,3 +216,7 @@ To investigate why a GitHub action has failed, go to `Actions` and click on the
216216
See our [FAQ's section](./faqs.html) for the most commonly encountered errors and how to address them.
217217

218218
If you are unsure what the error message means and have trouble addressing it, please [file an issue on the OTTR_Template repository to get help](https://github.com/ottrproject/OTTR_Template/issues/new?assignees=cansavvy&labels=bug&template=course-template-problem-report.md).
219+
220+
---
221+
222+
[Customizing Style](customize-style.qmd) &emsp; [Customizing Docker](customize-docker.qmd)

customize-style.qmd

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,3 +103,7 @@ If you would like to change the current light blue color to be a different color
103103
If you would like to change the image at the top of the Bookdown version of the course, you need to do the following steps:
104104
* Add a new image file to the `assets` directory
105105
* Modify the `assets/big-image.html` file on line 11. Change out `src = "assets/dasl_thin_main_image.png"` so that `dasl_thin_main_image.png` is replaced with the name of your image file.
106+
107+
---
108+
109+
[Next Steps](next_steps.qmd) &emsp; [Customizing Checks](customize-robots.qmd)

enroll_sync.qmd

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,3 +51,7 @@ Use one of these options:
5151
<p class="comment">
5252
_If you have any questions about these updates or files, please tag `@kweav` or `@carriewright11`._
5353
</p>
54+
55+
---
56+
57+
[Next Steps](next_steps.qmd) &emsp; [Customizing Style](customize-style.qmd)

examples.qmd

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
---
22
title: "Examples of OTTR in the Wild"
33
output:
4-
html_document
4+
html_document:
5+
toc-depth: 3
56
---
67

78
# OTTR spinoff babies
@@ -36,6 +37,18 @@ This template shows basics for how you can display metrics collected from:
3637

3738
And more websites being added. [See metricminer.org for more details!](https://www.metricminer.org/)
3839

40+
## DaSEH Instructor Guide
41+
42+
A course instructor guide built with OTTR for the Data Science for the Experience of Health (DaSEH) program.
43+
44+
- [View the course](https://hutchdatascience.org/daseh_instructor_guide/index.html)
45+
46+
## Baltimore Community Course
47+
48+
A community-focused data science course built with OTTR.
49+
50+
- [View the course](https://jhudatascience.org/Baltimore_Community_Course/)
51+
3952
## AnVIL template
4053

4154
This is a template (made from our main OTTR Template) that is used for a set of courses being made for the [AnVIL set of cloud tools](https://anvilproject.org/)
@@ -53,3 +66,7 @@ This is a template (made from our main OTTR Template) that will be used for a se
5366
Courses will look similar to this [link](https://datatrail-jhu.github.io/DataTrail_Template/introduction.html).
5467

5568
<br>
69+
70+
---
71+
72+
Ready to build your own? [Get Started](getting_started.qmd)

faqs.qmd

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,3 +175,7 @@ To fix this, see the [OTTR token cheatsheet](https://www.ottrproject.org/cheatsh
175175
If you have a question that's not addressed by this website or just wanna chat with us about something else, please email us at itcrtrainingnetwork@gmail.com OR you can [leave a GitHub issue here](https://github.com/ottrproject/OTTR_Template/issues/new) and assign or "at" a team member in the description/a comment (`@carriewright11`, `@kweav`, or `@avahoffman`).
176176

177177
We greatly appreciate any feedback! We are always looking for ways to improve OTTR so more open source courses can be made!
178+
179+
---
180+
181+
**Still need help?** [Contact us](contact.qmd)

getting_started.qmd

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -418,3 +418,7 @@ Edit the `.Rmd` files in the repository to configure which metrics to display an
418418
---
419419

420420
If you wish to contribute to OTTR, please take a look at our [Code of Conduct](https://github.com/ottrproject/OTTR_Template/blob/main/code_of_conduct.md).
421+
422+
---
423+
424+
**Now that your repository is set up, see [Next Steps](next_steps.qmd) → for what to do next.**

index.qmd

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -37,24 +37,24 @@ toc: false
3737
justify-content: center;
3838
}
3939
.wizard-btn {
40-
background-color: #2780e3;
41-
color: white;
40+
background-color: #ADD8E6;
41+
color: #222;
4242
border: none;
4343
border-radius: 6px;
4444
padding: 10px 20px;
4545
font-size: 18px;
4646
cursor: pointer;
4747
transition: background-color 0.15s ease;
4848
}
49-
.wizard-btn:hover { background-color: #1a5fb4; }
49+
.wizard-btn:hover { background-color: #85C1D4; }
5050
.result-card {
5151
border-radius: 8px;
5252
padding: 1.2rem 1.4rem;
5353
margin-top: 0.5rem;
5454
}
5555
.result-recommended {
56-
background-color: #d9eaf7;
57-
border-left: 4px solid #2780e3;
56+
background-color: #e8f6fa;
57+
border-left: 4px solid #ADD8E6;
5858
}
5959
.result-standard {
6060
background-color: #f4f4f4;
@@ -67,8 +67,8 @@ toc: false
6767
margin-bottom: 0.3rem;
6868
}
6969
.badge-recommended {
70-
background-color: #2780e3;
71-
color: white;
70+
background-color: #ADD8E6;
71+
color: #222;
7272
font-size: 0.75rem;
7373
font-weight: 600;
7474
padding: 2px 8px;
@@ -83,27 +83,27 @@ toc: false
8383
}
8484
.result-link {
8585
display: inline-block;
86-
background-color: #2780e3;
87-
color: white !important;
86+
background-color: #ADD8E6;
87+
color: #222 !important;
8888
text-decoration: none;
8989
padding: 8px 18px;
9090
border-radius: 6px;
9191
font-size: 14px;
9292
font-weight: 600;
9393
transition: background-color 0.15s ease;
9494
}
95-
.result-link:hover { background-color: #1a5fb4; }
95+
.result-link:hover { background-color: #85C1D4; }
9696
.restart-btn {
9797
background: none;
9898
border: none;
99-
color: #2780e3;
99+
color: #5aA8C0;
100100
font-size: 0.85rem;
101101
cursor: pointer;
102102
padding: 0;
103103
margin-left: 10px;
104104
text-decoration: underline;
105105
}
106-
.restart-btn:hover { color: #1a5fb4; }
106+
.restart-btn:hover { color: #85C1D4; }
107107
</style>
108108

109109

@@ -345,7 +345,7 @@ Please cite our [OTTR manuscript here!](https://www.tandfonline.com/doi/full/10.
345345
<br>
346346

347347
<center>
348-
<a href="https://ottrproject.org/getting_started.html">
348+
<a href="getting_started.html">
349349
<img src="resources/images/getstarted.png" width = 30%>
350350
</a>
351351
</center>

0 commit comments

Comments
 (0)