Add and update a lot of templates

This commit is contained in:
prototypa
2022-08-13 02:28:49 -04:00
parent 08f7f4e7ac
commit 3c697b2a70
19 changed files with 672 additions and 387 deletions

View File

@ -0,0 +1,68 @@
---
import Picture from "~/components/astro/utils/Picture.astro";
const { } = Astro.props;
---
<section class="px-4 py-16 mx-auto max-w-6xl lg:py-20">
<div class="flex flex-col mb-6 lg:justify-between lg:flex-row md:mb-8">
<h2 class="max-w-lg mb-2 font-sans text-3xl font-bold tracking-tight sm:text-4xl sm:leading-none lg:mb-5 group">
<span class="inline-block mb-1 sm:mb-4">Find out more content<br class="hidden md:block"> in our Blog</span>
</h2>
<p class="text-gray-700 dark:text-slate-400 lg:text-sm lg:max-w-md">
The blog will be used to display AstroWind documentation. Each new article will be an important step that you will
need to know to be an expert in creating a website using Astro + Tailwind CSS The blog does not exist yet, but
very soon. Astro is a very interesting technology. Thanks.
</p>
</div>
<div class="grid gap-6 row-gap-5 md:grid-cols-2 lg:grid-cols-4 -mb-6">
<div class="mb-6">
<Picture src={import("~/assets/images/post-2.jpg")}
class="object-cover w-full h-64 mb-6 rounded shadow-lg bg-gray-400 dark:bg-slate-700" widths={[400, 768]}
sizes="(max-width: 767px) 400px, 768px" alt="Post 2 Image" aspectRatio="16:9" />
<h3 class="mb-2 text-xl font-bold leading-none sm:text-2xl">
Get started with AstroWind
</h3>
<p class="text-gray-700 dark:text-gray-400">
I'll be sure to note that in my log. Smooth as an android's bottom, eh, Data? When has justice ever been as
simple as a rule book?
</p>
</div>
<div class="mb-6">
<Picture src={import("~/assets/images/post-1.jpg")}
class="object-cover w-full h-64 mb-6 rounded shadow-lg bg-gray-400 dark:bg-slate-700" widths={[400, 768]}
sizes="(max-width: 767px) 400px, 768px" alt="Post 1 Image" aspectRatio="16:9" />
<h3 class="mb-2 text-xl font-bold leading-none sm:text-2xl">
How to customize the template
</h3>
<p class="text-gray-700 dark:text-gray-400">
O for awesome, this chocka full cuzzie is as rip-off as a cracker. Meanwhile, in behind the bicycle shed,
Hercules Morse.
</p>
</div>
<div class="mb-6">
<Picture src={import("~/assets/images/post-3.jpg")}
class="object-cover w-full h-64 mb-6 rounded shadow-lg bg-gray-400 dark:bg-slate-700" widths={[400, 768]}
sizes="(max-width: 767px) 400px, 768px" alt="Post 3 Image" aspectRatio="16:9" />
<h3 class="mb-2 text-xl font-bold leading-none sm:text-2xl">
Helpful tools and resources to design
</h3>
<p class="text-gray-700 dark:text-gray-400">
Yolo ipsum dolor sit amet, consectetur adipiscing elit. Ut ac suscipit leo. Carpe diem vulputate est nec
commodo rutrum.
</p>
</div>
<div class="mb-6">
<Picture src={import("~/assets/images/hero.jpg")}
class="object-cover w-full h-64 mb-6 rounded shadow-lg bg-gray-400 dark:bg-slate-700" widths={[400, 768]}
sizes="(max-width: 767px) 400px, 768px" alt="Post 2 Image" aspectRatio="16:9" />
<h3 class="mb-2 text-xl font-bold leading-none sm:text-2xl">
AstroWind template in depth
</h3>
<p class="text-gray-700 dark:text-gray-400">
I'll be sure to note that in my log. Smooth as an android's bottom, eh, Data? When has justice ever been as
simple as a rule book?
</p>
</div>
</div>
</section>

View File

@ -1,20 +1,21 @@
--- ---
const {} = Astro.props; const { } = Astro.props;
--- ---
<section class="relative"> <section class="relative">
<div class="max-w-6xl mx-auto px-4 sm:px-6"> <div class="max-w-6xl mx-auto px-4 sm:px-6">
<div class="py-12 md:py-20"> <div class="py-12 md:py-20">
<div class="max-w-3xl mx-auto text-center pb-12"> <div class="max-w-3xl mx-auto text-center p-6 rounded-md shadow-xl dark:shadow-none">
<h2 <h2 class="text-4xl md:text-5xl font-bold leading-tighter tracking-tighter mb-4">
class="text-4xl md:text-5xl font-bold leading-tighter tracking-tighter mb-4" <span>Astro</span> + <span class="whitespace-nowrap">Tailwind CSS</span>
>
Astro + Tailwind CSS
</h2> </h2>
<p class="text-xl text-gray-600 dark:text-slate-400"> <p class="text-xl text-gray-600 dark:text-slate-400">
Arcu cursus vitae congue mauris rhoncus viverra nibh cras pulvinar Be very surprised by these huge fake numbers you are seeing on this page. <br />Don't waste more time! :P
mattis blandit libero cursus mattis.
</p> </p>
<div class="mt-6"><a class="btn text-white bg-blue-600 hover:bg-blue-800 sm:mb-0"
href="https://github.com/onwidget/astrowind" target="_blank" rel="noopener">Get template
</a></div>
</div> </div>
</div> </div>
</div> </div>

View File

@ -0,0 +1,83 @@
---
---
<div class="px-4 py-16 mx-auto max-w-6xl lg:py-20">
<div class="max-w-xl sm:mx-auto lg:max-w-2xl">
<div class="max-w-xl mb-10 md:mx-auto sm:text-center lg:max-w-2xl md:mb-12">
<h2 class="max-w-lg mb-4 font-sans text-3xl font-bold leading-none tracking-tight sm:text-4xl md:mx-auto">
Frequently Asked Questions
</h2>
</div>
</div>
<div class="max-w-screen-xl sm:mx-auto">
<div class="grid grid-cols-1 gap-8 lg:gap-16 row-gap-8 md:grid-cols-2">
<div class="space-y-8">
<div>
<p class="mb-4 text-xl font-bold">
What do I need to start?
</p>
<p class="text-gray-700 dark:text-gray-400 mb-2">
Space, the final frontier. These are the voyages of the Starship Enterprise. Its five-year mission: to
explore strange new worlds.
</p>
<p class="text-gray-700 dark:text-gray-400 mb-2">
Many say exploration is part of our destiny, but its actually our duty to future generations.
</p>
</div>
<div>
<p class="mb-4 text-xl font-bold">
How to install the Astro + Tailwind CSS template?
</p>
<p class="text-gray-700 dark:text-gray-400 mb-2">
Well, the way they make shows is, they make one show. That show's called a pilot.
</p>
<p class="text-gray-700 dark:text-gray-400 mb-2">
Then they show that show to the people who make shows, and on the strength of that one show they decide if
they're going to make more shows. Some pilots get picked and become television programs.Some don't, become
nothing. She
starred in one of the ones that became nothing.
</p>
</div>
<div>
<p class="mb-4 text-xl font-bold">Is the Space Pope reptilian!?</p>
<p class="text-gray-700 dark:text-gray-400 mb-2">
A flower in my garden, a mystery in my panties. Heart attack never stopped old Big Bear. I didn't even know
we were calling him Big Bear.
</p>
</div>
</div>
<div class="space-y-8">
<div>
<p class="mb-4 text-xl font-bold">How much money you got on you?</p>
<p class="text-gray-700 dark:text-gray-400 mb-2">
Michael Knight a young loner on a crusade to champion the cause of the innocent. The helpless. The powerless
in a world of criminals who operate above the law. Here he comes Here comes Speed Racer. He's a demon on
wheels.
</p>
</div>
<div>
<p class="mb-4 text-xl font-bold">
Galaxies Orion's sword globular star cluster?
</p>
<p class="text-gray-700 dark:text-gray-400 mb-2">
A business big enough that it could be listed on the NASDAQ goes belly up. Disappears!</p>
<p class="text-gray-700 dark:text-gray-400 mb-2">
It ceases to exist without me. No, you clearly don't know who you're talking to, so let me clue you in.
</p>
</div>
<div>
<p class="mb-4 text-xl font-bold">
When has justice ever been as simple as a rule book?
</p>
<p class="text-gray-700 dark:text-gray-400 mb-2">
This is not about revenge. This is about justice. A lot of things can change in twelve years, Admiral. Well,
that's certainly good to know. About four years. I got tired of hearing how young I looked.
</p>
</div>
</div>
</div>
</div>
</div>

View File

@ -1,58 +1,33 @@
--- ---
const {} = Astro.props; const { } = Astro.props;
--- ---
<section class="relative"> <section class="relative">
<div <div class="absolute inset-0 bg-blue-50 dark:bg-slate-800 pointer-events-none mb-32" aria-hidden="true">
class="absolute inset-0 bg-blue-50 dark:bg-slate-800 pointer-events-none mb-32"
aria-hidden="true"
>
</div> </div>
<div class="relative max-w-6xl mx-auto px-4 sm:px-6"> <div class="relative max-w-6xl mx-auto px-4 sm:px-6">
<div class="py-4 pt-8 sm:py-6 lg:py-8 lg:pt-12"> <div class="py-4 pt-8 sm:py-6 lg:py-8 lg:pt-12">
<div class="mb-8 text-center"> <div class="mb-8 text-center">
<p <p class="text-base text-blue-600 dark:text-blue-200 font-semibold tracking-wide uppercase">
class="text-base text-blue-600 dark:text-blue-200 font-semibold tracking-wide uppercase" Components
>
Features
</p> </p>
<h2 <h2 class="text-4xl md:text-5xl font-bold leading-tighter tracking-tighter mb-4">
class="text-4xl md:text-5xl font-bold leading-tighter tracking-tighter mb-4" Most used widgets
> </h2>
Most used Sections <p class="max-w-3xl mx-auto text-center text-xl text-gray-600 dark:text-slate-400">
</h2><p Provides frequently used components for building websites using Tailwind CSS
class="max-w-3xl mx-auto text-center text-xl text-gray-600 dark:text-slate-400"
>
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum
dolore eu fugiat nulla pariatur excepteur sint occaecat cupidatat.
</p> </p>
</div> </div>
<div class="grid gap-6 md:grid-cols-2 lg:grid-cols-3 items-start my-12 dark:text-white">
<div <div
class="grid gap-6 md:grid-cols-2 lg:grid-cols-3 items-start my-12 dark:text-white" class="relative flex flex-col p-6 bg-white dark:bg-slate-900 rounded shadow-xl dark:border dark:border-slate-800">
>
<div
class="relative flex flex-col p-6 bg-white dark:bg-slate-900 rounded shadow-xl dark:border dark:border-slate-800"
>
<div class="flex items-center mb-4"> <div class="flex items-center mb-4">
<svg <svg class="w-12 h-12 p-1" viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg">
class="w-12 h-12 p-1"
viewBox="0 0 64 64"
xmlns="http://www.w3.org/2000/svg"
>
<g fill="none" fill-rule="evenodd"> <g fill="none" fill-rule="evenodd">
<rect <rect class="fill-current text-blue-600" width="64" height="64" rx="32"></rect>
class="fill-current text-blue-600"
width="64"
height="64"
rx="32"></rect>
<g stroke-linecap="square" stroke-width="2"> <g stroke-linecap="square" stroke-width="2">
<path <path class="stroke-current text-white" d="M20.571 20.571h13.714v17.143H20.571z"></path>
class="stroke-current text-white" <path class="stroke-current text-blue-300" d="M38.858 26.993l6.397 1.73-4.473 16.549-13.24-3.58">
d="M20.571 20.571h13.714v17.143H20.571z"></path>
<path
class="stroke-current text-blue-300"
d="M38.858 26.993l6.397 1.73-4.473 16.549-13.24-3.58"
>
</path> </path>
</g> </g>
</g> </g>
@ -65,28 +40,14 @@ const {} = Astro.props;
</p> </p>
</div> </div>
<div <div
class="relative flex flex-col p-6 bg-white dark:bg-slate-900 rounded shadow-xl dark:border dark:border-slate-800" class="relative flex flex-col p-6 bg-white dark:bg-slate-900 rounded shadow-xl dark:border dark:border-slate-800">
>
<div class="flex items-center mb-4"> <div class="flex items-center mb-4">
<svg <svg class="w-12 h-12 p-1" viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg">
class="w-12 h-12 p-1"
viewBox="0 0 64 64"
xmlns="http://www.w3.org/2000/svg"
>
<g fill="none" fill-rule="evenodd"> <g fill="none" fill-rule="evenodd">
<rect <rect class="fill-current text-blue-600" width="64" height="64" rx="32"></rect>
class="fill-current text-blue-600"
width="64"
height="64"
rx="32"></rect>
<g stroke-linecap="square" stroke-width="2"> <g stroke-linecap="square" stroke-width="2">
<path <path class="stroke-current text-white" d="M20.571 20.571h13.714v17.143H20.571z"></path>
class="stroke-current text-white" <path class="stroke-current text-blue-300" d="M38.858 26.993l6.397 1.73-4.473 16.549-13.24-3.58">
d="M20.571 20.571h13.714v17.143H20.571z"></path>
<path
class="stroke-current text-blue-300"
d="M38.858 26.993l6.397 1.73-4.473 16.549-13.24-3.58"
>
</path> </path>
</g> </g>
</g> </g>
@ -100,28 +61,14 @@ const {} = Astro.props;
</p> </p>
</div> </div>
<div <div
class="relative flex flex-col p-6 bg-white dark:bg-slate-900 rounded shadow-xl dark:border dark:border-slate-800" class="relative flex flex-col p-6 bg-white dark:bg-slate-900 rounded shadow-xl dark:border dark:border-slate-800">
>
<div class="flex items-center mb-4"> <div class="flex items-center mb-4">
<svg <svg class="w-12 h-12 p-1" viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg">
class="w-12 h-12 p-1"
viewBox="0 0 64 64"
xmlns="http://www.w3.org/2000/svg"
>
<g fill="none" fill-rule="evenodd"> <g fill="none" fill-rule="evenodd">
<rect <rect class="fill-current text-blue-600" width="64" height="64" rx="32"></rect>
class="fill-current text-blue-600"
width="64"
height="64"
rx="32"></rect>
<g stroke-linecap="square" stroke-width="2"> <g stroke-linecap="square" stroke-width="2">
<path <path class="stroke-current text-white" d="M20.571 20.571h13.714v17.143H20.571z"></path>
class="stroke-current text-white" <path class="stroke-current text-blue-300" d="M38.858 26.993l6.397 1.73-4.473 16.549-13.24-3.58">
d="M20.571 20.571h13.714v17.143H20.571z"></path>
<path
class="stroke-current text-blue-300"
d="M38.858 26.993l6.397 1.73-4.473 16.549-13.24-3.58"
>
</path> </path>
</g> </g>
</g> </g>
@ -134,28 +81,14 @@ const {} = Astro.props;
</p> </p>
</div> </div>
<div <div
class="relative flex flex-col p-6 bg-white dark:bg-slate-900 rounded shadow-xl dark:border dark:border-slate-800" class="relative flex flex-col p-6 bg-white dark:bg-slate-900 rounded shadow-xl dark:border dark:border-slate-800">
>
<div class="flex items-center mb-4"> <div class="flex items-center mb-4">
<svg <svg class="w-12 h-12 p-1" viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg">
class="w-12 h-12 p-1"
viewBox="0 0 64 64"
xmlns="http://www.w3.org/2000/svg"
>
<g fill="none" fill-rule="evenodd"> <g fill="none" fill-rule="evenodd">
<rect <rect class="fill-current text-blue-600" width="64" height="64" rx="32"></rect>
class="fill-current text-blue-600"
width="64"
height="64"
rx="32"></rect>
<g stroke-linecap="square" stroke-width="2"> <g stroke-linecap="square" stroke-width="2">
<path <path class="stroke-current text-white" d="M20.571 20.571h13.714v17.143H20.571z"></path>
class="stroke-current text-white" <path class="stroke-current text-blue-300" d="M38.858 26.993l6.397 1.73-4.473 16.549-13.24-3.58">
d="M20.571 20.571h13.714v17.143H20.571z"></path>
<path
class="stroke-current text-blue-300"
d="M38.858 26.993l6.397 1.73-4.473 16.549-13.24-3.58"
>
</path> </path>
</g> </g>
</g> </g>
@ -169,28 +102,14 @@ const {} = Astro.props;
</p> </p>
</div> </div>
<div <div
class="relative flex flex-col p-6 bg-white dark:bg-slate-900 rounded shadow-xl dark:border dark:border-slate-800" class="relative flex flex-col p-6 bg-white dark:bg-slate-900 rounded shadow-xl dark:border dark:border-slate-800">
>
<div class="flex items-center mb-4"> <div class="flex items-center mb-4">
<svg <svg class="w-12 h-12 p-1" viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg">
class="w-12 h-12 p-1"
viewBox="0 0 64 64"
xmlns="http://www.w3.org/2000/svg"
>
<g fill="none" fill-rule="evenodd"> <g fill="none" fill-rule="evenodd">
<rect <rect class="fill-current text-blue-600" width="64" height="64" rx="32"></rect>
class="fill-current text-blue-600"
width="64"
height="64"
rx="32"></rect>
<g stroke-linecap="square" stroke-width="2"> <g stroke-linecap="square" stroke-width="2">
<path <path class="stroke-current text-white" d="M20.571 20.571h13.714v17.143H20.571z"></path>
class="stroke-current text-white" <path class="stroke-current text-blue-300" d="M38.858 26.993l6.397 1.73-4.473 16.549-13.24-3.58">
d="M20.571 20.571h13.714v17.143H20.571z"></path>
<path
class="stroke-current text-blue-300"
d="M38.858 26.993l6.397 1.73-4.473 16.549-13.24-3.58"
>
</path> </path>
</g> </g>
</g> </g>
@ -203,28 +122,14 @@ const {} = Astro.props;
</p> </p>
</div> </div>
<div <div
class="relative flex flex-col p-6 bg-white dark:bg-slate-900 rounded shadow-xl dark:border dark:border-slate-800" class="relative flex flex-col p-6 bg-white dark:bg-slate-900 rounded shadow-xl dark:border dark:border-slate-800">
>
<div class="flex items-center mb-4"> <div class="flex items-center mb-4">
<svg <svg class="w-12 h-12 p-1" viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg">
class="w-12 h-12 p-1"
viewBox="0 0 64 64"
xmlns="http://www.w3.org/2000/svg"
>
<g fill="none" fill-rule="evenodd"> <g fill="none" fill-rule="evenodd">
<rect <rect class="fill-current text-blue-600" width="64" height="64" rx="32"></rect>
class="fill-current text-blue-600"
width="64"
height="64"
rx="32"></rect>
<g stroke-linecap="square" stroke-width="2"> <g stroke-linecap="square" stroke-width="2">
<path <path class="stroke-current text-white" d="M20.571 20.571h13.714v17.143H20.571z"></path>
class="stroke-current text-white" <path class="stroke-current text-blue-300" d="M38.858 26.993l6.397 1.73-4.473 16.549-13.24-3.58">
d="M20.571 20.571h13.714v17.143H20.571z"></path>
<path
class="stroke-current text-blue-300"
d="M38.858 26.993l6.397 1.73-4.473 16.549-13.24-3.58"
>
</path> </path>
</g> </g>
</g> </g>

View File

@ -1,83 +1,78 @@
--- ---
const {} = Astro.props; const { } = Astro.props;
--- ---
<section> <section>
<div class="max-w-6xl mx-auto px-4 sm:px-6"> <div class="max-w-6xl mx-auto px-4 sm:px-6">
<div class="py-12 md:py-20"> <div class="py-12 md:py-20">
<div class="py-4 sm:py-6 lg:py-8"> <div class="py-4 sm:py-6 lg:py-8 overflow-hidden">
<div class="w-full flex flex-wrap -mx-8"> <div class="flex flex-wrap md:-mx-8">
<div class="w-full lg:w-1/2 px-8"> <div class="w-full lg:w-1/2 px-0 sm:px-8">
<div class="mb-12 lg:mb-0 pb-12 lg:pb-0 border-b lg:border-b-0"> <div class="mb-12 lg:mb-0 pb-12 lg:pb-0 border-b lg:border-b-0">
<h2 class="mb-4 text-3xl lg:text-4xl font-bold font-heading"> <h2 class="mb-4 text-3xl lg:text-4xl font-bold font-heading">
Sed ac magna sit amet risus tristique interdum, at vel velit in Sed ac magna sit amet risus tristique interdum, at vel velit in
hac habitasse platea dictumst. hac habitasse platea dictumst.
</h2> </h2>
<p class="mb-8 text-xl text-gray-600 dark:text-gray-400"> <p class="mb-8 text-xl text-gray-600 dark:text-slate-400">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi
sagittis, quam nec venenatis lobortis, mi risus tempus nulla, sagittis, quam nec venenatis lobortis, mi risus tempus nulla,
sed porttitor est nibh at nulla. Praesent placerat enim ut ex sed porttitor est nibh at nulla. Praesent placerat enim ut ex
tincidunt vehicula. Fusce sit amet dui tellus. tincidunt vehicula. Fusce sit amet dui tellus.
</p> </p>
<div class="w-full md:w-1/3"> <div class="w-full">
<button <a class="btn bg-blue-600 hover:bg-blue-700 focus:ring-blue-500 focus:ring-offset-blue-200 text-white transition ease-in duration-200 text-center text-base font-medium shadow-md focus:outline-none focus:ring-2 focus:ring-offset-2"
type="button" href="https://github.com/onwidget/astrowind" target="_blank" rel="noopener">
class="btn bg-blue-600 hover:bg-blue-700 focus:ring-blue-500 focus:ring-offset-blue-200 text-white transition ease-in duration-200 text-center text-base font-medium shadow-md focus:outline-none focus:ring-2 focus:ring-offset-2" Get template
> </a>
Get started
</button>
</div> </div>
</div> </div>
</div> </div>
<div class="w-full lg:w-1/2 px-8"> <div class="w-full lg:w-1/2 px-0 sm:px-8">
<ul class="space-y-12"> <ul class="space-y-12">
<li class="flex -mx-4"> <li class="flex md:-mx-4">
<div class="px-4"> <div class="pr-4 sm:pl-4">
<span <span
class="flex w-16 h-16 mx-auto items-center justify-center text-2xl font-bold font-heading rounded-full bg-blue-50 text-blue-600" class="flex w-16 h-16 mx-auto items-center justify-center text-2xl font-bold font-heading rounded-full bg-blue-50 text-blue-600">
>
1 1
</span> </span>
</div> </div>
<div class="px-4"> <div class="px-4">
<h3 class="my-4 text-xl font-semibold"> <h3 class="mb-4 text-xl font-semibold">
Responsive Elements Responsive Elements
</h3> </h3>
<p class="text-gray-500 dark:text-gray-400"> <p class="text-gray-500 dark:text-gray-400">
All elements are responsive and provide the best display in Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi sagittis, quam nec venenatis
all screen size. It's magic ! lobortis, mi risus tempus nulla.
</p> </p>
</div> </div>
</li> </li>
<li class="flex -mx-4"> <li class="flex md:-mx-4">
<div class="px-4"> <div class="pr-4 sm:pl-4">
<span <span
class="flex w-16 h-16 mx-auto items-center justify-center text-2xl font-bold font-heading rounded-full bg-blue-50 text-blue-600" class="flex w-16 h-16 mx-auto items-center justify-center text-2xl font-bold font-heading rounded-full bg-blue-50 text-blue-600">
>
2 2
</span> </span>
</div> </div>
<div class="px-4"> <div class="px-4">
<h3 class="my-4 text-xl font-semibold">Flexible Team</h3> <h3 class="mb-4 text-xl font-semibold">Flexible Team</h3>
<p class="text-gray-500 dark:text-gray-400"> <p class="text-gray-500 dark:text-gray-400">
Flexibility is the key. All team is available 24/24 and Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi sagittis, quam nec venenatis
joinable every day on our hotline. lobortis, mi risus tempus nulla.
</p> </p>
</div> </div>
</li> </li>
<li class="flex -mx-4"> <li class="flex md:-mx-4">
<div class="px-4"> <div class="pr-4 sm:pl-4">
<span <span
class="flex w-16 h-16 mx-auto items-center justify-center text-2xl font-bold font-heading rounded-full bg-blue-50 text-blue-600" class="flex w-16 h-16 mx-auto items-center justify-center text-2xl font-bold font-heading rounded-full bg-blue-50 text-blue-600">
>
3 3
</span> </span>
</div> </div>
<div class="px-4"> <div class="px-4">
<h3 class="my-4 text-xl font-semibold">Ecologic Software</h3> <h3 class="mb-4 text-xl font-semibold">Ecologic Software</h3>
<p class="text-gray-500 dark:text-gray-400"> <p class="text-gray-500 dark:text-gray-400">
Our Software are ecologic and responsable. Green is not just Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi sagittis, quam nec venenatis
a color, it's a way of life. lobortis, mi risus tempus nulla.
</p> </p>
</div> </div>
</li> </li>

View File

@ -0,0 +1,119 @@
---
import Picture from "~/components/astro/utils/Picture.astro"
const { } = Astro.props;
---
<section class="px-4 py-16 sm:px-6 mx-auto lg:px-8 lg:py-20 max-w-6xl">
<div class="grid gap-6 row-gap-10 md:grid-cols-2">
<div class="md:py-6 md:pr-16 text-gray-700 dark:text-gray-400">
<div class="flex">
<div class="flex flex-col items-center mr-4">
<div>
<div
class="flex items-center justify-center w-10 h-10 border rounded-full border-pink-500 border-2">
<svg xmlns="http://www.w3.org/2000/svg" class="w-5 h-5 text-gray-600 dark:text-slate-200"
width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor"
fill="none" stroke-linecap="round" stroke-linejoin="round">
<path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
<path
d="M15 4v8h3.586a1 1 0 0 1 .707 1.707l-6.586 6.586a1 1 0 0 1 -1.414 0l-6.586 -6.586a1 1 0 0 1 .707 -1.707h3.586v-8a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1z">
</path>
</svg>
</div>
</div>
<div class="w-px h-full bg-gray-300 dark:bg-slate-500"></div>
</div>
<div class="pt-1 pb-8">
<p class="mb-2 text-xl font-bold text-gray-900 dark:text-slate-300">Step 1</p>
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi sagittis, quam nec venenatis
lobortis, mi risus tempus nulla, sed porttitor est nibh at nulla. Praesent placerat enim ut ex
tincidunt vehicula. Fusce sit amet dui tellus.
</p>
</div>
</div>
<div class="flex">
<div class="flex flex-col items-center mr-4">
<div>
<div
class="flex items-center justify-center w-10 h-10 border rounded-full border-pink-500 border-2">
<svg xmlns="http://www.w3.org/2000/svg" class="w-5 h-5 text-gray-600 dark:text-slate-200"
width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor"
fill="none" stroke-linecap="round" stroke-linejoin="round">
<path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
<path
d="M15 4v8h3.586a1 1 0 0 1 .707 1.707l-6.586 6.586a1 1 0 0 1 -1.414 0l-6.586 -6.586a1 1 0 0 1 .707 -1.707h3.586v-8a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1z">
</path>
</svg>
</div>
</div>
<div class="w-px h-full bg-gray-300 dark:bg-slate-500"></div>
</div>
<div class="pt-1 pb-8">
<p class="mb-2 text-xl font-bold text-gray-900 dark:text-slate-300">Step 2</p>
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi sagittis, quam nec venenatis
lobortis, mi risus tempus nulla, sed porttitor est nibh at nulla.
</p>
</div>
</div>
<div class="flex">
<div class="flex flex-col items-center mr-4">
<div>
<div
class="flex items-center justify-center w-10 h-10 border rounded-full border-pink-500 border-2">
<svg xmlns="http://www.w3.org/2000/svg" class="w-5 h-5 text-gray-600 dark:text-slate-200"
width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor"
fill="none" stroke-linecap="round" stroke-linejoin="round">
<path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
<path
d="M15 4v8h3.586a1 1 0 0 1 .707 1.707l-6.586 6.586a1 1 0 0 1 -1.414 0l-6.586 -6.586a1 1 0 0 1 .707 -1.707h3.586v-8a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1z">
</path>
</svg>
</div>
</div>
<div class="w-px h-full bg-gray-300 dark:bg-slate-500"></div>
</div>
<div class="pt-1 pb-8">
<p class="mb-2 text-xl font-bold text-gray-900 dark:text-slate-300">Step 3</p>
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi sagittis, quam nec venenatis
lobortis, mi risus tempus nulla, sed porttitor est nibh at nulla.
</p>
</div>
</div>
<div class="flex">
<div class="flex flex-col items-center mr-4">
<div>
<div
class="flex items-center justify-center w-10 h-10 border rounded-full border-blue-600 border-2">
<svg xmlns="http://www.w3.org/2000/svg" class="w-6 text-gray-600 dark:text-slate-200"
width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor"
fill="none" stroke-linecap="round" stroke-linejoin="round">
<path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
<path d="M5 12l5 5l10 -10"></path>
</svg>
</div>
</div>
</div>
<div class="pt-1">
<p class="mb-2 text-xl font-bold text-gray-900 dark:text-slate-300">Ready!</p>
<p class="text-gray-700"></p>
</div>
</div>
</div>
<div class="relative">
<Picture
class="inset-0 object-cover object-top w-full rounded-md shadow-lg md:absolute md:h-full bg-gray-400 dark:bg-slate-700"
src={import("~/assets/images/astronaut.jpg")} widths={[400, 768]}
sizes="(max-width: 768px) 100vw, 432px" alt="Astronaut" aspectRatio="432:768" />
</div>
</div>
</section>

View File

@ -0,0 +1,176 @@
---
const { } = Astro.props;
---
<section class="px-4 py-16 mx-auto max-w-6xl lg:px-8 lg:py-20 bg-blue-50 dark:bg-slate-800">
<div class="max-w-xl mb-10 md:mx-auto sm:text-center lg:max-w-2xl md:mb-12">
<p class="text-base text-blue-600 dark:text-blue-200 font-semibold tracking-wide uppercase">
Features
</p>
<h2 class="text-4xl md:text-5xl font-bold leading-tighter tracking-tighter mb-4">
What's interesting about <span
class="bg-clip-text text-transparent bg-gradient-to-r from-blue-500 to-pink-500 whitespace-nowrap">AstroWind</span>
</h2>
<p class="max-w-3xl mx-auto sm:text-center text-xl text-gray-600 dark:text-slate-400">
Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque rem aperiam, eaque
ipsa quae.
</p>
</div>
<div class="grid mx-auto space-y-6 md:grid-cols-2 md:space-y-0">
<div class="space-y-8 sm:px-8">
<div class="flex flex-row max-w-md">
<div class="mb-4 mr-4">
<div class="flex items-center justify-center w-12 h-12 rounded-full bg-blue-500">
<svg class="w-12 h-12 p-0.5" viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg">
<g fill="none" fill-rule="evenodd">
<rect class="fill-current text-blue-600" width="64" height="64" rx="32"></rect>
<g stroke-linecap="square" stroke-width="2">
<path class="stroke-current text-white" d="M20.571 20.571h13.714v17.143H20.571z">
</path>
<path class="stroke-current text-blue-300"
d="M38.858 26.993l6.397 1.73-4.473 16.549-13.24-3.58">
</path>
</g>
</g>
</svg>
</div>
</div>
<div>
<h3 class="mb-3 text-xl font-bold">Integration with Tailwind CSS</h3>
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi sagittis, quam nec venenatis
lobortis, mi risus tempus nulla.
</p>
</div>
</div>
<div class="flex flex-row max-w-md">
<div class="mb-4 mr-4">
<div class="flex items-center justify-center w-12 h-12 rounded-full bg-blue-500">
<svg class="w-12 h-12 p-0.5" viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg">
<g fill="none" fill-rule="evenodd">
<rect class="fill-current text-blue-600" width="64" height="64" rx="32"></rect>
<g stroke-linecap="square" stroke-width="2">
<path class="stroke-current text-white" d="M20.571 20.571h13.714v17.143H20.571z">
</path>
<path class="stroke-current text-blue-300"
d="M38.858 26.993l6.397 1.73-4.473 16.549-13.24-3.58">
</path>
</g>
</g>
</svg>
</div>
</div>
<div>
<h3 class="mb-3 text-xl font-bold">Ready-to-use Components</h3>
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi sagittis, quam nec venenatis
lobortis, mi risus tempus nulla.
</p>
</div>
</div>
<div class="flex flex-row max-w-md">
<div class="mb-4 mr-4">
<div class="flex items-center justify-center w-12 h-12 rounded-full bg-blue-500">
<svg class="w-12 h-12 p-0.5" viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg">
<g fill="none" fill-rule="evenodd">
<rect class="fill-current text-blue-600" width="64" height="64" rx="32"></rect>
<g stroke-linecap="square" stroke-width="2">
<path class="stroke-current text-white" d="M20.571 20.571h13.714v17.143H20.571z">
</path>
<path class="stroke-current text-blue-300"
d="M38.858 26.993l6.397 1.73-4.473 16.549-13.24-3.58">
</path>
</g>
</g>
</svg>
</div>
</div>
<div>
<h3 class="mb-3 text-xl font-bold">Best Practices</h3>
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi sagittis, quam nec venenatis
lobortis, mi risus tempus nulla.
</p>
</div>
</div>
</div>
<div class="space-y-8 sm:px-8">
<div class="flex flex-row max-w-md">
<div class="mb-4 mr-4">
<div class="flex items-center justify-center w-12 h-12 rounded-full bg-blue-500">
<svg class="w-12 h-12 p-0.5" viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg">
<g fill="none" fill-rule="evenodd">
<rect class="fill-current text-blue-600" width="64" height="64" rx="32"></rect>
<g stroke-linecap="square" stroke-width="2">
<path class="stroke-current text-white" d="M20.571 20.571h13.714v17.143H20.571z">
</path>
<path class="stroke-current text-blue-300"
d="M38.858 26.993l6.397 1.73-4.473 16.549-13.24-3.58">
</path>
</g>
</g>
</svg>
</div>
</div>
<div>
<h3 class="mb-3 text-xl font-bold">Excelent Page Speed</h3>
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi sagittis, quam nec venenatis
lobortis, mi risus tempus nulla.
</p>
</div>
</div>
<div class="flex flex-row max-w-md">
<div class="mb-4 mr-4">
<div class="flex items-center justify-center w-12 h-12 rounded-full bg-blue-500">
<svg class="w-12 h-12 p-0.5" viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg">
<g fill="none" fill-rule="evenodd">
<rect class="fill-current text-blue-600" width="64" height="64" rx="32"></rect>
<g stroke-linecap="square" stroke-width="2">
<path class="stroke-current text-white" d="M20.571 20.571h13.714v17.143H20.571z">
</path>
<path class="stroke-current text-blue-300"
d="M38.858 26.993l6.397 1.73-4.473 16.549-13.24-3.58">
</path>
</g>
</g>
</svg>
</div>
</div>
<div>
<h3 class="mb-3 text-xl font-bold">Frequently updated</h3>
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi sagittis, quam nec venenatis
lobortis, mi risus tempus nulla.
</p>
</div>
</div>
<div class="flex flex-row max-w-md">
<div class="mb-4 mr-4">
<div class="flex items-center justify-center w-12 h-12 rounded-full bg-blue-500">
<svg class="w-12 h-12 p-0.5" viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg">
<g fill="none" fill-rule="evenodd">
<rect class="fill-current text-blue-600" width="64" height="64" rx="32"></rect>
<g stroke-linecap="square" stroke-width="2">
<path class="stroke-current text-white" d="M20.571 20.571h13.714v17.143H20.571z">
</path>
<path class="stroke-current text-blue-300"
d="M38.858 26.993l6.397 1.73-4.473 16.549-13.24-3.58">
</path>
</g>
</g>
</svg>
</div>
</div>
<div>
<h3 class="mb-3 text-xl font-bold">Open to new ideas and contributions
</h3>
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi sagittis, quam nec venenatis
lobortis, mi risus tempus nulla.
</p>
</div>
</div>
</div>
</div>
</section>

View File

@ -5,28 +5,22 @@ import {
IconFacebook, IconFacebook,
IconArrowRight, IconArrowRight,
} from "~/components/astro/icons"; } from "~/components/astro/icons";
const {} = Astro.props; const { } = Astro.props;
--- ---
<footer> <footer>
<div class="max-w-6xl mx-auto px-4 sm:px-6"> <div class="max-w-6xl mx-auto px-4 sm:px-6">
<div <div class="grid sm:grid-cols-12 gap-8 py-8 md:py-12 border-t border-gray-200 dark:border-slate-800">
class="grid sm:grid-cols-12 gap-8 py-8 md:py-12 border-t border-gray-200 dark:border-slate-800"
>
<div class="sm:col-span-12 lg:col-span-3"> <div class="sm:col-span-12 lg:col-span-3">
<div class="mb-2"> <div class="mb-2">
<a class="inline-block font-bold" href="#">AstroWind</a> <a class="inline-block font-bold" href="#">AstroWind</a>
</div> </div>
<div class="text-sm text-gray-600"> <div class="text-sm text-gray-600">
<a <a class="text-gray-600 hover:text-gray-700 dark:text-gray-400 hover:underline transition duration-150 ease-in-out"
class="text-gray-600 hover:text-gray-700 dark:text-gray-400 hover:underline transition duration-150 ease-in-out" href="#">Terms
href="#"
>Terms
</a> · </a> ·
<a <a class="text-gray-600 hover:text-gray-700 dark:text-gray-400 hover:underline transition duration-150 ease-in-out"
class="text-gray-600 hover:text-gray-700 dark:text-gray-400 hover:underline transition duration-150 ease-in-out" href="#">Privacy Policy
href="#"
>Privacy Policy
</a> </a>
</div> </div>
</div> </div>
@ -36,38 +30,28 @@ const {} = Astro.props;
</div> </div>
<ul class="text-sm"> <ul class="text-sm">
<li class="mb-2"> <li class="mb-2">
<a <a class="text-gray-600 hover:text-gray-700 dark:text-gray-400 transition duration-150 ease-in-out"
class="text-gray-600 hover:text-gray-700 dark:text-gray-400 transition duration-150 ease-in-out" href="#">Web Studio
href="#"
>Web Studio
</a> </a>
</li> </li>
<li class="mb-2"> <li class="mb-2">
<a <a class="text-gray-600 hover:text-gray-700 dark:text-gray-400 transition duration-150 ease-in-out"
class="text-gray-600 hover:text-gray-700 dark:text-gray-400 transition duration-150 ease-in-out" href="#">DynamicBox Flex
href="#"
>DynamicBox Flex
</a> </a>
</li> </li>
<li class="mb-2"> <li class="mb-2">
<a <a class="text-gray-600 hover:text-gray-700 dark:text-gray-400 transition duration-150 ease-in-out"
class="text-gray-600 hover:text-gray-700 dark:text-gray-400 transition duration-150 ease-in-out" href="#">Programming Forms
href="#"
>Programming Forms
</a> </a>
</li> </li>
<li class="mb-2"> <li class="mb-2">
<a <a class="text-gray-600 hover:text-gray-700 dark:text-gray-400 transition duration-150 ease-in-out"
class="text-gray-600 hover:text-gray-700 dark:text-gray-400 transition duration-150 ease-in-out" href="#">Integrations
href="#"
>Integrations
</a> </a>
</li> </li>
<li class="mb-2"> <li class="mb-2">
<a <a class="text-gray-600 hover:text-gray-700 dark:text-gray-400 transition duration-150 ease-in-out"
class="text-gray-600 hover:text-gray-700 dark:text-gray-400 transition duration-150 ease-in-out" href="#">Command-line
href="#"
>Command-line
</a> </a>
</li> </li>
</ul> </ul>
@ -78,38 +62,28 @@ const {} = Astro.props;
</div> </div>
<ul class="text-sm"> <ul class="text-sm">
<li class="mb-2"> <li class="mb-2">
<a <a class="text-gray-600 hover:text-gray-700 dark:text-gray-400 transition duration-150 ease-in-out"
class="text-gray-600 hover:text-gray-700 dark:text-gray-400 transition duration-150 ease-in-out" href="#">Documentation
href="#"
>Documentation
</a> </a>
</li> </li>
<li class="mb-2"> <li class="mb-2">
<a <a class="text-gray-600 hover:text-gray-700 dark:text-gray-400 transition duration-150 ease-in-out"
class="text-gray-600 hover:text-gray-700 dark:text-gray-400 transition duration-150 ease-in-out" href="#">Tutorials &amp; Guides
href="#"
>Tutorials &amp; Guides
</a> </a>
</li> </li>
<li class="mb-2"> <li class="mb-2">
<a <a class="text-gray-600 hover:text-gray-700 dark:text-gray-400 transition duration-150 ease-in-out"
class="text-gray-600 hover:text-gray-700 dark:text-gray-400 transition duration-150 ease-in-out" href="#">Blog
href="#"
>Blog
</a> </a>
</li> </li>
<li class="mb-2"> <li class="mb-2">
<a <a class="text-gray-600 hover:text-gray-700 dark:text-gray-400 transition duration-150 ease-in-out"
class="text-gray-600 hover:text-gray-700 dark:text-gray-400 transition duration-150 ease-in-out" href="#">Support Center
href="#"
>Support Center
</a> </a>
</li> </li>
<li class="mb-2"> <li class="mb-2">
<a <a class="text-gray-600 hover:text-gray-700 dark:text-gray-400 transition duration-150 ease-in-out"
class="text-gray-600 hover:text-gray-700 dark:text-gray-400 transition duration-150 ease-in-out" href="#">Partners
href="#"
>Partners
</a> </a>
</li> </li>
</ul> </ul>
@ -120,38 +94,28 @@ const {} = Astro.props;
</div> </div>
<ul class="text-sm"> <ul class="text-sm">
<li class="mb-2"> <li class="mb-2">
<a <a class="text-gray-600 hover:text-gray-700 dark:text-gray-400 transition duration-150 ease-in-out"
class="text-gray-600 hover:text-gray-700 dark:text-gray-400 transition duration-150 ease-in-out" href="#">Home
href="#"
>Home
</a> </a>
</li> </li>
<li class="mb-2"> <li class="mb-2">
<a <a class="text-gray-600 hover:text-gray-700 dark:text-gray-400 transition duration-150 ease-in-out"
class="text-gray-600 hover:text-gray-700 dark:text-gray-400 transition duration-150 ease-in-out" href="#">About us
href="#"
>About us
</a> </a>
</li> </li>
<li class="mb-2"> <li class="mb-2">
<a <a class="text-gray-600 hover:text-gray-700 dark:text-gray-400 transition duration-150 ease-in-out"
class="text-gray-600 hover:text-gray-700 dark:text-gray-400 transition duration-150 ease-in-out" href="#">Company values
href="#"
>Company values
</a> </a>
</li> </li>
<li class="mb-2"> <li class="mb-2">
<a <a class="text-gray-600 hover:text-gray-700 dark:text-gray-400 transition duration-150 ease-in-out"
class="text-gray-600 hover:text-gray-700 dark:text-gray-400 transition duration-150 ease-in-out" href="#">Pricing
href="#"
>Pricing
</a> </a>
</li> </li>
<li class="mb-2"> <li class="mb-2">
<a <a class="text-gray-600 hover:text-gray-700 dark:text-gray-400 transition duration-150 ease-in-out"
class="text-gray-600 hover:text-gray-700 dark:text-gray-400 transition duration-150 ease-in-out" href="#">Privacy Policy
href="#"
>Privacy Policy
</a> </a>
</li> </li>
</ul> </ul>
@ -166,28 +130,17 @@ const {} = Astro.props;
<form> <form>
<div class="flex flex-wrap mb-4"> <div class="flex flex-wrap mb-4">
<div class="w-full"> <div class="w-full">
<label class="block text-sm sr-only" for="newsletter" <label class="block text-sm sr-only" for="newsletter">Email
>Email
</label> </label>
<div class="relative flex items-center max-w-xs"> <div class="relative flex items-center max-w-xs">
<input <input id="newsletter" type="email"
id="newsletter" class="form-input w-full text-gray-800 px-3 py-2 pr-12 text-sm border rounded-sm dark:bg-transparent dark:border-slate-600 dark:text-gray-400"
type="email" placeholder="Your email" />
class="form-input w-full text-gray-800 px-3 py-2 pr-12 text-sm border rounded-sm dark:bg-slate-900 dark:border-slate-600 dark:text-gray-400" <button type="submit" class="absolute inset-0 left-auto" aria-label="Subscribe">
placeholder="Your email" <span class="absolute inset-0 right-auto w-px -ml-px my-2 bg-gray-300 dark:bg-slate-600"
/>
<button
type="submit"
class="absolute inset-0 left-auto"
aria-label="Subscribe"
>
<span
class="absolute inset-0 right-auto w-px -ml-px my-2 bg-gray-300 dark:bg-slate-600"
aria-hidden="true"></span> aria-hidden="true"></span>
<IconArrowRight <IconArrowRight class="w-5 h-5 text-blue-600 mx-3 flex-shrink-0" />
className="w-5 h-5 text-blue-600 mx-3 flex-shrink-0"
/>
</button> </button>
</div> </div>
</div> </div>
@ -198,39 +151,27 @@ const {} = Astro.props;
<div class="md:flex md:items-center md:justify-between py-4 md:py-8"> <div class="md:flex md:items-center md:justify-between py-4 md:py-8">
<ul class="flex mb-4 md:order-1 md:ml-4 md:mb-0"> <ul class="flex mb-4 md:order-1 md:ml-4 md:mb-0">
<li> <li>
<a <a class="flex justify-center items-center text-gray-600 hover:text-gray-700 dark:text-gray-400 bg-white hover:bg-white-100 rounded-full shadow transition duration-150 ease-in-out dark:bg-gray-800 dark:text-gray-400 p-1.5"
class="flex justify-center items-center text-gray-600 hover:text-gray-700 dark:text-gray-400 bg-white hover:bg-white-100 rounded-full shadow transition duration-150 ease-in-out dark:bg-gray-800 dark:text-gray-400 p-1.5" aria-label="Twitter" href="#">
aria-label="Twitter"
href="#"
>
<IconTwitter /> <IconTwitter />
</a> </a>
</li> </li>
<li class="ml-4"> <li class="ml-4">
<a <a class="flex justify-center items-center text-gray-600 hover:text-gray-700 dark:text-gray-400 bg-white hover:bg-white-100 rounded-full shadow transition duration-150 ease-in-out dark:bg-gray-800 dark:text-gray-400 p-1.5"
class="flex justify-center items-center text-gray-600 hover:text-gray-700 dark:text-gray-400 bg-white hover:bg-white-100 rounded-full shadow transition duration-150 ease-in-out dark:bg-gray-800 dark:text-gray-400 p-1.5" aria-label="Instagram" href="#">
aria-label="Instagram"
href="#"
>
<IconInstagram /> <IconInstagram />
</a> </a>
</li> </li>
<li class="ml-4"> <li class="ml-4">
<a <a class="flex justify-center items-center text-gray-600 hover:text-gray-700 dark:text-gray-400 bg-white hover:bg-white-100 rounded-full shadow transition duration-150 ease-in-out dark:bg-gray-800 dark:text-gray-400 p-1.5"
class="flex justify-center items-center text-gray-600 hover:text-gray-700 dark:text-gray-400 bg-white hover:bg-white-100 rounded-full shadow transition duration-150 ease-in-out dark:bg-gray-800 dark:text-gray-400 p-1.5" aria-label="Facebook" href="#">
aria-label="Facebook"
href="#"
>
<IconFacebook /> <IconFacebook />
</a> </a>
</li> </li>
</ul> </ul>
<div class="text-sm text-gray-700 mr-4 dark:text-slate-400"> <div class="text-sm text-gray-700 mr-4 dark:text-slate-400">
Made by <a Made by <a class="text-blue-600 hover:underline dark:text-gray-200" href="https://onwidget.com/">
class="text-blue-600 hover:underline dark:text-gray-200" onWidget</a>. All rights reserved.
href="https://onwidget.com/"
>onWidget
</a>. All rights reserved.
</div> </div>
</div> </div>
</div> </div>

View File

@ -1,86 +1,58 @@
--- ---
import { IconSun, IconGithub, IconMenu } from "~/components/astro/icons"; import { IconSun, IconGithub, IconMenu } from "~/components/astro/icons";
const {} = Astro.props; const { } = Astro.props;
--- ---
<header <header
class="fixed top-0 z-40 flex-none mx-auto w-full bg-white/90 dark:bg-slate-900 backdrop-blur-sm border-b dark:border-b-0" class="fixed top-0 z-40 flex-none mx-auto w-full bg-white/90 dark:bg-transparent backdrop-blur-sm border-b dark:border-b-0">
> <div class="py-3 px-3 mx-auto w-full md:flex md:justify-between max-w-6xl md:px-4">
<div
class="py-3 px-3 mx-auto w-full md:flex md:justify-between max-w-6xl md:px-4"
>
<div class="flex justify-between"> <div class="flex justify-between">
<a class="flex items-center" href="/"> <a class="flex items-center" href="/">
<span <span class="self-center ml-2 text-2xl font-extrabold text-gray-900 whitespace-nowrap dark:text-white">AstroWind
class="self-center ml-2 text-2xl font-extrabold text-gray-900 whitespace-nowrap dark:text-white"
>AstroWind
</span> </span>
</a> </a>
<div class="flex items-center md:hidden"> <div class="flex items-center md:hidden">
<button <button type="button"
type="button"
class="text-gray-500 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-700 focus:outline-none focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-700 rounded-lg text-sm p-2.5 inline-flex items-center" class="text-gray-500 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-700 focus:outline-none focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-700 rounded-lg text-sm p-2.5 inline-flex items-center"
aria-label="Toggle between Dark and Light mode" aria-label="Toggle between Dark and Light mode" onclick="window.toggleDarkMode()">
onclick="window.toggleDarkMode()" <IconSun class="w-6 h-6" />
>
<IconSun />
</button> </button>
<button <button
class="ml-1 text-gray-500 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-800 focus:outline-none focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-700 rounded-lg text-sm p-2.5 inline-flex items-center" class="ml-1.5 text-gray-500 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-800 focus:outline-none focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-700 rounded-lg text-sm p-2.5 inline-flex items-center"
aria-label="Toggle Menu" aria-label="Toggle Menu" onclick="toggleMenu()">
onclick="toggleMenu()" <IconMenu class="w-6 h-6" />
>
<IconMenu />
</button> </button>
</div> </div>
</div> </div>
<nav <nav class="items-center w-full md:w-auto hidden md:flex text-gray-600 dark:text-slate-200"
class="items-center w-full md:w-auto hidden md:flex text-gray-600 dark:text-slate-200" aria-label="Main navigation" id="menu">
aria-label="Main navigation" <ul class="flex flex-col py-2 md:py-0 md:flex-row md:self-center collapse w-full md:w-auto collapsed">
id="menu"
>
<ul
class="flex flex-col py-2 md:py-0 md:flex-row md:self-center collapse w-full md:w-auto collapsed"
>
<li> <li>
<a <a class="font-medium hover:text-gray-900 dark:hover:text-white px-4 py-3 flex items-center transition duration-150 ease-in-out"
class="font-medium hover:text-gray-900 dark:hover:text-white px-4 py-3 flex items-center transition duration-150 ease-in-out" href="#">Pages
href="#"
>Pages
</a> </a>
</li> </li>
<li> <li>
<a <a class="font-medium hover:text-gray-900 dark:hover:text-white px-4 py-3 flex items-center transition duration-150 ease-in-out"
class="font-medium hover:text-gray-900 dark:hover:text-white px-4 py-3 flex items-center transition duration-150 ease-in-out" href="#">Resources
href="#"
>Resources
</a> </a>
</li> </li>
<li> <li>
<a <a class="font-medium hover:text-gray-900 dark:hover:text-white px-4 py-3 flex items-center transition duration-150 ease-in-out"
class="font-medium hover:text-gray-900 dark:hover:text-white px-4 py-3 flex items-center transition duration-150 ease-in-out" href="#">Blog
href="#"
>Blog
</a> </a>
</li> </li>
</ul> </ul>
<div <div class="md:self-center flex items-center mb-4 md:mb-0 collapse collapsed">
class="md:self-center flex items-center mb-4 md:mb-0 collapse collapsed"
>
<div class="hidden items-center mr-3 md:flex"> <div class="hidden items-center mr-3 md:flex">
<button <button type="button"
type="button"
class="text-gray-500 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-700 focus:outline-none focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-700 rounded-lg text-sm p-2.5 inline-flex items-center" class="text-gray-500 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-700 focus:outline-none focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-700 rounded-lg text-sm p-2.5 inline-flex items-center"
aria-label="Toggle between Dark and Light mode" aria-label="Toggle between Dark and Light mode" onclick="window.toggleDarkMode()">
onclick="window.toggleDarkMode()"
>
<IconSun /> <IconSun />
</button> </button>
<a <a href="https://github.com/onwidget/astrowind"
href="https://github.com/onwidget/astrowind"
class="inline-block text-gray-500 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-700 focus:outline-none focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-700 rounded-lg text-sm p-2.5 mr-1" class="inline-block text-gray-500 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-700 focus:outline-none focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-700 rounded-lg text-sm p-2.5 mr-1"
aria-label="Astrowind Github" aria-label="Astrowind Github">
>
<IconGithub /> <IconGithub />
</a> </a>

View File

@ -1,45 +1,36 @@
--- ---
import { Picture } from "@astrojs/image/components"; import Picture from "~/components/astro/utils/Picture.astro";
const {} = Astro.props; const { } = Astro.props;
--- ---
<section> <section>
<div class="max-w-6xl mx-auto px-4 sm:px-6"> <div class="max-w-6xl mx-auto px-4 sm:px-6">
<div class="py-12 md:py-20"> <div class="py-12 md:py-20">
<div class="text-center pb-12 md:pb-16"> <div class="text-center pb-12 md:pb-16">
<h1 <h1 class="text-5xl md:text-[3.50rem] font-bold leading-tighter tracking-tighter mb-4">
class="text-5xl md:text-6xl font-bold leading-tighter tracking-tighter mb-4"
>
Your website with Your website with
<span <span class="bg-clip-text text-transparent bg-gradient-to-r from-blue-500 to-pink-500">Astro
class="bg-clip-text text-transparent bg-gradient-to-r from-blue-500 to-pink-500"
>Astro
</span> + </span> +
<span <span
class="bg-clip-text text-transparent bg-gradient-to-r from-blue-500 to-pink-500" class="bg-clip-text text-transparent bg-gradient-to-r from-blue-500 to-pink-500 whitespace-nowrap">Tailwind
>Tailwind CSS
</span> </span>
</h1> </h1>
<div class="max-w-3xl mx-auto"> <div class="max-w-3xl mx-auto">
<p class="text-xl text-gray-600 mb-8 dark:text-slate-400"> <p class="text-xl text-gray-600 mb-8 dark:text-slate-400">
A template to make your website using Astro + Tailwind CSS. Ready to AstroWind is a production ready template to start your new website using Astro + Tailwind CSS.
start a new project and designed taking into account best practices It has been designed following Best Practices, SEO, Accessibility, Dark Mode, great Page Speed, image
for SEO, great page speed, accessibility, dark mode, image optimization, sitemap generation and more.
optimization and automatic sitemap generation.
</p> </p>
<div class="max-w-xs max-w-none flex justify-center"> <div class="max-w-xs max-w-none flex justify-center">
<div> <div>
<a <a class="btn text-white bg-blue-600 hover:bg-blue-800 mb-4 sm:mb-0"
class="btn text-white bg-blue-600 hover:bg-blue-700 mb-4 sm:mb-0" href="https://github.com/onwidget/astrowind" target="_blank" rel="noopener">Get template
href="#"
>Get started
</a> </a>
</div> </div>
<div> <div>
<a <a class="btn text-white bg-gray-900 hover:bg-gray-800 dark:bg-gray-700 dark:hover:bg-gray-800 ml-4"
class="btn text-white bg-gray-900 hover:bg-gray-800 dark:bg-gray-800 dark:hover:bg-gray-700 ml-4" href="#">Learn more
href="#"
>Learn more
</a> </a>
</div> </div>
</div> </div>
@ -48,14 +39,8 @@ const {} = Astro.props;
<div> <div>
<div class="relative flex justify-center mb-8"> <div class="relative flex justify-center mb-8">
<div class="flex flex-col justify-center"> <div class="flex flex-col justify-center">
<Picture <Picture src={import("~/assets/images/hero.jpg")} class="mx-auto rounded-md bg-gray-400 dark:bg-slate-700"
src={import("~/assets/images/hero.jpg")} widths={[400, 768]} sizes="(max-width: 767px) 400px, 768px" alt="Hero Image" aspectRatio="16:9" />
class="mx-auto rounded-md"
widths={[400, 768]}
sizes="(max-width: 768px) 100vw, 768px"
alt="Hero Image"
aspectRatio="16:9"
/>
</div> </div>
</div> </div>
</div> </div>

View File

@ -1,5 +1,5 @@
--- ---
const { className = "w-5 h-5" } = Astro.props; const { class: className = "w-5 h-5" } = Astro.props;
--- ---
<svg <svg

View File

@ -1,5 +1,5 @@
--- ---
const { className = "w-5 h-5" } = Astro.props; const { class: className = "w-5 h-5" } = Astro.props;
--- ---
<svg <svg

View File

@ -1,5 +1,5 @@
--- ---
const { className = "w-5 h-5" } = Astro.props; const { class: className = "w-5 h-5" } = Astro.props;
--- ---
<svg <svg

View File

@ -1,5 +1,5 @@
--- ---
const { className = "w-5 h-5" } = Astro.props; const { class: className = "w-5 h-5" } = Astro.props;
--- ---
<svg <svg

View File

@ -1,5 +1,5 @@
--- ---
const { className = "w-5 h-5" } = Astro.props; const { class: className = "w-5 h-5" } = Astro.props;
--- ---
<svg <svg

View File

@ -1,5 +1,5 @@
--- ---
const { className = "w-5 h-5" } = Astro.props; const { class: className = "w-5 h-5" } = Astro.props;
--- ---
<svg <svg

View File

@ -1,5 +1,5 @@
--- ---
const { className = "w-5 h-5" } = Astro.props; const { class: className = "w-5 h-5" } = Astro.props;
--- ---
<svg <svg

View File

@ -0,0 +1,32 @@
---
const { } = Astro.props;
---
<div class="px-4 py-8 md:py-16 sm:px-6 mx-auto md:px-24 lg:px-8 lg:py-20 max-w-6xl">
<div class="grid grid-cols-2 row-gap-8 md:grid-cols-4">
<div class="text-center md:border-r mb-10 md:mb-0">
<div class="text-4xl font-bold lg:text-5xl xl:text-6xl">132K</div>
<p class="text-sm font-medium tracking-widest text-gray-800 dark:text-slate-400 uppercase lg:text-base">
Downloads
</p>
</div>
<div class="text-center md:border-r mb-10 md:mb-0">
<div class="text-4xl font-bold lg:text-5xl xl:text-6xl">24.8K</div>
<p class="text-sm font-medium tracking-widest text-gray-800 dark:text-slate-400 uppercase lg:text-base">
Stars
</p>
</div>
<div class="text-center md:border-r">
<div class="text-4xl font-bold lg:text-5xl xl:text-6xl">10.3K</div>
<p class="text-sm font-medium tracking-widest text-gray-800 dark:text-slate-400 uppercase lg:text-base">
Forks
</p>
</div>
<div class="text-center">
<div class="text-4xl font-bold lg:text-5xl xl:text-6xl">48.4K</div>
<p class="text-sm font-medium tracking-widest text-gray-800 dark:text-slate-400 uppercase lg:text-base">
Users
</p>
</div>
</div>
</div>

View File

@ -5,16 +5,24 @@ import BasicCTA from "~/components/astro/ctas/BasicCTA.astro";
import BasicFeatures from "~/components/astro/features/BasicFeatures.astro"; import BasicFeatures from "~/components/astro/features/BasicFeatures.astro";
import StepsFeatures from "~/components/astro/features/StepsFeatures.astro"; import StepsFeatures from "~/components/astro/features/StepsFeatures.astro";
import HeroWithImage from "~/components/astro/hero/HeroWithImage.astro"; import HeroWithImage from "~/components/astro/hero/HeroWithImage.astro";
import FAQsBasic from "~/components/astro/faqs/FAQsBasic.astro";
import TwoColsFeatures from "~/components/astro/features/TwoColsFeatures.astro";
import StepsLeft from "~/components/astro/features/StepsLeft.astro";
import BasicStats from "~/components/astro/stats/BasicStats.astro";
import BlogFeaturesFourCols from "~/components/astro/blog/BlogFeaturesFourCols.astro";
--- ---
<Layout <Layout title="AstroWind — Your website with Astro + Tailwind CSS"
title="AstroWind — Your website with Astro + Tailwind CSS" description="Performance and accessible template to make your website using Astro + Tailwind CSS.">
description="Performance and accessible template to make your website using Astro + Tailwind CSS."
>
<main class="mt-20"> <main class="mt-20">
<HeroWithImage /> <HeroWithImage />
<BasicFeatures /> <BasicFeatures />
<StepsLeft />
<TwoColsFeatures />
<StepsFeatures /> <StepsFeatures />
<BlogFeaturesFourCols />
<FAQsBasic />
<BasicStats />
<BasicCTA /> <BasicCTA />
</main> </main>
</Layout> </Layout>