ourworld content added, landing complete

This commit is contained in:
timurgordon
2022-02-16 18:24:39 +03:00
parent f7c0f24604
commit b37696ffc1
8 changed files with 147 additions and 45 deletions

View File

@@ -6,25 +6,6 @@
{{section.content | safe}}
<!-- Landing page banner -->
{% include "partials/splitRow.html" %}
<!-- Landing page full width vertical image -->
<img src="/images/threefold_img2.png" alt="">
<br/>
{%- set section = get_section(path="about/community/_index.md") %}
{% include "partials/splitRow.html" %}
<br/>
<!-- Summary row of sustainability page -->
{%- set section = get_section(path="about/sustainability/_index.md") %}
{% include "partials/splitRow.html" %}
<br/>
<!-- Summary row of creators page -->
{%- set section = get_section(path="about/creators/_index.md") %}
{% include "partials/splitRow.html" %}
</main>
{% endblock content %}

View File

@@ -1,13 +1,18 @@
<!--
Tailwind UI components require Tailwind CSS v1.8 and the @tailwindcss/ui plugin.
Read the documentation to get started: https://tailwindui.com/documentation
--><html>
-->
{%- set section = get_section(path="header/_index.md") %}
{%- set logoPath = section.extra.logoPath %}
<html>
<head /><body>
<footer class="bg-white">
<div class="max-w-screen-xl mx-auto py-12 px-4 sm:px-6 lg:py-16 lg:px-8">
<div class="xl:grid xl:grid-cols-3 xl:gap-8">
<div class="space-y-8 xl:col-span-1">
<img class="h-10" src="/https://tailwindui.com/img/logos/v1/workflow-mark-gray-300.svg" alt="Company name" />
<img class="h-6" src="{{logoPath}}" alt="Company name" />
<p class="text-gray-500 text-base leading-6">
Making the world a better place through constructing elegant hierarchies.
</p>

View File

@@ -41,7 +41,7 @@
<div class="max-w-7xl mx-auto flex justify-between items-center px-4 py-5 sm:px-6 sm:py-4 lg:px-8 md:justify-start md:space-x-10">
<div>
<a href="/" class="flex">
<img class="w-20 h-auto sm:w-32" src="/images/ourworld_logo.png" alt="Workflow" />
<img class="w-20 h-auto sm:w-32" src="{{section.extra.logoPath}}" alt="Workflow" />
</a>
</div>
<div class="-mr-2 -my-2 md:hidden">

View File

@@ -1,11 +1,18 @@
{% set columns = body | safe | markdown | split(pat="|||") %}
{% set classes = "relative mt-12 lg:mt-24 flex flex-col lg:flex-row m-8 sm:m-12 md:m-16 lg:m-20 items-center" %}
{% set classes = "relative pt-12 flex flex-col lg:flex-row p-8 sm:p-12 md:p-16 lg:p-20 lg:py-16 items-center" %}
{% if isLean %}
{% set classes = "relative flex flex-col lg:flex-row items-baseline" %}
{% endif %}
<div class="{{classes}}">
{% set styles = "" %}
{% if bgPath %}
{% set styles = "background: url('" ~ bgPath ~ "')" %}
{% set classes = classes ~ " bg-cover lg:py-40" %}
{% endif %}
<div class="{{classes}}" style="{{styles}}">
{% for column in columns%}
<div class="flex-1 lg:mx-8">
{{ column | safe }}