remove template go files from git
This commit is contained in:
parent
19a0334a92
commit
ce2644a1ac
|
@ -5,7 +5,7 @@ tmp_dir = "tmp"
|
||||||
[build]
|
[build]
|
||||||
args_bin = []
|
args_bin = []
|
||||||
bin = "./tmp/main"
|
bin = "./tmp/main"
|
||||||
cmd = "templ generate; go build -o ./tmp/main ."
|
cmd = "templ generate && go build -o ./tmp/main ."
|
||||||
delay = 1000
|
delay = 1000
|
||||||
exclude_dir = ["assets", "tmp", "vendor", "testdata", "dist"]
|
exclude_dir = ["assets", "tmp", "vendor", "testdata", "dist"]
|
||||||
exclude_file = []
|
exclude_file = []
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
dist/*
|
dist/*
|
||||||
tmp/*
|
tmp/*
|
||||||
|
**/*_templ.go
|
||||||
|
|
|
@ -0,0 +1,423 @@
|
||||||
|
package templates
|
||||||
|
|
||||||
|
templ Content() {
|
||||||
|
<main>
|
||||||
|
<div class="relative pt-16 pb-32 flex content-center items-center justify-center" style="min-height: 75vh;">
|
||||||
|
<div class="absolute top-0 w-full h-full bg-center bg-cover"
|
||||||
|
style='background-image: url("https://images.unsplash.com/photo-1557804506-669a67965ba0?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1267&q=80");'>
|
||||||
|
<span id="blackOverlay" class="w-full h-full absolute opacity-75 bg-black"></span>
|
||||||
|
</div>
|
||||||
|
<div class="container relative mx-auto">
|
||||||
|
<div class="items-center flex flex-wrap">
|
||||||
|
<div class="w-full lg:w-6/12 px-4 ml-auto mr-auto text-center">
|
||||||
|
<div class="pr-12">
|
||||||
|
<h1 class="text-white font-semibold text-5xl">
|
||||||
|
Your story starts with us.
|
||||||
|
</h1>
|
||||||
|
<p class="mt-4 text-lg text-gray-300">
|
||||||
|
This is a simple example of a Landing Page you can build using
|
||||||
|
Tailwind Starter Kit. It features multiple CSS components
|
||||||
|
based on the Tailwindcss design system.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="top-auto bottom-0 left-0 right-0 w-full absolute pointer-events-none overflow-hidden"
|
||||||
|
style="height: 70px;">
|
||||||
|
<svg class="absolute bottom-0 overflow-hidden" xmlns="http://www.w3.org/2000/svg"
|
||||||
|
preserveAspectRatio="none" version="1.1" viewBox="0 0 2560 100" x="0" y="0">
|
||||||
|
<polygon class="text-gray-300 fill-current" points="2560 0 2560 100 0 100"></polygon>
|
||||||
|
</svg>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<section class="pb-20 bg-gray-300 -mt-24">
|
||||||
|
<div class="container mx-auto px-4">
|
||||||
|
<div class="flex flex-wrap">
|
||||||
|
<div class="lg:pt-12 pt-6 w-full md:w-4/12 px-4 text-center">
|
||||||
|
<div
|
||||||
|
class="relative flex flex-col min-w-0 break-words bg-white w-full mb-8 shadow-lg rounded-lg">
|
||||||
|
<div class="px-4 py-5 flex-auto">
|
||||||
|
<div
|
||||||
|
class="text-white p-3 text-center inline-flex items-center justify-center w-12 h-12 mb-5 shadow-lg rounded-full bg-red-400">
|
||||||
|
<i class="fas fa-award"></i>
|
||||||
|
</div>
|
||||||
|
<h6 class="text-xl font-semibold">Awarded Agency</h6>
|
||||||
|
<p class="mt-2 mb-4 text-gray-600">
|
||||||
|
Divide details about your product or agency work into parts.
|
||||||
|
A paragraph describing a feature will be enough.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="w-full md:w-4/12 px-4 text-center">
|
||||||
|
<div
|
||||||
|
class="relative flex flex-col min-w-0 break-words bg-white w-full mb-8 shadow-lg rounded-lg">
|
||||||
|
<div class="px-4 py-5 flex-auto">
|
||||||
|
<div
|
||||||
|
class="text-white p-3 text-center inline-flex items-center justify-center w-12 h-12 mb-5 shadow-lg rounded-full bg-blue-400">
|
||||||
|
<i class="fas fa-retweet"></i>
|
||||||
|
</div>
|
||||||
|
<h6 class="text-xl font-semibold">Free Revisions</h6>
|
||||||
|
<p class="mt-2 mb-4 text-gray-600">
|
||||||
|
Keep you user engaged by providing meaningful information.
|
||||||
|
Remember that by this time, the user is curious.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="pt-6 w-full md:w-4/12 px-4 text-center">
|
||||||
|
<div
|
||||||
|
class="relative flex flex-col min-w-0 break-words bg-white w-full mb-8 shadow-lg rounded-lg">
|
||||||
|
<div class="px-4 py-5 flex-auto">
|
||||||
|
<div
|
||||||
|
class="text-white p-3 text-center inline-flex items-center justify-center w-12 h-12 mb-5 shadow-lg rounded-full bg-green-400">
|
||||||
|
<i class="fas fa-fingerprint"></i>
|
||||||
|
</div>
|
||||||
|
<h6 class="text-xl font-semibold">Verified Company</h6>
|
||||||
|
<p class="mt-2 mb-4 text-gray-600">
|
||||||
|
Write a few lines about each one. A paragraph describing a
|
||||||
|
feature will be enough. Keep you user engaged!
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="flex flex-wrap items-center mt-32">
|
||||||
|
<div class="w-full md:w-5/12 px-4 mr-auto ml-auto">
|
||||||
|
<div
|
||||||
|
class="text-gray-600 p-3 text-center inline-flex items-center justify-center w-16 h-16 mb-6 shadow-lg rounded-full bg-gray-100">
|
||||||
|
<i class="fas fa-user-friends text-xl"></i>
|
||||||
|
</div>
|
||||||
|
<h3 class="text-3xl mb-2 font-semibold leading-normal">
|
||||||
|
Working with us is a pleasure
|
||||||
|
</h3>
|
||||||
|
<p class="text-lg font-light leading-relaxed mt-4 mb-4 text-gray-700">
|
||||||
|
Don't let your uses guess by attaching tooltips and popoves to
|
||||||
|
any element. Just make sure you enable them first via
|
||||||
|
JavaScript.
|
||||||
|
</p>
|
||||||
|
<p class="text-lg font-light leading-relaxed mt-0 mb-4 text-gray-700">
|
||||||
|
The kit comes with three pre-built pages to help you get started
|
||||||
|
faster. You can change the text and images and you're good to
|
||||||
|
go. Just make sure you enable them first via JavaScript.
|
||||||
|
</p>
|
||||||
|
<a href="https://www.creative-tim.com/learning-lab/tailwind-starter-kit#/presentation"
|
||||||
|
class="font-bold text-gray-800 mt-8">Check Tailwind Starter Kit!</a>
|
||||||
|
</div>
|
||||||
|
<div class="w-full md:w-4/12 px-4 mr-auto ml-auto">
|
||||||
|
<div
|
||||||
|
class="relative flex flex-col min-w-0 break-words bg-white w-full mb-6 shadow-lg rounded-lg bg-pink-600">
|
||||||
|
<img alt="..."
|
||||||
|
src="https://images.unsplash.com/photo-1522202176988-66273c2fd55f?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1051&q=80"
|
||||||
|
class="w-full align-middle rounded-t-lg" />
|
||||||
|
<blockquote class="relative p-8 mb-4">
|
||||||
|
<svg preserveAspectRatio="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 583 95"
|
||||||
|
class="absolute left-0 w-full block" style="height: 95px; top: -94px;">
|
||||||
|
<polygon points="-30,95 583,95 583,65" class="text-pink-600 fill-current"></polygon>
|
||||||
|
</svg>
|
||||||
|
<h4 class="text-xl font-bold text-white">
|
||||||
|
Top Notch Services
|
||||||
|
</h4>
|
||||||
|
<p class="text-md font-light mt-2 text-white">
|
||||||
|
The Arctic Ocean freezes every winter and much of the
|
||||||
|
sea-ice then thaws every summer, and that process will
|
||||||
|
continue whatever happens.
|
||||||
|
</p>
|
||||||
|
</blockquote>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="relative py-20">
|
||||||
|
<div class="bottom-auto top-0 left-0 right-0 w-full absolute pointer-events-none overflow-hidden -mt-20"
|
||||||
|
style="height: 80px;">
|
||||||
|
<svg class="absolute bottom-0 overflow-hidden" xmlns="http://www.w3.org/2000/svg"
|
||||||
|
preserveAspectRatio="none" version="1.1" viewBox="0 0 2560 100" x="0" y="0">
|
||||||
|
<polygon class="text-white fill-current" points="2560 0 2560 100 0 100"></polygon>
|
||||||
|
</svg>
|
||||||
|
</div>
|
||||||
|
<div class="container mx-auto px-4">
|
||||||
|
<div class="items-center flex flex-wrap">
|
||||||
|
<div class="w-full md:w-4/12 ml-auto mr-auto px-4">
|
||||||
|
<img alt="..." class="max-w-full rounded-lg shadow-lg"
|
||||||
|
src="https://images.unsplash.com/photo-1555212697-194d092e3b8f?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=634&q=80" />
|
||||||
|
</div>
|
||||||
|
<div class="w-full md:w-5/12 ml-auto mr-auto px-4">
|
||||||
|
<div class="md:pr-12">
|
||||||
|
<div
|
||||||
|
class="text-pink-600 p-3 text-center inline-flex items-center justify-center w-16 h-16 mb-6 shadow-lg rounded-full bg-pink-300">
|
||||||
|
<i class="fas fa-rocket text-xl"></i>
|
||||||
|
</div>
|
||||||
|
<h3 class="text-3xl font-semibold">A growing company</h3>
|
||||||
|
<p class="mt-4 text-lg leading-relaxed text-gray-600">
|
||||||
|
The extension comes with three pre-built pages to help you get
|
||||||
|
started faster. You can change the text and images and you're
|
||||||
|
good to go.
|
||||||
|
</p>
|
||||||
|
<ul class="list-none mt-6">
|
||||||
|
<li class="py-2">
|
||||||
|
<div class="flex items-center">
|
||||||
|
<div>
|
||||||
|
<span
|
||||||
|
class="text-xs font-semibold inline-block py-1 px-2 uppercase rounded-full text-pink-600 bg-pink-200 mr-3"><i
|
||||||
|
class="fas fa-fingerprint"></i></span>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<h4 class="text-gray-600">
|
||||||
|
Carefully crafted components
|
||||||
|
</h4>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
<li class="py-2">
|
||||||
|
<div class="flex items-center">
|
||||||
|
<div>
|
||||||
|
<span
|
||||||
|
class="text-xs font-semibold inline-block py-1 px-2 uppercase rounded-full text-pink-600 bg-pink-200 mr-3"><i
|
||||||
|
class="fab fa-html5"></i></span>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<h4 class="text-gray-600">Amazing page examples</h4>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
<li class="py-2">
|
||||||
|
<div class="flex items-center">
|
||||||
|
<div>
|
||||||
|
<span
|
||||||
|
class="text-xs font-semibold inline-block py-1 px-2 uppercase rounded-full text-pink-600 bg-pink-200 mr-3"><i
|
||||||
|
class="far fa-paper-plane"></i></span>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<h4 class="text-gray-600">Dynamic components</h4>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="pt-20 pb-48">
|
||||||
|
<div class="container mx-auto px-4">
|
||||||
|
<div class="flex flex-wrap justify-center text-center mb-24">
|
||||||
|
<div class="w-full lg:w-6/12 px-4">
|
||||||
|
<h2 class="text-4xl font-semibold">Here are our heroes</h2>
|
||||||
|
<p class="text-lg leading-relaxed m-4 text-gray-600">
|
||||||
|
According to the National Oceanic and Atmospheric
|
||||||
|
Administration, Ted, Scambos, NSIDClead scentist, puts the
|
||||||
|
potentially record maximum.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="flex flex-wrap">
|
||||||
|
<div class="w-full md:w-6/12 lg:w-3/12 lg:mb-0 mb-12 px-4">
|
||||||
|
<div class="px-6">
|
||||||
|
<img alt="..." src="./assets/img/team-1-800x800.jpg"
|
||||||
|
class="shadow-lg rounded-full max-w-full mx-auto" style="max-width: 120px;" />
|
||||||
|
<div class="pt-6 text-center">
|
||||||
|
<h5 class="text-xl font-bold">Ryan Tompson</h5>
|
||||||
|
<p class="mt-1 text-sm text-gray-500 uppercase font-semibold">
|
||||||
|
Web Developer
|
||||||
|
</p>
|
||||||
|
<div class="mt-6">
|
||||||
|
<button
|
||||||
|
class="bg-blue-400 text-white w-8 h-8 rounded-full outline-none focus:outline-none mr-1 mb-1"
|
||||||
|
type="button">
|
||||||
|
<i class="fab fa-twitter"></i></button><button
|
||||||
|
class="bg-blue-600 text-white w-8 h-8 rounded-full outline-none focus:outline-none mr-1 mb-1"
|
||||||
|
type="button">
|
||||||
|
<i class="fab fa-facebook-f"></i></button><button
|
||||||
|
class="bg-pink-500 text-white w-8 h-8 rounded-full outline-none focus:outline-none mr-1 mb-1"
|
||||||
|
type="button">
|
||||||
|
<i class="fab fa-dribbble"></i>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="w-full md:w-6/12 lg:w-3/12 lg:mb-0 mb-12 px-4">
|
||||||
|
<div class="px-6">
|
||||||
|
<img alt="..." src="./assets/img/team-2-800x800.jpg"
|
||||||
|
class="shadow-lg rounded-full max-w-full mx-auto" style="max-width: 120px;" />
|
||||||
|
<div class="pt-6 text-center">
|
||||||
|
<h5 class="text-xl font-bold">Romina Hadid</h5>
|
||||||
|
<p class="mt-1 text-sm text-gray-500 uppercase font-semibold">
|
||||||
|
Marketing Specialist
|
||||||
|
</p>
|
||||||
|
<div class="mt-6">
|
||||||
|
<button
|
||||||
|
class="bg-red-600 text-white w-8 h-8 rounded-full outline-none focus:outline-none mr-1 mb-1"
|
||||||
|
type="button">
|
||||||
|
<i class="fab fa-google"></i></button><button
|
||||||
|
class="bg-blue-600 text-white w-8 h-8 rounded-full outline-none focus:outline-none mr-1 mb-1"
|
||||||
|
type="button">
|
||||||
|
<i class="fab fa-facebook-f"></i>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="w-full md:w-6/12 lg:w-3/12 lg:mb-0 mb-12 px-4">
|
||||||
|
<div class="px-6">
|
||||||
|
<img alt="..." src="./assets/img/team-3-800x800.jpg"
|
||||||
|
class="shadow-lg rounded-full max-w-full mx-auto" style="max-width: 120px;" />
|
||||||
|
<div class="pt-6 text-center">
|
||||||
|
<h5 class="text-xl font-bold">Alexa Smith</h5>
|
||||||
|
<p class="mt-1 text-sm text-gray-500 uppercase font-semibold">
|
||||||
|
UI/UX Designer
|
||||||
|
</p>
|
||||||
|
<div class="mt-6">
|
||||||
|
<button
|
||||||
|
class="bg-red-600 text-white w-8 h-8 rounded-full outline-none focus:outline-none mr-1 mb-1"
|
||||||
|
type="button">
|
||||||
|
<i class="fab fa-google"></i></button><button
|
||||||
|
class="bg-blue-400 text-white w-8 h-8 rounded-full outline-none focus:outline-none mr-1 mb-1"
|
||||||
|
type="button">
|
||||||
|
<i class="fab fa-twitter"></i></button><button
|
||||||
|
class="bg-gray-800 text-white w-8 h-8 rounded-full outline-none focus:outline-none mr-1 mb-1"
|
||||||
|
type="button">
|
||||||
|
<i class="fab fa-instagram"></i>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="w-full md:w-6/12 lg:w-3/12 lg:mb-0 mb-12 px-4">
|
||||||
|
<div class="px-6">
|
||||||
|
<img alt="..." src="./assets/img/team-4-470x470.png"
|
||||||
|
class="shadow-lg rounded-full max-w-full mx-auto" style="max-width: 120px;" />
|
||||||
|
<div class="pt-6 text-center">
|
||||||
|
<h5 class="text-xl font-bold">Jenna Kardi</h5>
|
||||||
|
<p class="mt-1 text-sm text-gray-500 uppercase font-semibold">
|
||||||
|
Founder and CEO
|
||||||
|
</p>
|
||||||
|
<div class="mt-6">
|
||||||
|
<button
|
||||||
|
class="bg-pink-500 text-white w-8 h-8 rounded-full outline-none focus:outline-none mr-1 mb-1"
|
||||||
|
type="button">
|
||||||
|
<i class="fab fa-dribbble"></i></button><button
|
||||||
|
class="bg-red-600 text-white w-8 h-8 rounded-full outline-none focus:outline-none mr-1 mb-1"
|
||||||
|
type="button">
|
||||||
|
<i class="fab fa-google"></i></button><button
|
||||||
|
class="bg-blue-400 text-white w-8 h-8 rounded-full outline-none focus:outline-none mr-1 mb-1"
|
||||||
|
type="button">
|
||||||
|
<i class="fab fa-twitter"></i></button><button
|
||||||
|
class="bg-gray-800 text-white w-8 h-8 rounded-full outline-none focus:outline-none mr-1 mb-1"
|
||||||
|
type="button">
|
||||||
|
<i class="fab fa-instagram"></i>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="pb-20 relative block bg-gray-900">
|
||||||
|
<div class="bottom-auto top-0 left-0 right-0 w-full absolute pointer-events-none overflow-hidden -mt-20"
|
||||||
|
style="height: 80px;">
|
||||||
|
<svg class="absolute bottom-0 overflow-hidden" xmlns="http://www.w3.org/2000/svg"
|
||||||
|
preserveAspectRatio="none" version="1.1" viewBox="0 0 2560 100" x="0" y="0">
|
||||||
|
<polygon class="text-gray-900 fill-current" points="2560 0 2560 100 0 100"></polygon>
|
||||||
|
</svg>
|
||||||
|
</div>
|
||||||
|
<div class="container mx-auto px-4 lg:pt-24 lg:pb-64">
|
||||||
|
<div class="flex flex-wrap text-center justify-center">
|
||||||
|
<div class="w-full lg:w-6/12 px-4">
|
||||||
|
<h2 class="text-4xl font-semibold text-white">Build something</h2>
|
||||||
|
<p class="text-lg leading-relaxed mt-4 mb-4 text-gray-500">
|
||||||
|
Put the potentially record low maximum sea ice extent tihs year
|
||||||
|
down to low ice. According to the National Oceanic and
|
||||||
|
Atmospheric Administration, Ted, Scambos.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="flex flex-wrap mt-12 justify-center">
|
||||||
|
<div class="w-full lg:w-3/12 px-4 text-center">
|
||||||
|
<div
|
||||||
|
class="text-gray-900 p-3 w-12 h-12 shadow-lg rounded-full bg-white inline-flex items-center justify-center">
|
||||||
|
<i class="fas fa-medal text-xl"></i>
|
||||||
|
</div>
|
||||||
|
<h6 class="text-xl mt-5 font-semibold text-white">
|
||||||
|
Excelent Services
|
||||||
|
</h6>
|
||||||
|
<p class="mt-2 mb-4 text-gray-500">
|
||||||
|
Some quick example text to build on the card title and make up
|
||||||
|
the bulk of the card's content.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
<div class="w-full lg:w-3/12 px-4 text-center">
|
||||||
|
<div
|
||||||
|
class="text-gray-900 p-3 w-12 h-12 shadow-lg rounded-full bg-white inline-flex items-center justify-center">
|
||||||
|
<i class="fas fa-poll text-xl"></i>
|
||||||
|
</div>
|
||||||
|
<h5 class="text-xl mt-5 font-semibold text-white">
|
||||||
|
Grow your market
|
||||||
|
</h5>
|
||||||
|
<p class="mt-2 mb-4 text-gray-500">
|
||||||
|
Some quick example text to build on the card title and make up
|
||||||
|
the bulk of the card's content.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
<div class="w-full lg:w-3/12 px-4 text-center">
|
||||||
|
<div
|
||||||
|
class="text-gray-900 p-3 w-12 h-12 shadow-lg rounded-full bg-white inline-flex items-center justify-center">
|
||||||
|
<i class="fas fa-lightbulb text-xl"></i>
|
||||||
|
</div>
|
||||||
|
<h5 class="text-xl mt-5 font-semibold text-white">Launch time</h5>
|
||||||
|
<p class="mt-2 mb-4 text-gray-500">
|
||||||
|
Some quick example text to build on the card title and make up
|
||||||
|
the bulk of the card's content.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="relative block py-24 lg:pt-0 bg-gray-900">
|
||||||
|
<div class="container mx-auto px-4">
|
||||||
|
<div class="flex flex-wrap justify-center lg:-mt-64 -mt-48">
|
||||||
|
<div class="w-full lg:w-6/12 px-4">
|
||||||
|
<div
|
||||||
|
class="relative flex flex-col min-w-0 break-words w-full mb-6 shadow-lg rounded-lg bg-gray-300">
|
||||||
|
<div class="flex-auto p-5 lg:p-10">
|
||||||
|
<h4 class="text-2xl font-semibold">Want to work with us?</h4>
|
||||||
|
<p class="leading-relaxed mt-1 mb-4 text-gray-600">
|
||||||
|
Complete this form and we will get back to you in 24 hours.
|
||||||
|
</p>
|
||||||
|
<div class="relative w-full mb-3 mt-8">
|
||||||
|
<label class="block uppercase text-gray-700 text-xs font-bold mb-2"
|
||||||
|
for="full-name">Full Name</label><input type="text"
|
||||||
|
class="border-0 px-3 py-3 placeholder-gray-400 text-gray-700 bg-white rounded text-sm shadow focus:outline-none focus:ring w-full"
|
||||||
|
placeholder="Full Name" style="transition: all 0.15s ease 0s;" />
|
||||||
|
</div>
|
||||||
|
<div class="relative w-full mb-3">
|
||||||
|
<label class="block uppercase text-gray-700 text-xs font-bold mb-2"
|
||||||
|
for="email">Email</label><input type="email"
|
||||||
|
class="border-0 px-3 py-3 placeholder-gray-400 text-gray-700 bg-white rounded text-sm shadow focus:outline-none focus:ring w-full"
|
||||||
|
placeholder="Email" style="transition: all 0.15s ease 0s;" />
|
||||||
|
</div>
|
||||||
|
<div class="relative w-full mb-3">
|
||||||
|
<label class="block uppercase text-gray-700 text-xs font-bold mb-2"
|
||||||
|
for="message">Message</label><textarea rows="4" cols="80"
|
||||||
|
class="border-0 px-3 py-3 placeholder-gray-400 text-gray-700 bg-white rounded text-sm shadow focus:outline-none focus:ring w-full"
|
||||||
|
placeholder="Type a message..."></textarea>
|
||||||
|
</div>
|
||||||
|
<div class="text-center mt-6">
|
||||||
|
<button
|
||||||
|
class="bg-gray-900 text-white active:bg-gray-700 text-sm font-bold uppercase px-6 py-3 rounded shadow hover:shadow-lg outline-none focus:outline-none mr-1 mb-1"
|
||||||
|
type="button" style="transition: all 0.15s ease 0s;">
|
||||||
|
Send Message
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</main>
|
||||||
|
}
|
|
@ -1,5 +1,41 @@
|
||||||
package templates
|
package templates
|
||||||
|
|
||||||
templ Hello(name string) {
|
//Head for scripts and such
|
||||||
<div>Hello, { name }</div>
|
|
||||||
|
templ Head() {
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8"/>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||||
|
<meta name="theme-color" content="#000000"/>
|
||||||
|
<link rel="shortcut icon" href="./assets/img/favicon.ico"/>
|
||||||
|
<link
|
||||||
|
rel="apple-touch-icon"
|
||||||
|
sizes="76x76"
|
||||||
|
href="./assets/img/apple-icon.png"
|
||||||
|
/>
|
||||||
|
<link
|
||||||
|
rel="stylesheet"
|
||||||
|
href="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.9.4/Chart.min.css"
|
||||||
|
/>
|
||||||
|
<link
|
||||||
|
rel="stylesheet"
|
||||||
|
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css"
|
||||||
|
/>
|
||||||
|
<link
|
||||||
|
rel="stylesheet"
|
||||||
|
href="https://cdn.jsdelivr.net/gh/creativetimofficial/tailwind-starter-kit/compiled-tailwind.min.css"
|
||||||
|
/>
|
||||||
|
<title>Dashboard | Capstone - Pbaxt10</title>
|
||||||
|
</head>
|
||||||
|
}
|
||||||
|
|
||||||
|
templ Hello(name string) {
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
@Head()
|
||||||
|
<body class="text-gray-800 antialiased">
|
||||||
|
@Nav()
|
||||||
|
@Content()
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,48 +0,0 @@
|
||||||
// Code generated by templ@v0.2.408 DO NOT EDIT.
|
|
||||||
|
|
||||||
package templates
|
|
||||||
|
|
||||||
//lint:file-ignore SA4006 This context is only used if a nested component is present.
|
|
||||||
|
|
||||||
import "github.com/a-h/templ"
|
|
||||||
import "context"
|
|
||||||
import "io"
|
|
||||||
import "bytes"
|
|
||||||
|
|
||||||
func Hello(name string) templ.Component {
|
|
||||||
return templ.ComponentFunc(func(templ_7745c5c3_Ctx context.Context, templ_7745c5c3_W io.Writer) (templ_7745c5c3_Err error) {
|
|
||||||
templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templ_7745c5c3_W.(*bytes.Buffer)
|
|
||||||
if !templ_7745c5c3_IsBuffer {
|
|
||||||
templ_7745c5c3_Buffer = templ.GetBuffer()
|
|
||||||
defer templ.ReleaseBuffer(templ_7745c5c3_Buffer)
|
|
||||||
}
|
|
||||||
templ_7745c5c3_Ctx = templ.InitializeContext(templ_7745c5c3_Ctx)
|
|
||||||
templ_7745c5c3_Var1 := templ.GetChildren(templ_7745c5c3_Ctx)
|
|
||||||
if templ_7745c5c3_Var1 == nil {
|
|
||||||
templ_7745c5c3_Var1 = templ.NopComponent
|
|
||||||
}
|
|
||||||
templ_7745c5c3_Ctx = templ.ClearChildren(templ_7745c5c3_Ctx)
|
|
||||||
_, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("<div>")
|
|
||||||
if templ_7745c5c3_Err != nil {
|
|
||||||
return templ_7745c5c3_Err
|
|
||||||
}
|
|
||||||
templ_7745c5c3_Var2 := `Hello, `
|
|
||||||
_, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var2)
|
|
||||||
if templ_7745c5c3_Err != nil {
|
|
||||||
return templ_7745c5c3_Err
|
|
||||||
}
|
|
||||||
var templ_7745c5c3_Var3 string = name
|
|
||||||
_, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var3))
|
|
||||||
if templ_7745c5c3_Err != nil {
|
|
||||||
return templ_7745c5c3_Err
|
|
||||||
}
|
|
||||||
_, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("</div>")
|
|
||||||
if templ_7745c5c3_Err != nil {
|
|
||||||
return templ_7745c5c3_Err
|
|
||||||
}
|
|
||||||
if !templ_7745c5c3_IsBuffer {
|
|
||||||
_, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteTo(templ_7745c5c3_W)
|
|
||||||
}
|
|
||||||
return templ_7745c5c3_Err
|
|
||||||
})
|
|
||||||
}
|
|
|
@ -0,0 +1,88 @@
|
||||||
|
package templates
|
||||||
|
|
||||||
|
templ Nav() {
|
||||||
|
<nav class="top-0 absolute z-50 w-full flex flex-wrap items-center justify-between px-2 py-3 ">
|
||||||
|
<div class="container px-4 mx-auto flex flex-wrap items-center justify-between">
|
||||||
|
<div class="w-full relative flex justify-between lg:w-auto lg:static lg:block lg:justify-start">
|
||||||
|
<a
|
||||||
|
class="text-sm font-bold leading-relaxed inline-block mr-4 py-2 whitespace-nowrap uppercase text-white"
|
||||||
|
href="/"
|
||||||
|
>
|
||||||
|
Capstone - Pbaxt10
|
||||||
|
</a>
|
||||||
|
<button
|
||||||
|
class="cursor-pointer text-xl leading-none px-3 py-1 border border-solid border-transparent rounded bg-transparent block lg:hidden outline-none focus:outline-none"
|
||||||
|
type="button"
|
||||||
|
onclick="toggleNavbar('example-collapse-navbar')"
|
||||||
|
>
|
||||||
|
<i class="text-white fas fa-bars"></i>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
<div
|
||||||
|
class="lg:flex flex-grow items-center bg-white lg:bg-transparent lg:shadow-none hidden"
|
||||||
|
id="example-collapse-navbar"
|
||||||
|
>
|
||||||
|
<ul class="flex flex-col lg:flex-row list-none mr-auto">
|
||||||
|
<li class="flex items-center">
|
||||||
|
<a
|
||||||
|
class="lg:text-white lg:hover:text-gray-300 text-gray-800 px-3 py-4 lg:py-2 flex items-center text-xs uppercase font-bold"
|
||||||
|
href="https://www.creative-tim.com/learning-lab/tailwind-starter-kit#/landing"
|
||||||
|
>
|
||||||
|
<i
|
||||||
|
class="lg:text-gray-300 text-gray-500 far fa-file-alt text-lg leading-lg mr-2"
|
||||||
|
></i>
|
||||||
|
Docs
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
<ul class="flex flex-col lg:flex-row list-none lg:ml-auto">
|
||||||
|
<li class="flex items-center">
|
||||||
|
<a
|
||||||
|
class="lg:text-white lg:hover:text-gray-300 text-gray-800 px-3 py-4 lg:py-2 flex items-center text-xs uppercase font-bold"
|
||||||
|
href="#pablo"
|
||||||
|
>
|
||||||
|
<i
|
||||||
|
class="lg:text-gray-300 text-gray-500 fab fa-facebook text-lg leading-lg "
|
||||||
|
></i><span
|
||||||
|
class="lg:hidden inline-block ml-2"
|
||||||
|
>Share</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li class="flex items-center">
|
||||||
|
<a
|
||||||
|
class="lg:text-white lg:hover:text-gray-300 text-gray-800 px-3 py-4 lg:py-2 flex items-center text-xs uppercase font-bold"
|
||||||
|
href="#pablo"
|
||||||
|
>
|
||||||
|
<i
|
||||||
|
class="lg:text-gray-300 text-gray-500 fab fa-twitter text-lg leading-lg "
|
||||||
|
></i><span
|
||||||
|
class="lg:hidden inline-block ml-2"
|
||||||
|
>Tweet</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li class="flex items-center">
|
||||||
|
<a
|
||||||
|
class="lg:text-white lg:hover:text-gray-300 text-gray-800 px-3 py-4 lg:py-2 flex items-center text-xs uppercase font-bold"
|
||||||
|
href="#pablo"
|
||||||
|
>
|
||||||
|
<i
|
||||||
|
class="lg:text-gray-300 text-gray-500 fab fa-github text-lg leading-lg "
|
||||||
|
></i><span
|
||||||
|
class="lg:hidden inline-block ml-2"
|
||||||
|
>Star</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li class="flex items-center">
|
||||||
|
<button
|
||||||
|
class="bg-white text-gray-800 active:bg-gray-100 text-xs font-bold uppercase px-4 py-2 rounded shadow hover:shadow-md outline-none focus:outline-none lg:mr-1 lg:mb-0 ml-3 mb-3"
|
||||||
|
type="button"
|
||||||
|
style="transition: all 0.15s ease 0s;"
|
||||||
|
>
|
||||||
|
<i class="fas fa-arrow-alt-circle-down"></i> Download
|
||||||
|
</button>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</nav>
|
||||||
|
}
|
|
@ -0,0 +1,8 @@
|
||||||
|
package templates
|
||||||
|
|
||||||
|
script toggleNavBar() {
|
||||||
|
function toggleNavbar(collapseID) {
|
||||||
|
document.getElementById(collapseID).classList.toggle("hidden");
|
||||||
|
document.getElementById(collapseID).classList.toggle("block");
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue