Skip to content

Commit

Permalink
changes to first page
Browse files Browse the repository at this point in the history
  • Loading branch information
grimfandangle committed Apr 24, 2022
1 parent 3250a98 commit 51f0a71
Show file tree
Hide file tree
Showing 8 changed files with 377 additions and 29 deletions.
4 changes: 2 additions & 2 deletions _app/_data/curtana.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ meta:

# Hide footer from your homepage, example: sparanoid.com
# Default: false
clean_homepage: false
clean_homepage: true

# Style post link color (if defined) for article list
# Default: false
colorful_list: false

# Enable dark mode automatically via `prefers-color-scheme: dark`
auto_dark_mode: true
auto_dark_mode: false
8 changes: 4 additions & 4 deletions _app/_data/header.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
- title: __home__
url: /

- title: News
url: /news/
- title: Features
url: /features/

- title: About
url: /about/
- title: Plugins
url: /plugins/
38 changes: 29 additions & 9 deletions _app/_pages/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,39 @@
<article>

<!-- Post title -->
<header>
<header class="flex-container">
<div class="flex-left">
<h1>
Serverless data pipelines written for <span class="highlighter">Data Engineers</span>.
</h1>

<h1 class="image-title">
Almace Scaffolding
<img src="{{ amsf_user_assets }}/svg/amsf.svg">
</h1>

<h2 class="sub-title">A super-fast Jekyll framework fighting against the website obesity.</h2>

<small>a.k.a. <b>AMSF</b>&#x30FB;ver. <b class="amsf-version">2.0.22</b>&#x30FB;view it on <a href="https://github.com/sparanoid/almace-scaffolding">GitHub</a></small>
<h2 class="sub-title">
Write testable tasks in modern Python without any framework dependencies.
</h2>

<small>Compose in YAML and schedule them in serverless Lambda or Airflow. Package them in reusable components for your data analysts to use from the UI.</small>
<small>Fully Open Source. View on <a href="https://github.com/sparanoid/almace-scaffolding">GitHub</a></small>
</br>
<div class="install">
<a href="#" class="myButton">Try with docker</a>
</div>
<div class="install">
<small><a href="#" class="">or install locally.</a></small>
</div>

</div>
<div class="flex-right">
<img class="browser" src="{{ amsf_user_assets }}/img/auto-complete.gif">
</div>
</header>

<div class="page-content">


<h2>YAML for Animals</h2>
<img class="browser" src="{{ amsf_user_assets }}/img/auto-complete.gif">


<h2>Getting Started</h2>
{% for post in site.tags.getting-started %}
{%- include themes/{{ site.amsf_theme }}/includes/page-item.html -%}
Expand Down
113 changes: 103 additions & 10 deletions _app/assets/_scss/_user.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,7 @@
// EXAMPLE: alternative title size
// By default all heading levels have the same font size, but many people may
// not like this, so here's an alternative font size stack:
// .content {
// h2 { font-size: 108%; opacity: .8; }
// h3 { font-size: 96%; opacity: .7; }
// h4 { font-size: 84%; opacity: .6; }
// h5 { font-size: 72%; opacity: .5; }
// h6 { font-size: 60%; opacity: .4; }
// }


// EXAMPLE: alternative post title color
// This is useful when you're using the custom color scheme.
Expand All @@ -27,11 +21,110 @@

// EXAMPLE: amsf.github.io custom appearance
:root {
--code-color-h: calc(var(--link-color-h) + 10);
--code-color-s: calc(var(--link-color-s) * .2 + 40%);
--font-size: 1.5vw;
--space-lg: 12vw;

--bg-color-h: 168;
--bg-color-s: 100%;
--bg-color-l: 25%;
--bg-color-hsl: var(--bg-color-h), var(--bg-color-s), var(--bg-color-l);
--bg-color: hsl(var(--bg-color-hsl));
--bg-color-light: hsl(var(--bg-color-h), var(--bg-color-s), calc(var(--bg-color-l) ));
--bg-color-dark: hsl(var(--bg-color-h), var(--bg-color-s), calc(var(--bg-color-l) ));

--text-color: white;

--link-color-h: 168;
--link-color-s: 100%;
--link-color-l: 85%;
--link-color-hsl: var(--link-color-h), var(--link-color-s), var(--link-color-l);

--link-color: hsl(var(--link-color-hsl));


}


// .content header {
// width: 100%;
// }

.content .flex-container {
display: flex;
flex-direction: row;

}

.flex-container .flex-left {
flex: 50%;
}

.flex-right {
flex: 50%;
display: flex;
justify-content: flex-end;
flex-direction: row;
height: fit-content;
}
.content img, .content video, .content iframe, .content .browser {
--space-deco: var(--space-md);
display: block;
width: 80%;
margin-left: unset;
margin-right: unset;
margin-bottom: unset;
}

.content header {
background-color: hsl(168, 100%, 10%);
}

.content header h1 {
font-size: 200%;
padding-bottom: 1rem;
}

.content header h1 .highlighter{
background-color: rgba(255, 255, 0, 0.304);
}

.content .sub-title {
font-size: 108%;
opacity: .8;
opacity: .9;
}

.content {
// h1 { font-size: 400%; opacity: .8; }
// h2 { font-size: 108%; opacity: .8; }
// h3 { font-size: 96%; opacity: .7; }
h4 { font-size: 84%; opacity: .6; }
h5 { font-size: 72%; opacity: .5; }
h6 { font-size: 60%; opacity: .4; }
}


.install {
display: flex;
justify-content: center;
}
.myButton {
background-color:hsl(167.76, 100%, 71.18%);
border-radius:5px;
border:2px solid #ffffff;
display:inline-block;
cursor:pointer;
color:hsl(168, 100%, 25%);
// font-family:Arial;
font-size:17px;
padding:10px 21px;
text-decoration:none;
// text-shadow:0px 1px 0px #2f6627;
}
.myButton:hover {
background-color:#ffffff;
color:hsl(168, 100%, 25%);
}
.myButton:active {
position:relative;
top:1px;
}
1 change: 1 addition & 0 deletions _app/assets/_scss/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@
//
// - This file should contain only Sass variables defined in theme Curtana.
// - CSS varaibles customization should be defined in `_user.scss`.

Binary file added _app/assets/img/auto-complete.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 51f0a71

Please sign in to comment.