Skip to content

Commit

Permalink
try and install buttons on homepage
Browse files Browse the repository at this point in the history
  • Loading branch information
fonsp committed Jul 15, 2024
1 parent 15fd7bb commit 14af5a5
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/_includes/welcome.jlhtml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@

<a href="en/docs/"><img src="https://cdn.jsdelivr.net/gh/ionic-team/[email protected]/src/svg/reader.svg" aria-hidden="true"> Documentation</a>
<a href="https://featured.plutojl.org/"><img src="https://cdn.jsdelivr.net/gh/ionic-team/[email protected]/src/svg/star.svg" aria-hidden="true"> Featured Notebooks</a>
<!-- <a href="en/blog/">Blog</a> -->
<a href="https://github.com/fonsp/Pluto.jl"><img src="https://cdn.jsdelivr.net/gh/ionic-team/[email protected]/src/svg/logo-github.svg" aria-hidden="true"> GitHub</a>
</div>

Expand All @@ -50,6 +49,11 @@
We are on a mission to make <em>scientific computing</em> more <em>accessible and fun</em>.
</h1>
<p>Simple, reactive programming environment for Julia</p>
<div class="bannerlinks">
<a class="roundbutton" href="#try"><img src="https://cdn.jsdelivr.net/gh/ionic-team/[email protected]/src/svg/flash.svg" aria-hidden="true"> Try online</a>

<a class="roundbutton" href="#install"><img src="https://cdn.jsdelivr.net/gh/ionic-team/[email protected]/src/svg/cloud-download.svg" aria-hidden="true"> Install</a>
</div>
</div>
</div>
</header-sizer>
Expand Down Expand Up @@ -265,7 +269,7 @@

</main>
</section>
<section id="tryonline" class="tryonline">
<section id="try" class="tryonline">
<main>

<p-hannes>
Expand Down Expand Up @@ -329,7 +333,7 @@
)

<p-hannes>
<h1-sub>Let's go!</h1-sub>
<h1-sub>Here we go!</h1-sub>
<h1>Let's install Pluto!</h1>
</p-hannes>
<p>
Expand Down
14 changes: 14 additions & 0 deletions src/assets/styles/welcome.css
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,17 @@ div.header-text > div {
margin-bottom: 1rem;
}

.header-text .bannerlinks {
display: flex;
gap: 2em;
justify-content: flex-start;
}

.header-text .bannerlinks .roundbutton {
background: #72167e;
box-shadow: 0 0 10px #0000004d;
}

header #topnav {
display: flex;
/* height: 3rem; */
Expand Down Expand Up @@ -206,6 +217,8 @@ header #topnav .navlinks {
gap: 1rem;
}

.roundbutton,
.roundbutton:visited,
header #topnav .navlinks a {
padding: 1rem;
background: linear-gradient(21deg, #4b3f00, #6e4a09);
Expand All @@ -214,6 +227,7 @@ header #topnav .navlinks a {
color: white;
}

.roundbutton img,
header #topnav .navlinks a img {
height: 1em;
filter: invert(1);
Expand Down

0 comments on commit 14af5a5

Please sign in to comment.