update home and about
This commit is contained in:
@@ -1,12 +1,10 @@
|
||||
{% extends "_default/base.html" %}
|
||||
{% block content %}
|
||||
|
||||
{% include "partials/hero/myhero.html" %}
|
||||
{% include "partials/hero/myhero1.html" %}
|
||||
{% include "partials/hero/myhero3.html" %}
|
||||
{% include "partials/hero/myhero8.html" %}
|
||||
{% include "partials/hero/myhero5.html" %}
|
||||
{% include "partials/hero/myhero2.html" %}
|
||||
{% include "partials/hero/myhero6.html" %}
|
||||
{% include "partials/hero/myhero7.html" %}
|
||||
{% endblock content %}
|
||||
<!-- home page template, has a banner and rows of page summaries -->
|
||||
<div>
|
||||
{% set page = get_page(path="home/index.md") %}
|
||||
{{page.content | safe}}
|
||||
</div>
|
||||
{% endblock content %}
|
||||
|
||||
|
@@ -1,12 +1,6 @@
|
||||
{% extends "_default/base.html" %}
|
||||
{% block content %}
|
||||
{% include "partials/about/about1.html" %}
|
||||
{% include "partials/about/about2.html" %}
|
||||
{% include "partials/about/about3.html" %}
|
||||
{% include "partials/about/about4.html" %}
|
||||
{% include "partials/about/about5.html" %}
|
||||
{% include "partials/about/about6.html" %}
|
||||
{% include "partials/hero/myhero7.html" %}
|
||||
|
||||
|
||||
|
||||
{% endblock content %}
|
65
templates/shortcodes/accordion.html
Normal file
65
templates/shortcodes/accordion.html
Normal file
@@ -0,0 +1,65 @@
|
||||
|
||||
<script src="https://cdn.tailwindcss.com"></script>
|
||||
<script defer src="https://cdn.jsdelivr.net/npm/alpinejs@3.x.x/dist/cdn.min.js"></script>
|
||||
<script>
|
||||
tailwind.config = {
|
||||
theme: {
|
||||
extend: {
|
||||
fontFamily: {
|
||||
inter: ['Inter', 'sans-serif'],
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
</script>
|
||||
<!-- <main class="fade-in relative flex flex-col justify-center overflow-hidden bg-white"> -->
|
||||
<!-- <div class="w-full mx-auto px-4 md:px-6 py-12 border-t-2"> -->
|
||||
|
||||
<!-- <h1 class="text-3xl lg:text-4xl font-normal tracking-tight text-black pt-12">Frequently Asked Questions</h1> -->
|
||||
|
||||
<!-- Accordion component -->
|
||||
<!-- <div class="divide-y divide-white/50 my-10"> -->
|
||||
<!-- Accordion item -->
|
||||
<div x-data="{ expanded: false }" class="py-2">
|
||||
<h2>
|
||||
<button
|
||||
id="faqs-title-01"
|
||||
type="button"
|
||||
class="flex items-center justify-between w-full text-left font-semibold py-2 px-4 border rounded-lg"
|
||||
@click="expanded = !expanded"
|
||||
:aria-expanded="expanded"
|
||||
aria-controls="faqs-text-01"
|
||||
>
|
||||
<span class="">{{ question }}</span>
|
||||
<svg class="shrink-0 ml-8" fill="gray" width="16" height="16" xmlns="http://www.w3.org/2000/svg">
|
||||
<rect y="7" width="16" height="2" rx="1" class="transform origin-center transition duration-200 ease-out" :class="{'!rotate-180': expanded}" />
|
||||
<rect y="7" width="16" height="2" rx="1" class="transform origin-center rotate-90 transition duration-200 ease-out" :class="{'!rotate-180': expanded}" />
|
||||
</svg>
|
||||
</button>
|
||||
</h2>
|
||||
<div
|
||||
id="faqs-text-01"
|
||||
role="region"
|
||||
aria-labelledby="faqs-title-01"
|
||||
class="grid text-sm overflow-hidden transition-all duration-300 ease-in-out"
|
||||
:class="expanded ? 'grid-rows-[1fr] opacity-100' : 'grid-rows-[0fr] opacity-0'"
|
||||
>
|
||||
<div class="overflow-hidden">
|
||||
{% if description %}
|
||||
<p class="py-3 px-4 text-base font-light">
|
||||
{{ description }}
|
||||
</p>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- </div>
|
||||
</div> -->
|
||||
<!-- End: Accordion component -->
|
||||
|
||||
<!-- </div>
|
||||
</main> -->
|
||||
|
||||
|
||||
|
||||
|
28
templates/shortcodes/cta.html
Normal file
28
templates/shortcodes/cta.html
Normal file
@@ -0,0 +1,28 @@
|
||||
{% set title = title | default(value="") %}
|
||||
{% set description = description | default(value="") %}
|
||||
{% set button_text = button_text | default(value="") %}
|
||||
{% set button_link = button_link | default(value="") %}
|
||||
{% set button_text2 = button_text2 | default(value="") %}
|
||||
{% set button_link2 = button_link2 | default(value="") %}
|
||||
{% set image_src = image_src | default(value="") %}
|
||||
{% set image_alt = image_alt | default(value="") %}
|
||||
|
||||
|
||||
<div class="fade-in lg:pt-12">
|
||||
<div class="mx-auto max-w-7xl py-12 sm:px-6 lg:px-8">
|
||||
<div class="relative isolate overflow-hidden bg-black px-6 pt-16 shadow-2xl sm:rounded-3xl sm:px-16 md:pt-24 lg:flex lg:gap-x-20 lg:px-24 lg:pt-0">
|
||||
<div class="mx-auto max-w-md text-center lg:mx-0 lg:flex-auto lg:py-32 lg:text-left">
|
||||
<h2 class="text-4xl font-normal tracking-tight text-balance text-white lg:text-5xl">{{ title }}</h2>
|
||||
<p class="mt-6 text-lg lg:text-xl text-pretty font-light text-gray-300">{{ description }}</p>
|
||||
<div class="mt-10 flex items-center justify-center gap-x-6 lg:justify-start">
|
||||
<a href="{{ button_link }}" class="rounded-2xl bg-white px-3.5 py-2.5 text-sm font-semibold text-gray-900 shadow-xs hover:bg-gray-100 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-white">{{ button_text }}</a>
|
||||
<a href="{{ button_link2 }}" class="text-sm/6 font-semibold text-white hover:text-gray-100">{{ button_text2 }}<span aria-hidden="true">→</span></a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="relative mt-16 h-80 lg:mt-8">
|
||||
<img class="absolute top-0 left-0 w-[25rem] lg:w-[45rem] max-w-none rounded-2xl ring-1 ring-white/10" src="{{ image_src }}" alt="{{ image_alt }}" width="1824" height="1080">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
59
templates/shortcodes/desciption_blockquote.html
Normal file
59
templates/shortcodes/desciption_blockquote.html
Normal file
@@ -0,0 +1,59 @@
|
||||
{% set title = title | default(value="") %}
|
||||
{% set description_1 = description_1 | default(value="") %}
|
||||
{% set description_2 = description_2 | default(value="") %}
|
||||
{% set description_3 = description_3 | default(value="") %}
|
||||
{% set description_4 = description_4 | default(value="") %}
|
||||
|
||||
|
||||
|
||||
<div class="lg:py-24 py-12 relative bg-white isolate overflow-hidden">
|
||||
<div class="mx-auto container lg:max-w-7xl px-4">
|
||||
<div>
|
||||
<h2 class="fade-in lg:text-5xl text-4xl font-medium tracking-tight l">{{ title }}
|
||||
</h2>
|
||||
</div>
|
||||
<div class="relative grid lg:grid-cols-12 lg:gap-8">
|
||||
<!-- Left Content -->
|
||||
<div class="lg:col-span-6">
|
||||
<div class="mx-auto max-w-2xl lg:mx-0">
|
||||
<p class="fade-in mt-2 text-lg lg:text-xl font-light">
|
||||
{{ description_1 }}
|
||||
<br><br>
|
||||
{{ description_2 }}
|
||||
<br><br>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Right Blockquote -->
|
||||
<div class="lg:col-span-6">
|
||||
<figure class=" mt-2 pl-8">
|
||||
<blockquote class=" fade-in px-6">
|
||||
<p class="text-md leading-normal font-normal">{{ description_3 }}
|
||||
<br><br>
|
||||
{{ description_4 }}</p>
|
||||
</blockquote>
|
||||
<br>
|
||||
<div class="mx-4">
|
||||
<p class="fade-in mx-auto text-xl font-semibold tracking-tight lg:text-2xl opacity-0 transition-opacity duration-1000" data-observer>
|
||||
Decentralized. Scalable. Intelligent.
|
||||
</p>
|
||||
</div>
|
||||
</figure>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<style>
|
||||
.blockquote::before {
|
||||
content: open-quote;
|
||||
font-size: 4rem;
|
||||
position: absolute;
|
||||
top: -1rem;
|
||||
left: -1rem;
|
||||
color: #8d1212;
|
||||
}
|
||||
</style>
|
34
templates/shortcodes/feature_card.html
Normal file
34
templates/shortcodes/feature_card.html
Normal file
@@ -0,0 +1,34 @@
|
||||
{% set title = title | default(value="Feature") %}
|
||||
{% set description = description | default(value="") %}
|
||||
{% set link = link | default(value="") %}
|
||||
{% set icon = icon | default(value="") %}
|
||||
{% set bg_color = bg_color | default(value="bg-white") %}
|
||||
{% set hover_color = hover_color | default(value="hover:bg-gray-50") %}
|
||||
|
||||
|
||||
<div class="relative {{ bg_color }} {{ hover_color }} shadow rounded-lg p-4 transition-all duration-300">
|
||||
{% if icon %}
|
||||
<div class="flex items-center justify-center h-12 w-12 rounded-md bg-gray-200 text-white mb-4">
|
||||
<img src="{{ icon | safe }}" class="">
|
||||
</div>
|
||||
{% endif %}
|
||||
<h3 class="text-md font-medium">{{ title }}</h3>
|
||||
{% if description %}
|
||||
<p class="my-2 font-extralight">{{ description }}</p>
|
||||
{% endif %}
|
||||
{% if link %}
|
||||
<a href="{{ link }}" class="text-sm font-semibold text-black hover:text-gray-700">{{ link_name }} <span aria-hidden="true">→</span></a>
|
||||
{% endif %}
|
||||
{% if caller %}
|
||||
<div class="mt-4">
|
||||
{{ caller() }}
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
<style scop>
|
||||
|
||||
p{
|
||||
font-weight: 200;
|
||||
}
|
||||
</style>
|
17
templates/shortcodes/header_center.html
Normal file
17
templates/shortcodes/header_center.html
Normal file
@@ -0,0 +1,17 @@
|
||||
{% set title = title | default(value="Feature") %}
|
||||
{% set subtitle = subtitle | default(value="") %}
|
||||
{% set description = description | default(value="") %}
|
||||
|
||||
|
||||
|
||||
<div class="fade-in py-12">
|
||||
<div class="relative isolate px-4 lg:px-8">
|
||||
<div class="mx-auto max-w-4xl">
|
||||
<div class="text-left lg:text-center">
|
||||
<h2 class="fade-in text-balance lg:text-5xl text-4xl font-medium tracking-tight text-black">{{ title }}</h2>
|
||||
<h3 class="fade-in text-balance lg:text-3xl text-2xl font-normal tracking-tight text-black">{{ subtitle }}</h3>
|
||||
<p class="mt-8 lg:text-lg font-light text-black sm:text-xl/8">{{ description }}</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
61
templates/shortcodes/hero_bottom_img.html
Normal file
61
templates/shortcodes/hero_bottom_img.html
Normal file
@@ -0,0 +1,61 @@
|
||||
<div class="lg:pt-24 pt-12 px-4">
|
||||
<div class="mx-auto max-w-7xl">
|
||||
<div class="mx-auto max-w-4xl text-left lg:text-center">
|
||||
<p class="text-base/7 font-light tracking-wide">{{ subtitle }}</p>
|
||||
<h2 class="fade-in text-balance lg:text-5xl text-4xl font-normal tracking-tight "> {{ title }}</h2>
|
||||
<p class="mt-6 text-lg font-light lg:text-xl">{{ description }}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="relative overflow-hidden pt-2">
|
||||
<div class="mx-auto max-w-7xl px-4 lg:px-8 flex items-center justify-center">
|
||||
<img src="{{ image_src }}" alt="{{ image_alt }}" width="900">
|
||||
</div>
|
||||
</div>
|
||||
<!-- <div class="mx-auto mt-10 max-w-7xl px-6 lg:px-8">
|
||||
<dl class="mx-auto grid max-w-2xl grid-cols-1 gap-x-6 gap-y-4 text-base/7 sm:grid-cols-2 lg:mx-0 lg:max-w-none lg:grid-cols-3 lg:gap-x-8 lg:gap-y-10">
|
||||
<div class="relative lg:pl-9">
|
||||
<dt class="inline font-semibold ">
|
||||
|
||||
✓ Quantum Safe Storage Functionality
|
||||
</dt>
|
||||
<dd class="font-light">Mycelium’s quantum safe storage enables flexible, scalable, and efficient data distribution across a decentralized network, ensuring redundancy and security.</dd>
|
||||
</div>
|
||||
<div class="relative lg:pl-9">
|
||||
<dt class="inline font-semibold ">
|
||||
|
||||
✓ Entry and Exit Points for AI Workloads
|
||||
</dt>
|
||||
<dd class="font-light">Seamlessly connect AI applications to Mycelium, providing optimized nd secured data pipelines for training, inference, and real-time processing.</dd>
|
||||
</div>
|
||||
<div class="relative lg:pl-9">
|
||||
<dt class="inline font-semibold ">
|
||||
|
||||
✓ Data Storage and Retrieval Mechanisms
|
||||
</dt>
|
||||
<dd class="font-light">Users can choose between storing data locally for quick access or utilizing the distributed grid for enhanced scalability and resilience.</dd>
|
||||
</div>
|
||||
<div class="relative lg:pl-9">
|
||||
<dt class="inline font-semibold ">
|
||||
|
||||
✓ Integrated Name Services (DNS)
|
||||
</dt>
|
||||
<dd class="font-light">The Integrated DNS system efficiently finds the shortest path between users and websites, automatically balancing loads and identifying alternative routes in case of internet issues.</dd>
|
||||
</div>
|
||||
<div class="relative lg:pl-9">
|
||||
<dt class="inline font-semibold ">
|
||||
|
||||
✓ Frontend/Backend Integration
|
||||
</dt>
|
||||
<dd class="font-light"> Mycelium provides seamless integration with existing applications, enabling developers to leverage decentralized storage across both frontend and backend architectures.</dd>
|
||||
</div>
|
||||
<div class="relative lg:pl-9">
|
||||
<dt class="inline font-semibold ">
|
||||
|
||||
✓ CDN (Content Delivery Network)
|
||||
</dt>
|
||||
<dd class="font-light">Mycelium accelerates data distribution by acting as a decentralized CDN, ensuring fast, secure, and efficient content delivery across global nodes with minimal latency.</dd>
|
||||
</div>
|
||||
</dl>
|
||||
</div> -->
|
||||
</div>
|
||||
|
46
templates/shortcodes/hero_features.html
Normal file
46
templates/shortcodes/hero_features.html
Normal file
@@ -0,0 +1,46 @@
|
||||
<div class="fade-in bg-white lg:max-w-7xl container mx-auto">
|
||||
<div class="lg:py-24 py-12 relative isolate">
|
||||
<div class="px-4 lg:px-8 lg:pb-24">
|
||||
<p class="text-base font-light tracking-wide">{{ subtitle_1 }}</p>
|
||||
<h2 class="fade-in lg:text-5xl text-4xl font-normal tracking-tight">{{ title }}</h2>
|
||||
<p class="text-left mt-4 text-pretty lg:text-lg text-md font-light fade-in max-w-3xl">
|
||||
{{ description }}
|
||||
</p>
|
||||
</div>
|
||||
<div class="mx-auto max-w-7xl lg:flex lg:items-center lg:gap-x-15 lg:px-8">
|
||||
<div class="my-6 lg:my-0 lg:flex lg:justify-center lg:w-1/2">
|
||||
<img class="w-full max-w-lg h-auto object-cover rounded-xl" src="{{ image_src }}"
|
||||
alt="{{ image_alt }}">
|
||||
</div>
|
||||
<div class="mx-auto max-w-lg lg:mx-0 lg:flex-auto pt-4">
|
||||
<dl class="space-y-8 text-base/7 lg:max-w-none">
|
||||
{% if feature_1_title %}
|
||||
<div class="relative pl-9">
|
||||
<dt class="font-semibold lg:text-lg text-base ">
|
||||
{{ feature_1_title }}
|
||||
</dt>
|
||||
<dd class="mt-2 font-light">{{ feature_1_description }}</dd>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% if feature_2_title %}
|
||||
<div class="relative pl-9">
|
||||
<dt class="font-semibold lg:text-lg text-base ">
|
||||
{{ feature_2_title }}
|
||||
</dt>
|
||||
<dd class="mt-2 font-light">{{ feature_2_description }}</dd>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% if feature_3_title %}
|
||||
<div class="relative pl-9">
|
||||
<dt class="font-semibold lg:text-lg text-base ">
|
||||
{{ feature_3_title }}
|
||||
</dt>
|
||||
<dd class="mt-2 font-light">{{ feature_3_description }}</dd>
|
||||
</div>
|
||||
{% endif %}
|
||||
</dl>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
38
templates/shortcodes/hero_right_img.html
Normal file
38
templates/shortcodes/hero_right_img.html
Normal file
@@ -0,0 +1,38 @@
|
||||
{% set image_src = image_src | default(value="") %}
|
||||
{% set image_alt = image_alt | default(value="") %}
|
||||
{% set title = title | default(value="MYCELIUM") %}
|
||||
{% set subtitle = subtitle | default(value="") %}
|
||||
{% set description_1 = description_1 | default(value="") %}
|
||||
{% set description_2 = description_2 | default(value="") %}
|
||||
{% set button_text = button_text | default(value="") %}
|
||||
{% set button_link = button_link | default(value="") %}
|
||||
|
||||
<div class=" fade-in">
|
||||
<div class="relative isolate">
|
||||
<div class="mx-auto lg:max-w-7xl px-6 lg:py-24 py-12 lg:flex lg:items-center lg:gap-x-20 lg:px-8">
|
||||
<div class="my-6 lg:my-16 sm:mt-24 lg:mt-0 lg:flex lg:justify-center lg:w-1/2 lg:order-2">
|
||||
<img class="w-full max-w-lg h-auto object-cover rounded-xl" src="{{ image_src }}"
|
||||
alt="{{ image_alt }}">
|
||||
</div>
|
||||
<div class="mx-auto max-w-xl lg:mx-0 lg:flex-auto lg:order-1">
|
||||
<h1 class="mt-2 text-4xl font-semibold tracking-tight lg:text-6xl">
|
||||
{{ title }}
|
||||
</h1>
|
||||
<h2 class="text-balance lg:text-4xl text-3xl font-normal tracking-tight">{{ subtitle }}</h2>
|
||||
<p class="mt-6 text-md font-light text-stone-800 lg:text-lg">
|
||||
{{ description_1 }}
|
||||
<p class="mt-2 text-md font-light text-stone-800 lg:text-lg">
|
||||
{{ description_2 }}
|
||||
</p>
|
||||
{% if button %}
|
||||
<div class="mt-10 flex items-center gap-x-6">
|
||||
<a href="{{ button_link }}" class="rounded-2xl bg-black px-3.5 py-2.5 text-sm font-semibold text-white shadow-xs hover:bg-gray-600 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-gray-200">
|
||||
{{ button_text }}
|
||||
</a>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
72
templates/shortcodes/left_header.html
Normal file
72
templates/shortcodes/left_header.html
Normal file
@@ -0,0 +1,72 @@
|
||||
<div class="lg:pt-24 pt-12 lg:max-w-7xl container mx-auto px-4 lg:px-0">
|
||||
<div class="mx-auto">
|
||||
<div class="mx-auto">
|
||||
<p class="text-base font-light tracking-wide">{{ subtitle }}</p>
|
||||
<h2 class="fade-in lg:text-5xl text-4xl font-normal tracking-tight">{{ title }}</h2>
|
||||
|
||||
<p class="mt-6 text-lg font-light">{{ description }}</p>
|
||||
<p class="mt-6 text-lg font-light">{{ description2 }}</p>
|
||||
</div>
|
||||
</div>
|
||||
<!-- <div class="mx-auto mt-10">
|
||||
<dl class="mx-auto grid grid-cols-1 gap-x-6 gap-y-10 text-base sm:grid-cols-2 lg:mx-0 lg:max-w-none lg:grid-cols-2 lg:gap-x-8 lg:gap-y-8">
|
||||
<div class="relative pl-9">
|
||||
<dt class="inline font-semibold ">
|
||||
|
||||
PRODUCTIVITY & COMMUNICATION
|
||||
</dt>
|
||||
<ul class="mx-4" style="list-style: circle;">
|
||||
<li>Secure remote work collaboration.</li>
|
||||
<li>Private file sharing between trusted nodes.</li>
|
||||
<li>Encrypted voice/video calls.</li>
|
||||
<li>Self-hosted messaging systems.</li>
|
||||
<li>Secure document collaboration.</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="relative pl-9">
|
||||
<dt class="inline font-semibold ">
|
||||
|
||||
INFRASTRUCTURE
|
||||
</dt>
|
||||
<ul class="mx-4" style="list-style: circle;">
|
||||
<li>Private cloud computing resources.</li>
|
||||
<li>Secure IoT device networks.</li>
|
||||
<li>Remote system administration.</li>
|
||||
<li>Virtual private networks (VPNs).</li>
|
||||
<li>Secure backup systems.</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="relative pl-9">
|
||||
<dt class="inline font-semibold ">
|
||||
|
||||
SERVICES
|
||||
</dt>
|
||||
<ul class="mx-4" style="list-style: circle;">
|
||||
<li>Self-hosted web services.</li>
|
||||
<li>Private file sharing between trusted nodes.</li>
|
||||
<li>Private DNS systems.</li>
|
||||
<li>Personal email servers.</li>
|
||||
<li>Secure document collaboration.</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="relative pl-9">
|
||||
<dt class="inline font-semibold ">
|
||||
|
||||
MEDIA & CONTENT
|
||||
</dt>
|
||||
<ul class="mx-4" style="list-style: circle;">
|
||||
<li>Private media streaming.</li>
|
||||
<li>Personal cloud storage.</li>
|
||||
<li>Protected content distribution.</li>
|
||||
<li>Secure game servers.</li>
|
||||
<li>Private git repositories.</li>
|
||||
</ul>
|
||||
</div>
|
||||
</dl>
|
||||
<hr class="my-6">
|
||||
|
||||
<div class="mx-auto mt-10 px-6 lg:px-0 lg:max-w-6xl">
|
||||
<a href="/download" class=" rounded-2xl bg-black px-6 py-2 text-sm font-semibold text-white shadow-xs hover:bg-gray-900 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-gray-200">Get Started</a>
|
||||
</div>
|
||||
</div> -->
|
||||
</div>
|
42
templates/shortcodes/text_left_img.html
Normal file
42
templates/shortcodes/text_left_img.html
Normal file
@@ -0,0 +1,42 @@
|
||||
{% set title = title | default(value="") %}
|
||||
{% set subheader = subheader | default(value="") %}
|
||||
{% set subtitle = subtitle | default(value="") %}
|
||||
{% set description = description | default(value="") %}
|
||||
{% set description_2 = description_2 | default(value="") %}
|
||||
{% set button_text = button_text | default(value="") %}
|
||||
{% set button_link = button_link | default(value="") %}
|
||||
{% set image_src = image_src | default(value="") %}
|
||||
{% set image_alt = image_alt | default(value="") %}
|
||||
|
||||
<div class="lg:py-24 py-12 fade-in bg-semi-white lg:max-w-7xl container mx-auto px-4">
|
||||
<div class="relative isolate">
|
||||
<div class="mx-auto mt-10 lg:mt-0 lg:flex lg:items-center lg:gap-x-15 ">
|
||||
<div class="lg:order-2 mt-6 lg:mt-0 lg:flex lg:justify-center lg:w-1/2">
|
||||
<img class="w-full max-w-md h-auto object-cover rounded-xl" src="{{ image_src }}"
|
||||
alt="{{ image_alt }}">
|
||||
</div>
|
||||
<div class="mx-auto max-w-xl lg:mx-6 lg:flex-auto">
|
||||
<p class="text-base mt-4 font-light tracking-wide">{{ subheader }}</p>
|
||||
<h2 class="fade-in lg:text-5xl text-4xl font-medium tracking-tight ">{{ title }}</h2>
|
||||
<h3 class="font-light lg:text-3xl text-xl">
|
||||
{{ subtitle }}
|
||||
</h3>
|
||||
<p class="text-left mt-4 text-pretty lg:text-lg text-md font-light fade-in">
|
||||
{{ description }}
|
||||
</p>
|
||||
<p class="text-left mt-4 text-pretty lg:text-lg text-md font-light fade-in">
|
||||
{{ description_2 }}
|
||||
</p>
|
||||
{% if button_link %}
|
||||
<div class="mt-6 flex">
|
||||
<a href="{{ button_link }}" class="rounded-2xl bg-black border border-white px-4 py-2 text-sm font-semibold text-white shadow hover:bg-gray-700 focus:outline focus:outline-2 focus:outline-offset-2 focus:outline-gray-300">{{ button_text }}</a>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
43
templates/shortcodes/text_right_img.html
Normal file
43
templates/shortcodes/text_right_img.html
Normal file
@@ -0,0 +1,43 @@
|
||||
{% set title = title | default(value="") %}
|
||||
{% set subheader = subheader | default(value="") %}
|
||||
{% set subtitle = subtitle | default(value="") %}
|
||||
{% set description = description | default(value="") %}
|
||||
{% set description_2 = description_2 | default(value="") %}
|
||||
{% set button_text = button_text | default(value="") %}
|
||||
{% set button_link = button_link | default(value="") %}
|
||||
{% set image_src = image_src | default(value="") %}
|
||||
{% set image_alt = image_alt | default(value="") %}
|
||||
|
||||
<div class="lg:py-24 py-12 fade-in bg-semi-white lg:max-w-7xl container mx-auto px-4">
|
||||
<div class="relative isolate">
|
||||
|
||||
<div class="mx-auto mt-10 lg:mt-0 lg:flex lg:items-center lg:gap-x-15 ">
|
||||
<div class="mt-6 lg:mt-0 lg:flex lg:justify-center lg:w-1/2">
|
||||
<img class="w-full max-w-md h-auto object-cover rounded-xl" src="{{ image_src }}"
|
||||
alt="{{ image_alt }}">
|
||||
</div>
|
||||
<div class="mx-auto max-w-xl lg:mx-6 lg:flex-auto">
|
||||
<p class="text-base font-light tracking-wide mt-4">{{ subheader }}</p>
|
||||
<h2 class="fade-in lg:text-5xl text-4xl font-medium tracking-tight ">{{ title }}</h2>
|
||||
<h3 class="font-light lg:text-3xl text-xl">
|
||||
{{ subtitle }}
|
||||
</h3>
|
||||
<p class="text-left mt-4 text-pretty lg:text-lg text-md font-light fade-in">
|
||||
{{ description }}
|
||||
</p>
|
||||
<p class="text-left mt-4 text-pretty lg:text-lg text-md font-light fade-in">
|
||||
{{ description_2 }}
|
||||
</p>
|
||||
{% if button_link %}
|
||||
<div class="mt-6 flex">
|
||||
<a href="{{ button_link }}" class="rounded-2xl bg-black border border-white px-4 py-2 text-sm font-semibold text-white shadow hover:bg-gray-700 focus:outline focus:outline-2 focus:outline-offset-2 focus:outline-gray-300">{{ button_text }}</a>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user