Skip to content

Commit 196bb99

Browse files
committed
add github star button
1 parent c7a468d commit 196bb99

11 files changed

Lines changed: 32 additions & 12 deletions

public/css/style.min.4d1ffbc881118c7bd6655b38de404793a08407cc1f89efac0b78200bc1286b47.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/css/style.min.f8bc58a96d9683fcaa726aec66d6e6c613ef289c7b863c78df6d5509af0c5f06.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/index.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030

3131
<link rel="icon" type="image/png" href="https://openappmodel.io/images/favicon.png" />
3232
<link href="https://fonts.googleapis.com/css?family=Work&#43;Sans:400,600" rel="stylesheet">
33-
<link rel="stylesheet" type="text/css" href="/css/style.min.f4597a051236c541997c71586e829924368b287d4bb1ef0f2e3c862a0a336938.css" integrity="sha256-9Fl6BRI2xUGZfHFYboKZJDaLKH1Lse8PLjyGKgozaTg=">
33+
<link rel="stylesheet" type="text/css" href="/css/style.min.f8bc58a96d9683fcaa726aec66d6e6c613ef289c7b863c78df6d5509af0c5f06.css" integrity="sha256-&#43;LxYqW2Wg/yqcmrsZtbmxhPvKJx7hjx4321VCa8MXwY=">
3434
<link rel="stylesheet" type="text/css" href="https://openappmodel.io/css/icons.css">
3535

3636
</head>
@@ -88,6 +88,10 @@
8888
<img src="images/app-pic-01.svg" revealOnScroll alt="Application Devs" data-animation="fadeInBottom" />
8989
</div>
9090

91+
<div class="github-wrapper">
92+
<a class="github-button" href="https://github.com/oam-dev/spec" data-size="large" data-show-count="true" aria-label="Star oam-dev/spec on GitHub">Star</a>
93+
</div>
94+
9195
<div class="column is-two-thirds-mobile">
9296
<h1 class="title">A team-centric <strong>standard</strong> for building cloud native apps.</h1>
9397
<p>Open Application Model [OAM] describes a model where <strong>developers</strong> are responsible for defining application components.</p>

resources/_gen/assets/sass/style.sass_5ad6f408b0e3e473c748aac88af0ea18.content

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6325,6 +6325,10 @@ Hero styles
63256325
padding-top: 5vw;
63266326
padding-bottom: 5vw;
63276327
min-height: 100vh; }
6328+
.hero .github-wrapper {
6329+
position: absolute;
6330+
top: 1rem;
6331+
right: 1rem; }
63286332
.hero h1 {
63296333
padding-top: 5rem;
63306334
color: #2681D6;
@@ -7160,6 +7164,8 @@ body {
71607164
left: 3vw; }
71617165
.main-wrapper {
71627166
max-width: 100%; }
7167+
.main-wrapper .hero .github-wrapper {
7168+
top: 5rem; }
71637169
.main-wrapper .hero h1 {
71647170
margin-top: 1rem;
71657171
font-size: 3.5vw;

resources/_gen/assets/sass/style.sass_cf66e63debe6917c04534d6c7b66f623.content

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"Target":"css/style.min.f4597a051236c541997c71586e829924368b287d4bb1ef0f2e3c862a0a336938.css","MediaType":"text/css","Data":{"Integrity":"sha256-9Fl6BRI2xUGZfHFYboKZJDaLKH1Lse8PLjyGKgozaTg="}}
1+
{"Target":"css/style.min.f8bc58a96d9683fcaa726aec66d6e6c613ef289c7b863c78df6d5509af0c5f06.css","MediaType":"text/css","Data":{"Integrity":"sha256-+LxYqW2Wg/yqcmrsZtbmxhPvKJx7hjx4321VCa8MXwY="}}

themes/clean-landing/assets/clean/core.scss

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -404,6 +404,9 @@ $sidebar-min: 20vw;
404404
max-width: 100%;
405405

406406
.hero {
407+
.github-wrapper {
408+
top: 5rem;
409+
}
407410
h1 {
408411
margin-top: 1rem;
409412
font-size: 3.5vw;
@@ -471,11 +474,6 @@ $sidebar-min: 20vw;
471474
top: 15.33rem;
472475
}
473476
}
474-
475-
footer.footer {
476-
477-
478-
}
479477
} // mobile styles
480478

481479
// smaller mobile

themes/clean-landing/assets/clean/partials/_hero.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ Hero styles
77
padding-bottom: 5vw;
88
min-height: 100vh;
99

10+
.github-wrapper {
11+
position: absolute;
12+
top: 1rem;
13+
right: 1rem;
14+
}
15+
1016
h1 {
1117
padding-top: 5rem;
1218
color: $brand;

themes/clean-landing/layouts/partials/hero.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66
<img src="images/app-pic-01.svg" revealOnScroll alt="Application Devs" data-animation="fadeInBottom" />
77
</div>
88

9+
<div class="github-wrapper">
10+
<a class="github-button" href="https://github.com/oam-dev/spec" data-size="large" data-show-count="true" aria-label="Star oam-dev/spec on GitHub">Star</a>
11+
</div>
12+
913
<div class="column is-two-thirds-mobile">
1014
<h1 class="title">A team-centric <strong>standard</strong> for building cloud native apps.</h1>
1115
<p>Open Application Model [OAM] describes a model where <strong>developers</strong> are responsible for defining application components.</p>

themes/clean-landing/layouts/partials/navbar-clone.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
</div>
4343

4444
<div class="navbar-item">
45-
<a class="github-button" href="https://github.com/oam-dev/spec" data-icon="octicon-star" aria-label="Star oam-dev/spec on GitHub">Star</a>
45+
<a class="github-button" href="https://github.com/oam-dev/spec" data-size="large" data-show-count="true" aria-label="Star oam-dev/spec on GitHub">Star</a>
4646
</div>
4747

4848
{{- else if .button }}
@@ -61,7 +61,7 @@
6161

6262
<div class="navbar navbar-end">
6363
<div class="navbar-item">
64-
<a class="github-button" href="https://github.com/oam-dev/spec" data-icon="octicon-star" aria-label="Star oam-dev/spec on GitHub">Star</a>
64+
<a class="github-button" href="https://github.com/oam-dev/spec" data-size="large" data-show-count="true" aria-label="Star oam-dev/spec on GitHub">Star</a>
6565
</div>
6666
</div>
6767
</div>

0 commit comments

Comments
 (0)