forked from quarkusio/quarkusio.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9dde8a7
commit eab9827
Showing
9 changed files
with
135 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<div class="tabs"> | ||
<input type="radio" name="tabs" id="tab1" checked="checked"> | ||
<label for="tab1">Imperative</label> | ||
<div class="tab"> | ||
<pre> | ||
<code> | ||
function sayHi(fName){ | ||
var custName = fName; | ||
alert('Hi ' + custName); | ||
} | ||
</code> | ||
</pre> | ||
</div> | ||
|
||
<input type="radio" name="tabs" id="tab2"> | ||
<label for="tab2">Reactive</label> | ||
<div class="tab"> | ||
<pre> | ||
<code> | ||
$ Hello world! | ||
$ Hello world! | ||
$ Hello world! | ||
$ Hello world! | ||
</code> | ||
</pre> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,34 @@ | ||
<div class="full-width-bg component homepage-highlights-band"> | ||
<div class="grid-wrapper"> | ||
<div class="grid__item width-8-12 width-12-12-m"> | ||
<h2>Imperative and Reactive in one programming model</h2> | ||
<p>Use the familiar imperative code approach or need the event-driven and non-blocking approach. Quarkus brings both under one roof. Brings serverless to Java.</p> | ||
<div class="width-12-12 highlights-alternating-inline-block"> | ||
<div class="grid-wrapper"> | ||
<div class="width-7-12 width-12-12-m block-content"> | ||
<h2>Imperative and Reactive in one programming model</h2> | ||
<p>Use the familiar imperative code approach or need the event-driven and non-blocking approach. Quarkus brings both under one roof. Brings serverless to Java.</p> | ||
</div> | ||
<div class="width-5-12 width-12-12-m block-image"> | ||
{% include homepage-code-tabs.html %} | ||
</div> | ||
</div> | ||
<div class="grid__item width-8-12 width-12-12-m"> | ||
<h2>Container First</h2> | ||
<p>Quarkus is made for optimally running on Graal VM and HotSpot. Low boot time, low RSS memory (not just heap size!) offering stellar boot and memory utilization in containers and container orchestration platforms like Kubernetes. We use a technique we call compile time boot.</p> | ||
</div> | ||
<div class="width-12-12 highlights-alternating-inline-block"> | ||
|
||
<div class="grid-wrapper"> | ||
<div class="width-4-12 width-12-12-m block-image"> | ||
<img src="{{site.baseurl}}/assets/images/placeholder.png"> | ||
</div> | ||
<div class="width-8-12 width-12-12-m block-content"> | ||
<h2>Container First</h2> | ||
<p>Quarkus is made for optimally running on Graal VM and HotSpot. Low boot time, low RSS memory (not just heap size!) offering stellar boot and memory utilization in containers and container orchestration platforms like Kubernetes. We use a technique we call compile time boot.</p> | ||
</div> | ||
</div> | ||
<div class="grid__item width-8-12 width-12-12-m"> | ||
<h2>Developer Joy</h2> | ||
<p> cohesive platform from config to build.<br />Streamlined code for the 80% common usages, flexible for the 20%. Instant fix the bug and hit reload development loop for all libraries including Hibernate.</p> | ||
</div> | ||
<div class="width-12-12 highlights-alternating-inline-block"> | ||
|
||
<div class="grid-wrapper"> | ||
<div class="width-8-12 width-12-12-m block-content"> | ||
<h2>Developer Joy</h2> | ||
<p> Cohesive platform from config to build.<br />Streamlined code for the 80% common usages, flexible for the 20%. Instant fix the bug and hit reload development loop for all libraries including Hibernate.</p> | ||
</div> | ||
</div> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<div class="tabs"> | ||
<input type="radio" name="tabs" id="tab1" checked="checked"> | ||
<label for="tab1">Tab 1</label> | ||
<div class="tab"> | ||
<h3>Tab 1 Content</h3> | ||
<p>Hello World....</p> | ||
</div> | ||
|
||
<input type="radio" name="tabs" id="tab2"> | ||
<label for="tab2">Tab 2</label> | ||
<div class="tab"> | ||
<h3>Tab 2 Content</h3> | ||
<p>Hello World....</p> | ||
</div> | ||
|
||
<input type="radio" name="tabs" id="tab3"> | ||
<label for="tab3">Tab 3</label> | ||
<div class="tab"> | ||
<h3>Tab 3 Content</h3> | ||
<p>Hello World....</p> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
/** Styles for _includes/templates/tabs.html */ | ||
.tabs { | ||
display: flex; | ||
flex-wrap: wrap; | ||
} | ||
.tabs label { | ||
order: 1; | ||
display: block; | ||
padding: 1rem 2rem; | ||
margin-right: 0.2rem; | ||
cursor: pointer; | ||
background-color: #407096; | ||
font-weight: 700; | ||
transition: background ease 0.2s; | ||
} | ||
.tabs .tab { | ||
order: 99; | ||
flex-grow: 1; | ||
width: 100%; | ||
display: none; | ||
padding: 1rem; | ||
background-color: #1f415d; | ||
} | ||
.tabs input[type="radio"] { | ||
display: none; | ||
&:checked + label { | ||
background-color: #1f415d; | ||
} | ||
&:checked + label + .tab { | ||
display: block; | ||
} | ||
} | ||
|
||
@media (max-width: 45em) { | ||
.tabs .tab, | ||
.tabs label { | ||
order: initial; | ||
} | ||
.tabs label { | ||
width: 100%; | ||
margin-right: 0; | ||
margin-top: 0.2rem; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.