Skip to content

Commit 1f7580a

Browse files
authored
repo sync
2 parents e12d5d9 + 2076953 commit 1f7580a

File tree

8 files changed

+67
-36
lines changed

8 files changed

+67
-36
lines changed
61.2 KB
Binary file not shown.
Binary file not shown.
59.5 KB
Binary file not shown.
59.5 KB
Binary file not shown.

content/actions/index.md

Lines changed: 11 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,15 @@
22
title: GitHub Actions Documentation
33
shortTitle: GitHub Actions
44
intro: 'Automate, customize, and execute your software development workflows right in your repository with {% data variables.product.prodname_actions %}. You can discover, create, and share actions to perform any job you''d like, including CI/CD, and combine actions in a completely customized workflow.'
5+
introLinks:
6+
quickstart: /actions/quickstart
7+
learn: /actions/learn-github-actions
58
gettingStartedLinks:
6-
- /actions/quickstart
7-
- /actions/learn-github-actions
8-
guideLinks:
99
- /actions/managing-workflow-runs
1010
- /actions/hosting-your-own-runners
11+
guideLinks:
12+
- /actions/guides/setting-up-continuous-integration-using-workflow-templates
13+
- /actions/guides/about-packaging-with-github-actions
1114
popularLinks:
1215
- /actions/reference/workflow-syntax-for-github-actions
1316
- /actions/reference/events-that-trigger-workflows
@@ -36,10 +39,10 @@ versions:
3639
<div class="d-lg-flex gutter my-6 py-6">
3740
<div class="col-12 col-lg-4 mb-4 mb-lg-0">
3841
<div class="featured-links-heading pb-4">
39-
<h3 class="f5 text-normal text-mono underline-dashed color-gray-5">{% data ui.toc.getting_started %}</h3>
42+
<h3 class="f5 text-normal text-mono underline-dashed color-gray-5">{% data ui.toc.guides %}</h3>
4043
</div>
4144
<ul class="list-style-none">
42-
{% for link in gettingStartedLinks %}
45+
{% for link in guideLinks %}
4346
<li>{% include featured-link %}</li>
4447
{% endfor %}
4548
</ul>
@@ -61,40 +64,16 @@ versions:
6164
<h3 class="f5 text-normal text-mono underline-dashed color-gray-5">Manage workflows</h3>
6265
</div>
6366
<ul class="list-style-none">
64-
{% for link in guideLinks %}
67+
{% for link in gettingStartedLinks %}
6568
<li>{% include featured-link %}</li>
6669
{% endfor %}
6770
</ul>
6871
</div>
6972
</div>
70-
<!-- Featured resources -->
71-
<div class="d-lg-flex gutter-lg my-6 py-6 text-center flex-items-stretch">
72-
<div class="col-12 col-lg-4 mb-2 mb-lg-0">
73-
<a href="/actions/creating-actions" class="d-block text-gray-dark no-underline hover-grow Box p-5 bg-gray-light">
74-
<div class="mb-4 d-flex flex-justify-center"><div class="circle p-3 bg-blue text-white">{% octicon "bookmark" width="24" %}</div></div>
75-
<h4>Create actions</h4>
76-
<p class="mb-0">A complete guide to creating and sharing actions with the community.</p>
77-
</a>
78-
</div>
79-
<div class="col-12 col-lg-4 mb-2 mb-lg-0">
80-
<a href="https://github.com/actions/starter-workflows" class="d-block text-gray-dark no-underline hover-grow Box p-5 bg-gray-light">
81-
<div class="mb-4 d-flex flex-justify-center"><div class="circle p-3 bg-purple text-white">{% octicon "rocket" width="24" %}</div></div>
82-
<h4>Starter workflows</h4>
83-
<p class="mb-0">A collection of workflow files to help you get started with GitHub Actions.</p>
84-
</a>
85-
</div>
86-
<div class="col-12 col-lg-4 mb-2 mb-lg-0">
87-
<a href="https://github.com/marketplace?type=actions" class="d-block text-gray-dark no-underline hover-grow Box p-5 bg-gray-light">
88-
<div class="mb-4 d-flex flex-justify-center"><div class="circle p-3 bg-orange text-white">{% octicon "light-bulb" width="24" %}</div></div>
89-
<h4>GitHub Actions Marketplace</h4>
90-
<p class="mb-0">Explore community actions and supercharge your workflow.</p>
91-
</a>
92-
</div>
93-
</div>
9473

9574
<!-- Code examples -->
9675
<div class="mt-6 pt-6">
97-
<h2 class="mb-2">Guides</h2>
76+
<h2 class="mb-2">More guides</h2>
9877

9978
<div class="d-flex flex-wrap gutter">
10079
<div class="col-12 col-lg-4 mb-4">
@@ -195,5 +174,5 @@ versions:
195174
</div>
196175
</div>
197176

198-
<a href="/actions/guides" class="btn btn-outline mt-4">More guides {% octicon "arrow-right" %}</a>
177+
<a href="/actions/guides" class="btn btn-outline mt-4">Show all guides {% octicon "arrow-right" %}</a>
199178
</div>

layouts/product-landing.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@
1212
<header class="d-flex gutter mb-6">
1313
<div class="col-12 col-lg-7">
1414
<span class="text-mono text-gray">Product</span>
15-
<h1 class="mb-3">{{ page.shortTitle }}</h1>
15+
<h1 class="mb-3 font-mktg">{{ page.shortTitle }}</h1>
1616
<div class="lead-mktg text-gray">{{ page.intro }}</div>
1717

18-
<a href="{{ gettingStartedLinks[0].href }}" class="btn btn-large f4 btn-blue mt-3">
18+
<a href="{{ page.introLinks.quickstart }}" class="btn btn-large f4 btn-blue mt-3">
1919
Quickstart
2020
</a>
2121

22-
<a href="{{ gettingStartedLinks[1].href }}" class="ml-3 btn btn-large f4 btn-outline mt-3">
23-
Learn more
22+
<a href="{{ page.introLinks.learn }}" class="ml-3 btn btn-large f4 btn-outline mt-3">
23+
Learn {% data variables.product.prodname_actions %}
2424
</a>
2525
</div>
2626
</header>

lib/frontmatter.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,13 @@ const schema = {
6363
},
6464
allowTitleToDifferFromFilename: {
6565
type: 'boolean'
66+
},
67+
introLinks: {
68+
type: 'object',
69+
properties: {
70+
quickstart: { type: 'string' },
71+
learn: { type: 'string' }
72+
}
6673
}
6774
}
6875
}

stylesheets/new-mktg.scss

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,3 +54,48 @@
5454
.bg-blue-dark {
5555
background-color: $blue-800 !important;
5656
}
57+
58+
// stylelint-disable primer/no-unused-vars
59+
60+
// Typography
61+
62+
$marketing-font-path: "/assets/fonts/alliance/";
63+
$font-family-mktg: "Alliance No.1", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !default;
64+
$font-weight-extrabold: 800 !default;
65+
66+
.font-mktg {
67+
font-family: $font-family-mktg;
68+
}
69+
70+
// Type
71+
@font-face {
72+
font-family: "Alliance No.1";
73+
font-style: normal;
74+
font-weight: $font-weight-normal;
75+
src: local("Alliance No.1 Regular"), local("alliance-no-1-regular"), url("#{$marketing-font-path}alliance-no-1-regular.woff") format("woff");
76+
font-display: swap;
77+
}
78+
79+
@font-face {
80+
font-family: "Alliance No.1";
81+
font-style: normal;
82+
font-weight: $font-weight-semibold;
83+
src: local("Alliance No.1 Medium"), local("alliance-no-1-medium"), url("#{$marketing-font-path}alliance-no-1-medium.woff") format("woff");
84+
font-display: swap;
85+
}
86+
87+
@font-face {
88+
font-family: "Alliance No.1";
89+
font-style: normal;
90+
font-weight: $font-weight-bold;
91+
src: local("Alliance No.1 Bold"), local("alliance-no-1-bold"), url("#{$marketing-font-path}alliance-no-1-bold.woff") format("woff");
92+
font-display: swap;
93+
}
94+
95+
@font-face {
96+
font-family: "Alliance No.1";
97+
font-style: normal;
98+
font-weight: $font-weight-extrabold;
99+
src: local("Alliance No.1 ExtraBold"), local("alliance-no-1-extrabold"), url("#{$marketing-font-path}alliance-no-1-extrabold.woff") format("woff");
100+
font-display: swap;
101+
}

0 commit comments

Comments
 (0)