Skip to content

Commit 4df08dc

Browse files
author
Ives van Hoorne
committed
Add Search button
1 parent ec119eb commit 4df08dc

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

src/homepage/index.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,10 @@ <h2 class="subtitle shadow--text">Online React Playground</h2>
7878

7979
<div class="getstarted">
8080
<a href="/s/new" class="button">Open the editor</a>
81-
<a href="/s/github" class="button button-alternative">Import from GitHub</a>
81+
<div class="secondary-actions">
82+
<a href="/search" class="button button-alternative">Search for a sandbox</a>
83+
<a href="/s/github" class="button button-alternative">Import from GitHub</a>
84+
</div>
8285
</div>
8386

8487
<div class="lines">

src/homepage/static/css/main.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ h1 {
3131
text-transform: uppercase;
3232
}
3333

34+
.secondary-actions {
35+
margin-top: 2rem;
36+
}
37+
3438
.primary {
3539
color: #6caedd;
3640
}
@@ -60,6 +64,7 @@ h1 {
6064

6165
.button.button-alternative {
6266
font-size: 1.125rem;
67+
margin-bottom: 10px;
6368
}
6469

6570
.button:hover {

0 commit comments

Comments
 (0)