Skip to content

Commit db5e270

Browse files
content: #248 remove stackblitz button links from home page (#260)
1 parent 980ee4b commit db5e270

4 files changed

Lines changed: 22 additions & 24 deletions

File tree

src/components/get-started/get-started.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,11 @@ export default class GetStarted extends HTMLElement {
1515
</div>
1616
1717
<div>
18-
<a href="https://stackblitz.com/github/projectevergreen/greenwood-getting-started" class="${styles.buttonBlitz}" target="_blank">
19-
<span>View in Stackblitz</span>
20-
<span class="no-show-screen-reader"> (opens in a new window)</span>
18+
<a href="/docs/introduction/about/" class="${styles.buttonSecondary}">
19+
<span>Learn More</span>
2120
</a>
2221
23-
<a href="/guides/getting-started/" class="${styles.buttonStarted}">
22+
<a href="/guides/getting-started/" class="${styles.buttonPrimary}">
2423
<span>Get Started</span>
2524
</a>
2625
</div>

src/components/get-started/get-started.module.css

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
vertical-align: middle;
3737
}
3838

39-
.buttonBlitz {
39+
.buttonSecondary {
4040
display: inline-block;
4141
border-radius: var(--radius-3);
4242
border: var(--border-size-1) solid var(--color-white);
@@ -49,7 +49,7 @@
4949
text-decoration: none;
5050
}
5151

52-
.buttonStarted {
52+
.buttonPrimary {
5353
display: inline-block;
5454
border-radius: var(--radius-3);
5555
padding: var(--size-fluid-1) var(--size-fluid-2);
@@ -62,15 +62,15 @@
6262
text-decoration: none;
6363
}
6464

65-
.buttonBlitz:hover,
66-
.buttonBlitz:focus {
65+
.buttonSecondary:hover,
66+
.buttonSecondary:focus {
6767
background-color: var(--color-gray);
6868
text-decoration: none;
6969
color: var(--color-black) !important;
7070
}
7171

72-
.buttonStarted:hover,
73-
.buttonStarted:focus {
72+
.buttonPrimary:hover,
73+
.buttonPrimary:focus {
7474
background-color: var(--color-accent);
7575
text-decoration: none;
7676
color: var(--color-black) !important;

src/components/hero-banner/hero-banner.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,11 @@ export default class HeroBanner extends HTMLElement {
1212
<p class="${styles.headingSub}">Greenwood is your workbench for the web, embracing web standards from the ground up to empower your stack from front to back.</p>
1313
1414
<div class="${styles.ctaContainer}">
15-
<a href="https://stackblitz.com/github/projectevergreen/greenwood-getting-started" class="${styles.buttonBlitz}" target="_blank">
16-
<span>View in Stackblitz</span>
17-
<span class="no-show-screen-reader"> (opens in a new window)</span>
15+
<a href="/docs/introduction/about/" class="${styles.buttonSecondary}">
16+
<span>Learn More</span>
1817
</a>
1918
20-
<a href="/guides/getting-started/" class="${styles.buttonStarted}">
19+
<a href="/guides/getting-started/" class="${styles.buttonPrimary}">
2120
<span>Get Started</span>
2221
</a>
2322

src/components/hero-banner/hero-banner.module.css

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
text-align: center;
3131
}
3232

33-
.buttonBlitz {
33+
.buttonSecondary {
3434
display: inline-block;
3535
border-radius: var(--radius-3);
3636
background-color: transparent;
@@ -43,7 +43,7 @@
4343
color: var(--color-black) !important;
4444
}
4545

46-
.buttonStarted {
46+
.buttonPrimary {
4747
display: inline-block;
4848
border-radius: var(--radius-3);
4949
padding: var(--size-3);
@@ -56,15 +56,15 @@
5656
text-decoration: none;
5757
}
5858

59-
.buttonBlitz:hover,
60-
.buttonBlitz:focus {
59+
.buttonSecondary:hover,
60+
.buttonSecondary:focus {
6161
background-color: var(--color-secondary);
6262
color: var(--color-white) !important;
6363
text-decoration: none;
6464
}
6565

66-
.buttonStarted:hover,
67-
.buttonStarted:focus {
66+
.buttonPrimary:hover,
67+
.buttonPrimary:focus {
6868
background-color: var(--color-accent);
6969
text-decoration: none;
7070
color: var(--color-black) !important;
@@ -121,8 +121,8 @@
121121
margin: 0 auto;
122122
}
123123

124-
.buttonBlitz,
125-
.buttonStarted {
124+
.buttonSecondary,
125+
.buttonPrimary {
126126
width: 45%;
127127
}
128128

@@ -153,8 +153,8 @@
153153
text-align: left;
154154
}
155155

156-
.buttonBlitz,
157-
.buttonStarted {
156+
.buttonSecondary,
157+
.buttonPrimary {
158158
max-width: fit-content;
159159
}
160160

0 commit comments

Comments
 (0)