Skip to content

Commit b946153

Browse files
committed
Fix issue with white bar on loading
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
1 parent b719f36 commit b946153

File tree

9 files changed

+81
-4
lines changed

9 files changed

+81
-4
lines changed

_data/navigation.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
- name: Pricing
88
class: navbar-item
99
link: /pricing/
10+
# - name: Products
11+
# class: navbar-item
12+
# link: /products/
1013
- name: Support
1114
class: navbar-item
1215
link: /support/

_includes/navigation.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<nav id="top-nav" class="navbar is-fixed-top is-primary" role="navigation" aria-label="main navigation">
1+
<nav id="top-nav" style="height: 120px;" class="navbar is-fixed-top is-primary" role="navigation" aria-label="main navigation">
22
<div class="container is-fluid">
33
<div class="navbar-brand">
44
<a class="navbar-item" href="{{ site.baseurl }}/">
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
<div class="container">
2+
<div class="columns is-multiline">
3+
<div class="column is-12 is-spaced-bottom">
4+
<div class="cards-wrapper">
5+
6+
<div class="card has-text-centered is-12">
7+
<div class="card-content">
8+
<div class="card-logo">
9+
<figure class="image is-96x96">
10+
<img src="{{ site.baseurl }}/images/openfaas/logo-whale-round.png" alt="logo">
11+
</figure>
12+
</div>
13+
<h3 class="title is-size-12 is-size-8-desktop has-text-grey-darker">
14+
OpenFaaS Standard & Enterprise
15+
</h3>
16+
<subtitle class="is-size-5 mb-3">
17+
Portable serverless framework for Kubernetes
18+
</subtitle>
19+
<h3 class="title has-text-weight-light is-size-5 is-size-4-desktop">
20+
<p style="padding-bottom: 20px">Build functions and deploy them to production with the power of Kubernetes.</p>
21+
22+
<ul style="line-height: 2.5rem; text-align: left; padding-left: 20px; list-style-type: square;">
23+
<li>Highly scaleable functions scale up with demand or to zero.</li>
24+
<li>Focus on writing code instead of low-level Kubernetes YAML.</li>
25+
<li>Get expert support and assistance from the OpenFaaS team.</li>
26+
<li>Automate tasks, run scheduled jobs and ETL for your data.</li>
27+
<li>Integrate with the API, Helm, ArgoCD or our CLI/Dashboard.</li>
28+
</ul>
29+
</h3>
30+
31+
</div>
32+
</div>
33+
34+
35+
</div>
36+
</div>
37+
</div>
38+
</div>
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<div class="container">
2+
<h1 class="title is-size-3-mobile is-size-2-tablet is-size-1-desktop is-capitalized has-text-weight-bold">
3+
Our products &amp; services
4+
</h1>
5+
6+
<p class="title is-size-5 is-size-4-desktop has-text-grey-darker has-text-weight-light">
7+
OpenFaaS Ltd is the company behind OpenFaaS, but we also offer complimentary solutions.
8+
</p>
9+
</div>

_layouts/default.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!DOCTYPE html>
22

3-
<html class="has-navbar-fixed-top" lang="en">
3+
<html class="has-navbar-fixed-top" lang="en" style="padding-top: 120px">
44

55
<head>
66
<meta charset="utf-8">

_layouts/landing.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!DOCTYPE html>
22

3-
<html class="has-navbar-fixed-top" lang="en">
3+
<html class="has-navbar-fixed-top" lang="en" style="padding-top: 120px;"">
44

55
<head>
66
<meta charset="utf-8">

docker-compose.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,15 @@
1-
version: "3"
1+
# version: "3"
22
services:
33
openfaas-jekyll:
44
command: jekyll serve --force_polling
55
image: jekyll/jekyll:3.8
66
volumes:
77
- .:/srv/jekyll
8+
- site:/srv/jekyll/_site
89
ports:
910
- 4000:4000
11+
environment:
12+
- JEKYLL_UID=1000
13+
14+
volumes:
15+
site:

js/main.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,3 +108,7 @@ function initVideoModal() {
108108
showModal(false);
109109
});
110110
}
111+
112+
// Run shrinkNav on start-up to cover up the white bar shown between the nav
113+
// and the blue hero on the landing page
114+
// shrinkNav()

products/index.html

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
title: Products by OpenFaaS Ltd
3+
description: Learn what products and services OpenFaaS Ltd offers
4+
image: https://www.openfaas.com/images/pexels-fauxels-3183150.jpg
5+
---
6+
7+
<section class="hero">
8+
<div class="hero-body has-text-centered intro">
9+
{% include products-page/products-title.html %}
10+
</div>
11+
12+
<div class="hero-body white call-to-action is-spaced-bottom pb-3">
13+
{% include products-page/products-cards.html %}
14+
</div>
15+
16+
17+
</section>

0 commit comments

Comments
 (0)