Skip to content

Commit dcd1970

Browse files
authored
Merge pull request #432 from path-cc/preview-contact
Add preview contact page
2 parents 398d57a + 3aa612d commit dcd1970

File tree

6 files changed

+44
-21
lines changed

6 files changed

+44
-21
lines changed

.github/workflows/deploy-preview.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,6 @@ on:
44
push:
55
branches:
66
- preview-**
7-
workflow_call:
8-
inputs:
9-
branch:
10-
required: true
11-
type: string
127

138
jobs:
149
Deploy-Web-Preview:
@@ -20,14 +15,17 @@ jobs:
2015
- uses: actions/checkout@v2
2116
with:
2217
submodules: 'recursive'
23-
ref: ${{ inputs.branch }}
2418

2519
- name: Get branch name
2620
run: echo "BRANCH_NAME=$(git rev-parse --abbrev-ref HEAD)" >> $GITHUB_ENV
2721

22+
- name: Update Submodules
23+
run: |
24+
git submodule update --init --recursive --remote
25+
2826
- uses: ruby/setup-ruby@v1
2927
with:
30-
ruby-version: 2.6
28+
ruby-version: 3.4
3129
bundler-cache: true
3230

3331
- name: Configure for Dev Preview

_articles

Submodule _articles updated 75 files

_includes/layout/header.html

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,6 @@
1313
</button>
1414
<div id="navbarNavDropdown" class="collapse navbar-collapse justify-content-between">
1515
<ul class="navbar-nav">
16-
<li class="nav-item dropdown">
17-
<a class="nav-link dropdown-toggle" href="#" id="about-nav" role="button" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
18-
About
19-
</a>
20-
<div class="dropdown-menu" aria-labelledby="about-nav">
21-
<a class="dropdown-item" href="{{ '/about' | relative_url }}">PATh</a>
22-
<a class="dropdown-item" href="{{ '/team' | relative_url }}">Team</a>
23-
<a class="dropdown-item" href="{{ '/glossary' | relative_url }}">Glossary</a>
24-
<a class="dropdown-item" href="{{ '/contact' | relative_url }}">Contact</a>
25-
</div>
26-
</li>
2716
<li class="nav-item dropdown">
2817
<a class="nav-link dropdown-toggle" href="#" id="facility-nav" role="button" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
2918
Facility
@@ -51,6 +40,19 @@
5140
<a class="dropdown-item" href="{{ '/news' | relative_url }}">News</a>
5241
</div>
5342
</li>
43+
<li class="nav-item dropdown">
44+
<a class="nav-link dropdown-toggle" href="#" id="about-nav" role="button" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
45+
About
46+
</a>
47+
<div class="dropdown-menu" aria-labelledby="about-nav">
48+
<a class="dropdown-item" href="{{ '/about' | relative_url }}">PATh</a>
49+
<a class="dropdown-item" href="{{ '/team' | relative_url }}">Team</a>
50+
<a class="dropdown-item" href="{{ '/glossary' | relative_url }}">Glossary</a>
51+
</div>
52+
</li>
53+
<li class="nav-item {% if 'contact' == page.url %}active{% endif %}">
54+
<a class="nav-link" href="/contact">Contact</a>
55+
</li>
5456
</ul>
5557
<div class="social-media d-none d-lg-block">
5658
<a class="text-decoration-none" href="https://www.youtube.com/channel/UCd1UBXmZIgB4p85t2tu-gLw">

assets/css/style.scss

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,3 +289,20 @@ main {
289289
main {
290290
min-height: 60vh;
291291
}
292+
293+
@include media-breakpoint-down(lg) {
294+
#portal-frame {
295+
height: 546px
296+
}
297+
}
298+
299+
@include media-breakpoint-up(lg) {
300+
#portal-frame {
301+
height: 580px;
302+
}
303+
}
304+
@include media-breakpoint-up(xl) {
305+
#portal-frame {
306+
height: 620px;
307+
}
308+
}

contact.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
11
---
2-
title: Contact
2+
title: Talk to Us
33
layout: sub-page
44
---
55

6+
We want to hear from you! Get in touch via this form and a member of our research computing facilitation team will do their best to reach out to you within 1 business day.
7+
8+
<iframe id="portal-frame" src="https://osg-portal.osgdev.chtc.io/contact" width="100%" frameborder="0"></iframe>
9+
10+
## Specific Questions?
11+
612
PATh is a unique partnership between the Center for High Throughput Computing (CHTC) and the OSG Consortium.
713

814
* For enquiries about the *PATh project*, please contact the [PATh leadership](mailto:[email protected]).

0 commit comments

Comments
 (0)