+ )
+ }
+
diff --git a/v3/src/config.yaml b/v3/src/config.yaml
new file mode 100644
index 0000000..8dab37c
--- /dev/null
+++ b/v3/src/config.yaml
@@ -0,0 +1,72 @@
+site:
+ name: AstroWind
+ site: 'https://astrowind.vercel.app'
+ base: '/'
+ trailingSlash: false
+
+ googleSiteVerificationId: orcPxI47GSa-cRvY11tUe6iGg2IO_RPvnA1q95iEM3M
+
+# Default SEO metadata
+metadata:
+ title:
+ default: AstroWind
+ template: '%s β AstroWind'
+ description: "\U0001F680 Suitable for Startups, Small Business, Sass Websites, Professional Portfolios, Marketing Websites, Landing Pages & Blogs."
+ robots:
+ index: true
+ follow: true
+ openGraph:
+ site_name: AstroWind
+ images:
+ - url: '~/assets/images/default.png'
+ width: 1200
+ height: 628
+ type: website
+ twitter:
+ handle: '@onwidget'
+ site: '@onwidget'
+ cardType: summary_large_image
+
+i18n:
+ language: en
+ textDirection: ltr
+
+apps:
+ blog:
+ isEnabled: true
+ postsPerPage: 6
+
+ post:
+ isEnabled: true
+ permalink: '/%slug%' # Variables: %slug%, %year%, %month%, %day%, %hour%, %minute%, %second%, %category%
+ robots:
+ index: true
+
+ list:
+ isEnabled: true
+ pathname: 'blog' # Blog main path, you can change this to "articles" (/articles)
+ robots:
+ index: true
+
+ category:
+ isEnabled: true
+ pathname: 'category' # Category main path /category/some-category, you can change this to "group" (/group/some-category)
+ robots:
+ index: true
+
+ tag:
+ isEnabled: true
+ pathname: 'tag' # Tag main path /tag/some-tag, you can change this to "topics" (/topics/some-category)
+ robots:
+ index: false
+
+ isRelatedPostsEnabled: true
+ relatedPostsCount: 4
+
+analytics:
+ vendors:
+ googleAnalytics:
+ id: null # or "G-XXXXXXXXXX"
+
+ui:
+ theme: 'system' # Values: "system" | "light" | "dark" | "light:only" | "dark:only"
diff --git a/v3/src/content/config.ts b/v3/src/content/config.ts
new file mode 100644
index 0000000..46abaed
--- /dev/null
+++ b/v3/src/content/config.ts
@@ -0,0 +1,68 @@
+import { z, defineCollection } from 'astro:content';
+
+const metadataDefinition = () =>
+ z
+ .object({
+ title: z.string().optional(),
+ ignoreTitleTemplate: z.boolean().optional(),
+
+ canonical: z.string().url().optional(),
+
+ robots: z
+ .object({
+ index: z.boolean().optional(),
+ follow: z.boolean().optional(),
+ })
+ .optional(),
+
+ description: z.string().optional(),
+
+ openGraph: z
+ .object({
+ url: z.string().optional(),
+ siteName: z.string().optional(),
+ images: z
+ .array(
+ z.object({
+ url: z.string(),
+ width: z.number().optional(),
+ height: z.number().optional(),
+ })
+ )
+ .optional(),
+ locale: z.string().optional(),
+ type: z.string().optional(),
+ })
+ .optional(),
+
+ twitter: z
+ .object({
+ handle: z.string().optional(),
+ site: z.string().optional(),
+ cardType: z.string().optional(),
+ })
+ .optional(),
+ })
+ .optional();
+
+const postCollection = defineCollection({
+ schema: z.object({
+ publishDate: z.date().optional(),
+ updateDate: z.date().optional(),
+ draft: z.boolean().optional(),
+
+ title: z.string(),
+ excerpt: z.string().optional(),
+ image: z.string().optional(),
+
+ category: z.string().optional(),
+ tags: z.array(z.string()).optional(),
+ author: z.string().optional(),
+
+ metadata: metadataDefinition(),
+ }),
+});
+
+export const collections = {
+ post: postCollection,
+};
diff --git a/v3/src/content/post/astrowind-template-in-depth.mdx b/v3/src/content/post/astrowind-template-in-depth.mdx
new file mode 100644
index 0000000..e7c4dd8
--- /dev/null
+++ b/v3/src/content/post/astrowind-template-in-depth.mdx
@@ -0,0 +1,207 @@
+---
+publishDate: 2023-07-17T00:00:00Z
+title: AstroWind template in depth
+excerpt: While easy to get started, Astrowind is quite complex internally. This page provides documentation on some of the more intricate parts.
+image: https://images.unsplash.com/photo-1534307671554-9a6d81f4d629?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1651&q=80
+category: Documentation
+tags:
+ - astro
+ - tailwind css
+ - front-end
+metadata:
+ canonical: https://astrowind.vercel.app/astrowind-template-in-depth
+---
+
+import DListItem from '~/components/ui/DListItem.astro';
+import ToggleTheme from '~/components/common/ToggleTheme.astro';
+
+## Overview
+
+It can be a somewhat daunting task trying to get a handle on _AstroWind_ internals, and particularly various points of usage.
+
+This page outlines and clarifies some of the techniques found in _AstroWind_. Use it as a guide for further modification, or an instructional for techniques to use in your own endeavors.
+
+## Styling
+
+As the name suggests, _AstroWind_ relies on _TailWind_ for styling. Furthermore, _AstroWind_ defines custom low level style settings which are incorporated into _TailWind_ seamlessly, and which provides consistency for higher level styling constructs, as well as enabling dark mode.
+
+The styling mechanism consists of the following files (all paths are prefixed with `/src/` ):
+
+
+ This file is essentially an extension of _TailWind's_ base.css. High-level component styles are defined here. Note
+ also styling on elements selected by 'attribute' selectors at the bottom of the files, particularly those selected by
+ 'data' attributes.
+
+
+ Defines custom colors and fonts. For these to take effect in the 'base.css' file, they need to be loaded in the html
+ header section. See next.
+
+
+ This layout is used for all of the pages rendered by _AstroWind_. The contents of _tailwind.css_ and
+ _CustomStyles.astro_ component, described above, is injected into the html header.
+
+
+### Dark Mode
+
+_Dark Mode_ is triggered by the little 'sunlight' icon:in the page header. It is defined in the _components/common/ToggleTheme.astro_, but the event is attached and the action defined in _components/common/BasicScripts.astro_ in the following snippet:
+
+```javascript
+attachEvent('[data-aw-toggle-color-scheme]', 'click', function () {
+ if (defaultTheme.endsWith(':only')) {
+ return;
+ }
+ document.documentElement.classList.toggle('dark');
+ localStorage.theme = document.documentElement.classList.contains('dark') ? 'dark' : 'light';
+});
+```
+
+Note that this is a client event. _BasicScripts.astro_ defines several other client-side functionality as well as this one.
+
+## Advanced Slot Usage
+
+_slots_ are part of the component implementation, which is a common concept among many frameworks, including _Astrojs_. The typical slot definition in a component looks like this:
+
+```astro
+---
+// (file: MyComponent.astro)
+const { title } = Astro.props;
+export interface Props {
+ title: string;
+}
+---
+
+
+
{title}
+
+
+
+
+```
+
+And in usage elsewhere:
+
+```astro
+import MyComponent from "~/components/MyComponent"; ...
+
+
This content will be displayed in the slot
+
+```
+
+### Alternate usage
+
+There's another way we can use slots, useful particularly when a component can have markdown content is as follows (study carefully...):
+
+```astro
+---
+// (file: MyComponent.astro)
+
+const { title } = Astro.props;
+export interface Props {
+ title: string;
+}
+const content: string = await Astro.props.render('default');
+---
+
+// renders the html to the 'content' variable
+
+
{title}
+
+
+
+
+```
+
+Whoa!! What's going on here?
+
+Notice there is no slot definition in the html portion of the component. Instead, what we do is have _Astro_ render the slot content (here, the 'default' content, but you can also render named slots) into a variable, and then use that content in a _div_ (for instance).
+
+So, if the usage is in a markdown file, like so:
+
+```mdx
+import MyComponent from '../../components/MyComponent';
+
+# Using the above component in a .mdx file (that can take components)
+
+{' '}
+
+### Here is some markdown content - With a bullet item.
+```
+
+_MyComponent_ renders the markdown to html and then injects it into the div.
+
+This actually has a big advantage -- consider that with the normal usage you don't have access to the slot contents: _Astro_ just plops the content into the _<slot/>_ tag. Using this method, however, allows you to access the content and further manipulate it before it gets inserted into the html.
+
+This allows a great deal of flexibility in component design.
+
+### Yet Another Step
+
+Now, we get to the techniques used in _AstroWind_, we'll use the _pages/index.astro_ file to illustrate.
+
+You'll note that the index file imports a lot of components, each one roughly analagous to a panel in the index page. Each of these components, in turn, is instantiated sequentially throughout the page. But, you'll notice that some of them use this kind of construct (we'll use the last section, _CallToAction_, as it is most illustrative of the technique):
+
+```astro
+
+
+ Astro + Tailwind CSS
+
+
+
+ Be very surprised by these huge fake numbers you are seeing on this page. Don't waste
+ more time! :P
+
+
+```
+
+Some things to note, here:
+
+
+ This argument is actually being passed a javascript object -- not a string. (However, in the TS definition, it could
+ be a string...)
+
+
+ Furthermore, these <Fragment/> elements each have a _slot="(value)"_ specifier.
+
+
+The latter seems odd, because <Fragment/> is a built-in component over which you have no control, and doesn't have a provision for rendering slots, per se.
+
+The answer lies in a paragraph in the _Astro_ docs, slots section, which states:
+
+> Use a `slot="my-slot"` attribute on the child element that you want to pass through to a matching slot `name="my-slot" />` placeholder in your component.
+
+That's pretty concise and a bit of a head-scratcher to read, but basically what it says is that:
+
+1. Given a component that defines a slot:
+1. you can reference a slot from a child element of that component and,
+1. provide content to the parent component's slot from the child by naming the slot in the child with a `slot=""` property assignment, where the _slot-name_ is the parent's slot.
+
+So, in the example above, the _CallToAction_ component defines the _subtitle_ slot, and the following _<Fragment slot="subtitle">_ populates the slot with the following content:
+
+```astro
+
+ Be very surprised by these huge fake numbers you are seeing on this page. Don't waste
+ more time! :P
+
+```
+
+And, the _CallToAction_ component defines and renders it thusly:
+
+```astro
+---
+//...
+const { subtitle = await Astro.slots.render('subtitle') } = Astro.props;
+---
+
+//...
+{subtitle && }
+//...
+```
+
+There's a lot to wrap your head around, here.
+
+Notice first that _subtitle_ is defined as a prop/argument, but it's being processed as a slot. Interestingly, prop args and slots seem to be somewhat interchangeable: if the subtitle was just a string, it would simply take that assignment. The main difference is that if you render them independently, you have to call the render with an _await_ modifier.
diff --git a/v3/src/content/post/get-started-website-with-astro-tailwind-css.md b/v3/src/content/post/get-started-website-with-astro-tailwind-css.md
new file mode 100644
index 0000000..2c88722
--- /dev/null
+++ b/v3/src/content/post/get-started-website-with-astro-tailwind-css.md
@@ -0,0 +1,51 @@
+---
+publishDate: 2023-08-12T00:00:00Z
+author: John Smith
+title: Get started with AstroWind to create a website using Astro and Tailwind CSS
+excerpt: Start your web journey with AstroWind β harness Astro and Tailwind CSS for a stunning site. Explore our guide now.
+image: https://images.unsplash.com/photo-1516996087931-5ae405802f9f?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80
+category: Tutorials
+tags:
+ - astro
+ - tailwind css
+metadata:
+ canonical: https://astrowind.vercel.app/get-started-website-with-astro-tailwind-css
+---
+
+Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
+
+## Nostra torquent consequat volutpat aliquet neque
+
+Lorem ipsum dolor sit amet consectetur adipiscing elit proin, aenean litora volutpat urna egestas magnis arcu non, cras ut cursus et sed morbi lectus. Integer faucibus sagittis eu nunc urna aliquet a laoreet torquent, suspendisse penatibus nulla sollicitudin congue rutrum dictum. Ornare mi habitasse fermentum phasellus dui et morbi litora sodales dictum id erat, nibh purus class ligula aenean lectus venenatis euismod cras torquent ac. Senectus sagittis conubia hendrerit at egestas porta venenatis nisi metus gravida tempor, aenean facilisis nisl ante facilisi lacus integer hac iaculis purus. Scelerisque libero torquent egestas curae tellus viverra inceptos imperdiet urna, porta suspendisse interdum primis odio morbi tempor commodo dictumst, suscipit ornare habitasse semper feugiat cras quisque lobortis.
+
+Iaculis arcu commodo dis proin vitae himenaeos, ante tristique potenti magna ligula, sagittis libero fermentum ullamcorper sociis. Sem eros non arcu natoque fringilla lacus vestibulum lacinia integer mus viverra in proin, sagittis fusce tortor erat enim rutrum vulputate curae laoreet class diam. Inceptos convallis ac nisi natoque nam quisque magnis ut nullam fringilla curae, luctus lacus purus habitant erat magna molestie class habitasse metus, nibh lobortis tortor curabitur neque phasellus feugiat netus morbi parturient. Neque malesuada mauris justo himenaeos pharetra, ullamcorper enim ligula a nulla consequat, eget vivamus velit ridiculus.
+
+## Praesent tellus ad sapien erat or
+
+- Quam orci nostra mi nulla, hac a.
+
+- Interdum iaculis quis tellus sociis orci nulla, quam rutrum conubia tortor primis.
+
+- Non felis sem placerat aenean duis, ornare turpis nostra.
+
+- Habitasse duis sociis sagittis cursus, ante dictumst commodo.
+
+Duis maecenas massa habitasse inceptos imperdiet scelerisque at condimentum ultrices, nam dui leo enim taciti varius cras habitant pretium rhoncus, ut hac euismod nostra metus sagittis mi aenean. Quam eleifend aliquet litora eget a tempor, ultricies integer vestibulum non felis sodales, eros diam massa libero iaculis.
+
+Nisl ligula ante magnis himenaeos pellentesque orci cras integer urna ut convallis, id phasellus libero est nunc ultrices eget blandit massa ac hac, morbi vulputate quisque tellus feugiat conubia luctus tincidunt curae fermentum. Venenatis dictumst tincidunt senectus vivamus duis dis sociis taciti porta primis, rhoncus ridiculus rutrum curae mattis ullamcorper ac sagittis nascetur curabitur erat, faucibus placerat vulputate eu at habitasse nulla nisl interdum. Varius turpis dignissim montes ac ante tristique quis parturient hendrerit faucibus, consequat auctor penatibus suspendisse rutrum erat nulla inceptos est justo, etiam mollis mauris facilisi cras sociosqu eu sapien sed.
+
+Blandit aptent conubia mollis mauris habitasse suspendisse torquent aenean, ac primis auctor congue cursus mi posuere molestie, velit elementum per feugiat libero dictumst phasellus. Convallis mollis taciti condimentum praesent id porttitor ac dictumst at, sed in eu eleifend vehicula fermentum lectus litora venenatis, gravida hac molestie cum sociosqu mus viverra torquent. Congue est fusce habitasse ridiculus integer suscipit platea volutpat, inceptos varius elementum pellentesque malesuada interdum magnis. Hac lacus eget enim purus massa commodo nec lectus natoque fames arcu, mattis class quam ut neque dui cras quis diam orci sed velit, erat morbi eros suscipit sagittis laoreet vivamus torquent nulla turpis.
+
+Ridiculus velit suscipit consequat auctor interdum magna gravida dictumst libero ut habitasse, sollicitudin vehicula suspendisse leo erat tristique at platea sagittis proin dignissim, id ornare scelerisque et urna maecenas congue tincidunt dictum malesuada. Dui vulputate accumsan scelerisque ridiculus dictum quisque et nam hac, tempus ultricies curabitur proin netus diam vivamus. Vestibulum ante ac auctor mi urna risus lacinia vulputate justo orci sociis dui semper, commodo morbi enim vivamus neque sem pellentesque velit donec hac metus odio. Tempor ultrices himenaeos massa sollicitudin mus conubia scelerisque cubilia, nascetur potenti mauris convallis et lectus gravida egestas sociis, erat eros ultricies aptent congue tortor ornare.
+
+Pretium aliquet sodales aliquam tincidunt litora lectus, erat dui nibh diam mus, sed hendrerit condimentum senectus arcu. Arcu a nibh auctor dapibus eros turpis tempus commodo, libero hendrerit dictum interdum mus class sed scelerisque, sapien dictumst enim magna molestie habitant donec. Fringilla dui sed curabitur commodo varius est vel, viverra primis habitant sapien montes mattis dignissim, gravida cubilia laoreet tempus aliquet senectus. Sociosqu purus praesent porttitor curae sollicitudin accumsan feugiat maecenas donec quis lacus, suscipit taciti convallis odio morbi eros nibh bibendum nunc orci. Magna cras nullam aliquam metus nibh sagittis facilisi tortor nec, mus varius curae ridiculus fames congue interdum erat urna, neque odio lobortis mi mattis diam cubilia arcu.
+
+Laoreet fusce nec class porttitor mus proin aenean, velit vestibulum feugiat porta egestas sapien posuere, conubia nisi tempus varius hendrerit tortor. Congue aliquam scelerisque neque vivamus habitasse semper mauris pellentesque accumsan posuere, suspendisse lectus gravida erat sagittis arcu praesent mus ornare. Habitasse nibh nam morbi mollis senectus erat risus, cum sollicitudin class platea congue mattis venenatis, luctus aenean parturient hendrerit malesuada ante. Mus auctor tincidunt consequat massa tortor nulla luctus habitasse vestibulum quis velit, laoreet sagittis cum facilisi in sem tellus leo vulputate vehicula bibendum orci, felis nisl blandit lacus convallis congue turpis magna facilisis condimentum.
+
+Dictumst pellentesque urna donec sociis suscipit montes consequat, commodo quam habitasse senectus fringilla maecenas, inceptos magna tristique eu nullam nam. Maecenas orci nibh hac eu tristique ut penatibus ultrices ante, pellentesque cubilia pharetra dis facilisis aliquam praesent malesuada vivamus, commodo cras velit convallis molestie nec tellus augue. Etiam ut convallis risus id dapibus platea laoreet accumsan, habitant et aenean netus inceptos iaculis per, mauris curae at ligula odio ad eu. Mauris erat tempor interdum sapien commodo per nullam tortor, fusce facilisis vehicula egestas dui nulla conubia ut fames, fringilla et tincidunt penatibus facilisi at mollis.
+
+Fermentum sociosqu litora primis sollicitudin fusce diam consequat vehicula per lobortis et, viverra sodales magna rutrum sed mollis faucibus molestie purus montes est, risus nostra congue venenatis lectus enim torquent eros dis dapibus. Dui suscipit scelerisque massa ligula euismod accumsan augue, magna vel lacus ante nullam senectus commodo, viverra cubilia eros eget penatibus tempor. Mattis mauris hac felis semper dui sociis faucibus mollis ornare pretium aliquam velit nisl, quis litora sem at vel duis rutrum imperdiet natoque viverra himenaeos tempor.
+
+Integer eu tristique purus luctus vivamus porttitor vel nisl, tortor malesuada augue vulputate diam velit pellentesque sodales, duis phasellus vestibulum fermentum leo facilisi porta. Hac porttitor cum dapibus volutpat quisque odio taciti nulla senectus mollis curae, accumsan suscipit cubilia tempor ligula in venenatis justo leo erat, magna tincidunt nullam lacinia luctus malesuada non vivamus praesent pharetra. Non quam felis montes pretium volutpat suspendisse lacus, torquent magna dictumst orci libero porta, feugiat taciti cras ridiculus aenean rutrum. Tellus nostra tincidunt hac in ligula mi vulputate venenatis pellentesque urna dui, at luctus tristique quisque vel a dignissim scelerisque platea pretium, suspendisse ante phasellus porttitor quis aliquam malesuada etiam enim nullam.
+
+Hendrerit taciti litora nec facilisis diam vehicula magnis potenti, parturient velit egestas nisl lobortis tincidunt rutrum cursus, fusce senectus mi massa primis mattis rhoncus. Accumsan est ac varius consequat vulputate, ligula cursus euismod sagittis inceptos scelerisque, lacus malesuada torquent dictumst. Volutpat morbi metus urna rhoncus nunc tempor molestie, congue curabitur quis interdum posuere. Mollis viverra velit tortor mus netus nunc molestie metus, sem massa himenaeos luctus feugiat taciti iaculis fames porttitor, leo arcu consequat gravida dapibus pulvinar elementum.
diff --git a/v3/src/content/post/how-to-customize-astrowind-to-your-brand.md b/v3/src/content/post/how-to-customize-astrowind-to-your-brand.md
new file mode 100644
index 0000000..efd9b63
--- /dev/null
+++ b/v3/src/content/post/how-to-customize-astrowind-to-your-brand.md
@@ -0,0 +1,64 @@
+---
+publishDate: 2023-08-06T00:00:00Z
+title: How to customize AstroWind template to suit your branding
+excerpt: Personalize AstroWind template for your brand. Our guide unlocks seamless customization steps for a unique online presence.
+image: https://images.unsplash.com/photo-1546984575-757f4f7c13cf?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80
+tags:
+ - astro
+ - tailwind css
+ - theme
+metadata:
+ canonical: https://astrowind.vercel.app/how-to-customize-astrowind-to-your-brand
+---
+
+## Congue justo vulputate nascetur convallis varius orci fringilla nulla pharetr
+
+Lorem ipsum dolor sit amet consectetur adipiscing elit, augue malesuada natoque in ad erat aliquam facilisi, lacus rhoncus mattis nostra et a. Mauris malesuada rutrum dis libero egestas mus vulputate, fermentum ad morbi phasellus faucibus tellus leo urna, blandit ullamcorper diam imperdiet dictumst litora. Fringilla eros malesuada lobortis mi odio metus leo, blandit imperdiet augue fames aliquam ultricies tortor massa, duis magnis hendrerit id magna sociosqu. Aptent mi imperdiet id sapien suscipit ut netus turpis, lacinia ac porttitor potenti dui taciti at egestas, fermentum neque nascetur sodales tortor nunc congue.
+
+Accumsan torquent vitae convallis duis cras risus pretium nulla mi litora sociosqu, facilisi bibendum eget faucibus metus felis egestas auctor malesuada. Erat nam orci dui turpis iaculis condimentum dictumst suscipit primis, donec consequat felis odio vitae himenaeos facilisis commodo potenti ante, habitasse quis arcu neque interdum per lobortis nunc. Ultricies lobortis ullamcorper sagittis et sollicitudin sociis sed dignissim posuere, nisi pharetra erat varius id aenean lacinia commodo morbi primis, ornare diam proin nunc volutpat nec dui egestas.
+
+## Mauris velit laoreet vitae cursus augue
+
+- Massa egestas consequat nisl id volutpat, varius neque aenean.
+
+- Venenatis tincidunt eros pretium viverra lacinia convallis, turpis orci condimentum fusce.
+
+- Pellentesque in aliquet nisi gravida netus, commodo aptent volutpat.
+
+- Nisi rutrum eros euismod, parturient ullamcorper mattis a, dapibus vestibulum.
+
+Senectus fermentum tristique egestas bibendum per dictumst purus pharetra cras dictum pulvinar, vitae nec eros montes dis quis nullam duis netus litora, feugiat cubilia mollis porttitor velit ligula metus ante risus eu.
+
+Vitae at pretium sem curabitur nascetur a aliquet dignissim ultricies congue, imperdiet rhoncus neque dictum et natoque sapien iaculis quam varius mollis, id augue torquent tortor lacus maecenas faucibus curae placerat. Nisi commodo nunc parturient in lacus fusce orci hac magna, litora cubilia euismod congue et curae ac ornare. Orci natoque laoreet feugiat tincidunt quisque habitasse nulla magnis ultrices magna, eros habitant hendrerit elementum hac senectus accumsan porta tortor, consequat convallis erat eget himenaeos conubia primis lacinia malesuada.
+
+Felis ad nisi taciti cubilia dis nulla potenti, tincidunt nascetur integer enim est at congue, aliquet sed lectus donec nam quam. Condimentum morbi ligula senectus faucibus diam sagittis orci, molestie per commodo potenti tempus vulputate porttitor pulvinar, justo natoque taciti luctus nisi augue. Ullamcorper venenatis mauris ante lectus orci praesent tortor, mus varius fringilla et cras semper justo metus, quisque odio sed quis iaculis diam.
+
+Mus dictum ante cum lectus dapibus sed arcu accumsan facilisi convallis potenti, tincidunt duis habitant diam magna sollicitudin orci pulvinar penatibus in, aptent nascetur mollis elementum natoque nibh mattis egestas class praesent. Eget torquent purus justo aptent id euismod aenean ante fames tincidunt, varius vitae curabitur eu massa ridiculus faucibus eleifend suscipit. Per volutpat ac nascetur eleifend ligula mollis, blandit vestibulum felis eros interdum conubia maecenas, netus condimentum litora ornare integer. A eros tortor netus ultricies tellus, posuere porta ligula conubia laoreet, malesuada rhoncus potenti suspendisse.
+
+Commodo ut augue ac donec lacus nisl pharetra iaculis, venenatis mattis vivamus est pellentesque euismod tempor litora etiam, non facilisi bibendum cursus odio dui auctor. Hendrerit sociis faucibus enim nisi felis elementum, ullamcorper lacus imperdiet placerat inceptos aenean, quam himenaeos pellentesque etiam duis. Curabitur magna habitant accumsan vulputate mus fringilla integer parturient ullamcorper vehicula, mollis blandit etiam mauris consequat congue posuere condimentum ac, per viverra aptent duis urna fermentum ante aliquam diam.
+
+Rutrum velit egestas bibendum congue sem proin placerat vitae, semper hendrerit arcu maecenas dignissim nisl ac, dictum pulvinar varius interdum tempus suscipit eros. Ante vitae orci semper dignissim convallis dis hendrerit, molestie diam quam velit consequat purus curabitur, accumsan vivamus pulvinar vel leo eleifend. Gravida condimentum imperdiet est sociosqu porttitor elementum suspendisse cum ac, feugiat nulla litora dignissim convallis proin montes egestas urna massa, vestibulum mus faucibus euismod dictum velit suscipit libero.
+
+Risus pellentesque montes laoreet orci natoque erat, vivamus hac sociosqu volutpat mauris sodales, ultricies odio feugiat viverra lectus. Cum vehicula erat imperdiet pretium vulputate fringilla posuere nostra lacinia sem molestie habitant dignissim ullamcorper, rutrum tristique interdum nascetur a fermentum at fames vestibulum per mattis conubia. Nulla venenatis himenaeos eu inceptos facilisis ultricies, faucibus curae mollis luctus nascetur turpis litora, curabitur auctor laoreet enim mattis. Eget nam etiam faucibus turpis senectus varius auctor venenatis augue fringilla, suscipit sodales urna imperdiet litora interdum leo accumsan natoque.
+
+Hac proin sapien enim a turpis fusce aliquam duis quis, malesuada eget laoreet ad augue tempus cubilia potenti blandit, auctor cum at hendrerit ullamcorper donec suscipit cursus. Ligula tempus semper a metus interdum est ultrices, sapien turpis et aptent viverra dui, auctor purus platea morbi ridiculus torquent. Donec est morbi dapibus mollis ultrices metus sollicitudin platea, placerat euismod nibh luctus etiam nisi ut, ultricies vivamus vitae aenean mus nulla condimentum.
+
+Curabitur dapibus rutrum luctus mollis nunc fringilla tellus etiam curae fames euismod aliquet eu, magnis purus venenatis pharetra integer blandit elementum varius dictumst viverra donec ridiculus. Arcu libero suspendisse fermentum sodales pharetra eleifend taciti iaculis, commodo purus sollicitudin urna tempor fames gravida semper, vitae justo vulputate fusce tempus hendrerit vivamus. Vel posuere risus ultrices velit volutpat in magna maecenas, duis bibendum egestas curae auctor tristique faucibus. Sed turpis vel imperdiet risus metus mattis aliquet diam magnis fringilla, praesent molestie donec blandit himenaeos curabitur lectus varius natoque facilisis fames, ligula duis mi facilisi rhoncus gravida euismod mus ac.
+
+Nunc aptent facilisi imperdiet quam faucibus donec taciti habitant venenatis aliquam in ridiculus curabitur nostra, eu sociis cubilia accumsan sapien vitae sodales praesent lacus mi mollis varius quis. Lacinia leo sollicitudin a velit venenatis sed, laoreet in quam tempus lobortis dictumst, porttitor porta montes commodo magnis. Malesuada erat consequat varius lobortis ornare cursus nibh velit, ultrices rutrum dignissim dictum elementum dis volutpat risus at, ante ridiculus mi tempus tellus senectus duis.
+
+Donec dapibus est aliquam cum dictum potenti diam, fusce himenaeos molestie phasellus massa eros nam pulvinar, eget sociosqu sapien duis natoque nunc. Justo donec natoque mus at tempus curae ornare, aenean congue fames mauris sociosqu mattis orci, quam accumsan erat nunc senectus massa. Cum dis vestibulum litora fames mattis lacinia ligula, habitasse viverra suspendisse faucibus consequat primis, magna risus arcu vel commodo facilisis.
+
+Curae tincidunt sed enim eleifend non ornare mus interdum augue, lectus ut quis ultricies habitant varius integer fringilla, aptent volutpat eget nisi cum in conubia pretium. Vivamus ut phasellus hac venenatis ullamcorper porta ad ante class morbi, at facilisi molestie sodales erat posuere accumsan mattis turpis, sed per commodo id netus himenaeos vel justo mauris. Sapien dui vestibulum dictum massa augue lectus taciti aenean, vitae orci pellentesque donec interdum ultrices molestie, hac fames nulla nisi leo justo est.
+
+Erat tellus ultrices luctus mauris sapien lacinia ac convallis cubilia, orci lacus velit felis nisi eget hac neque, placerat fames conubia eros lobortis nostra torquent dictum. Ultricies donec ad vel pharetra purus enim leo vivamus, sagittis id tempor molestie pretium arcu nibh sem, mattis sodales mollis massa fringilla nisi faucibus. Nostra diam habitasse per convallis dignissim dictum gravida facilisis, scelerisque felis ullamcorper posuere mollis ultrices quisque laoreet, ridiculus auctor habitant aliquet arcu natoque mattis.
+
+Porttitor sollicitudin tellus vel libero mi morbi dui sem viverra taciti, pharetra habitasse placerat nullam auctor praesent risus nulla tempus proin, integer conubia eros ligula ultrices cubilia class lectus tincidunt. Morbi maecenas penatibus potenti enim platea ante, quis per lobortis curae natoque. Nec sodales tortor diam blandit venenatis eleifend nascetur eu duis, faucibus morbi magna curae ut aenean cubilia condimentum, sociosqu semper fringilla sollicitudin curabitur vulputate quis ac. Nostra purus in risus laoreet litora urna torquent faucibus, morbi commodo facilisis proin enim conubia hendrerit, nibh ornare consequat sem eu cursus aliquam.
+
+Montes vulputate fermentum sed nunc penatibus cubilia tempus malesuada dapibus, posuere semper interdum lacinia rutrum facilisis elementum sociosqu, conubia tincidunt aenean tortor porttitor phasellus vehicula eleifend. Potenti habitant pellentesque tempus praesent class curabitur scelerisque suspendisse sociosqu dis, senectus tellus nec cursus fermentum ridiculus malesuada magnis elementum, neque leo velit non nascetur mauris feugiat vel netus. Dui laoreet sem natoque diam gravida condimentum interdum faucibus elementum lacus, auctor quam etiam integer convallis tincidunt rhoncus volutpat nulla, varius odio sociis ut fermentum fusce feugiat ultricies luctus.
+
+Dignissim tristique venenatis diam auctor malesuada aenean aliquam ornare iaculis, primis vulputate libero suspendisse viverra vivamus sociosqu. Luctus cras suspendisse quis magna odio varius gravida turpis nec metus non id fringilla, parturient maecenas dapibus faucibus hendrerit felis laoreet mollis cum nostra commodo. Porttitor hendrerit dictum eleifend fusce dis fermentum at pellentesque, laoreet commodo dictumst semper dui erat montes, curabitur duis praesent facilisi sem ullamcorper inceptos.
+
+Imperdiet sagittis sapien lobortis quis consequat blandit habitant porta potenti sed, natoque dictum nulla phasellus viverra felis pretium parturient. Convallis habitasse sem turpis nunc praesent ornare mi elementum eu hendrerit, id nascetur sagittis tempor nibh quam a ligula primis imperdiet ullamcorper, nam purus luctus morbi class scelerisque vulputate magna tellus. Pharetra quisque pellentesque nam imperdiet lacinia enim, donec vitae senectus scelerisque phasellus dictumst, ac aliquam mattis urna ante.
+
+Habitant praesent pulvinar scelerisque per phasellus lobortis velit, magnis odio himenaeos primis curabitur senectus, nascetur ullamcorper convallis nunc placerat nisl. Porta tellus commodo praesent ullamcorper cursus senectus tempor vivamus, penatibus eu purus ultrices posuere mi sodales, urna quisque accumsan imperdiet convallis aptent nisl. Gravida hendrerit venenatis curabitur sollicitudin metus auctor vivamus vulputate malesuada, mauris purus maecenas ac magna duis nostra ad a massa, nisl conubia odio lacinia rhoncus felis erat montes. Nostra eros proin mi venenatis enim semper ad magnis netus, in vestibulum ornare ac fusce aliquet aptent non condimentum faucibus, tempor arcu potenti blandit magna consequat luctus nam.
diff --git a/v3/src/content/post/landing.md b/v3/src/content/post/landing.md
new file mode 100644
index 0000000..e5eac32
--- /dev/null
+++ b/v3/src/content/post/landing.md
@@ -0,0 +1,152 @@
+---
+publishDate: 2023-07-15T00:00:00Z
+title: 'Mastering Landing Pages: Practical Guide for 2023'
+excerpt: Ever clicked on an ad and found yourself on a page that seemed to really want you to do something? Congratulations, you've landed on a Landing Page!
+image: https://images.unsplash.com/photo-1561069934-eee225952461?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80
+tags:
+ - landing-pages
+ - front-end
+ - resources
+metadata:
+ canonical: https://astrowind.vercel.app/landing
+---
+
+In the vast digital landscape, standing out is more than a desireβit's a necessity. Enter the world of Landing Pages, the unsung heroes of digital marketing. With the power of the AstroWind template, developed using Astro and Tailwind CSS, crafting these pages becomes even more intuitive. Let's dive deep into understanding, creating, and optimizing them.
+
+## Landing Pages Unveiled
+
+A **Landing Page** is a standalone web page, distinct from your main website. Crafted with a singular objective: to convert visitors into actionable leads or sales. It's where a visitor "lands" post-clicking on a marketing link or ad.
+
+Imagine clicking on an ad for a limited-time discount on a popular shoe brand. This action guides you to a page that showcases the discounted shoes, featuring a clear "Buy Now" button. That's a Landing Page in action, focusing your attention solely on the offer.
+
+## The Power of Precision
+
+Unlike a homepage brimming with diverse content, a Landing Page is laser-focused. It eliminates potential distractions like excessive navigation, ensuring the visitor's attention remains undivided. The result? Higher conversion rates and a more streamlined user experience.
+
+![Target](https://images.unsplash.com/photo-1596008194705-2091cd6764d4?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1639&q=80)
+
+Think of a Landing Page as a digital salesperson. Just as a salesperson would pitch a product without distractions, a Landing Page promotes an offer without unnecessary links or information. It's like walking into a store with a single product on display, making your choice straightforward.
+
+## Why Landing Pages Matter
+
+In today's digital rush, hoping customers stumble upon you is a strategy of the past. Landing Pages are the future. They:
+
+- **Guide Traffic**: Directing visitors seamlessly through the sales funnel.
+- **Boost ROI**: Maximizing returns on marketing investments.
+- **Personalize User Experience**: Tailoring content to specific audience segments.
+
+For instance, if you're launching a new fitness app. A well-crafted Landing Page can target individuals interested in health and wellness, offering them a free trial. This targeted approach ensures that those genuinely interested in fitness are the ones you're engaging with.
+
+## Crafting the Perfect Landing Page
+
+Every element of your Landing Page should resonate with its core objective. Here's what a high-converting Landing Page entails:
+
+- **Benefit-Centric Headline**: Your headline should instantly convey the value proposition.
+- **Engaging Imagery**: Visuals that complement and enhance the content.
+- **Compelling Copy**: Clear, concise, and persuasive text that speaks directly to the visitor's needs.
+- **Clear Call-to-Action (CTA)**: A standout button or link urging the visitor to take action.
+- **Minimalist Design**: A clutter-free layout that emphasizes the offer. For example, using a Tailwind CSS web template like AstroWind.
+- **Trust Indicators**: Endorsements, reviews, and badges that bolster credibility.
+
+Imagine browsing online for a writing course. You land on a page with a captivating headline: "Unlock the Writer Within." Below, there's an engaging image of a person writing, followed by persuasive text and a bright "Enroll Now" button. This Landing Page has effectively used its elements to entice you to sign up.
+
+## Homepage vs. Landing Page
+
+While both are pivotal, they serve distinct roles:
+
+- **Homepage**: Offers a panoramic view of your brand, catering to diverse visitor intents.
+- **Landing Page**: Zeros in on a single, specific action, be it signing up, purchasing, or downloading.
+
+Consider a popular online store. Their homepage might display various product categories, from electronics to clothing. However, if theyβre promoting a summer sale, the Landing Page would focus solely on summer products. This focused approach urges visitors to take action, encouraging them to "Shop the Summer Sale Now!"
+
+## The Art of Optimization
+
+The digital realm is ever-evolving. Regular tweaks based on analytics can ensure your Landing Page remains a conversion powerhouse. Embrace A/B testing to compare different versions and refine for optimal results.
+
+Let's say you have a Landing Page for a new skincare product. Version A uses an image of the product, while Version B showcases a video review. A/B testing might reveal that Version B, with the video, has a 20% higher conversion rate. Such insights can be invaluable for future campaigns.
+
+## Landing Pages in Action
+
+Landing Pages are versatile tools in your marketing toolkit. They play a role in various scenarios: promoting a product launch, capturing emails for a newsletter, or driving event registrations. Theyβre not just about capturing leads but nurturing and converting them.
+
+Presented below are several prevalent types of Landing Pages. Each link offers a prime example of its respective type. Additionally, we carefully craft each link in the form of a comprehensive guide.
+
+This approach ensures that you observe the best practices in action. Also, it enables you to acquire a step-by-step understanding of how to skillfully create each type.
+
+### [Lead Generation Landing Page](landing/lead-generation)
+
+**Purpose**: Designed primarily to capture user data, such as email addresses or contact details.
+
+**Content**: Usually includes a form where users can input their details. It also highlights what they'll get in return, such as an eBook, a webinar, or a free trial.
+
+**Focus**: Enticing visitors to provide their personal details by offering something valuable in return.
+
+**Key Differentiator**: Unlike βClick-through Landing Pages,β which guide users to another step, these directly gather user data.
+
+**Example**: A digital marketing agency offering a free SEO audit in exchange for business contact details.
+
+### [Long-form Sales Landing Page](landing/sales)
+
+**Purpose**: Primarily designed to sell, aiming to persuade and convert visitors into customers.
+
+**Content**: Extensive, providing a wealth of information including product details, benefits, user stories, success stories, guarantees, and bonuses.
+
+**Focus**: Utilizes a narrative to present a problem and offer the product or service as the solution. The aim is to emotionally connect with the visitor.
+
+**Key Differentiator**: While 'Click-through Landing Pages' warm up the visitor for a bigger commitment. 'Long-form Sales Landing Pages' aim to close the sale directly on the page.
+
+**Example**: A weight loss program detailing a person's journey and the challenges they've faced. It also highlights how the program assisted them and why it's an ideal solution for others.
+
+### [Click-through Landing Page](landing/click-through)
+
+**Purpose**: Acts as a middle step, warming up visitors for a bigger commitment.
+
+**Content**: Provides essential details and benefits of an offer, urging visitors to click through to another page.
+
+**Focus**: To lead visitors to the final conversion point, be it a checkout page or a sign-up form.
+
+**Key Differentiator**: Unlike "Subscription Landing Pages" that aim for a recurring commitment, these lead to a one-time action.
+
+**Example**: An online store showcasing a new product's benefits, leading visitors to the purchase page.
+
+### [Product Details Landing Page](landing/product)
+
+**Purpose**: Designed to inform by providing specific details about a product or service.
+
+**Content**: Focuses on features, specifications, and benefits. May include high-quality images, detailed descriptions, demo videos, and user reviews.
+
+**Focus**: Presents the product or service transparently and attractively.
+
+**Key Differentiator**: While 'Long-form Sales Landing Pages' aim to persuade through narratives and overcoming objections. 'Product Details Landing Pages' focus on presenting the product or service in a clear and detailed manner.
+
+**Example**: A tech website detailing a new laptop's specifications, unique features, comparisons with previous models, and user reviews.
+
+### [Coming Soon or Pre-Launch Landing Page](landing/pre-launch)
+
+**Purpose**: Creates excitement for an upcoming product, service, or event.
+
+**Content**: Often includes a countdown timer, teaser content, and an option to sign up for notifications.
+
+**Focus**: To generate buzz and capture early interest.
+
+**Key Differentiator**: Unlike other landing pages that present available offers, these promote something not yet accessible.
+
+**Example**: A game developer teasing their upcoming game release with sneak peeks and an option for early access.
+
+### [Subscription Landing Page](landing/subscription)
+
+**Purpose**: Encourages visitors to subscribe to a service, newsletter, or recurring product.
+
+**Content**: Highlights the benefits of subscribing, often offering special deals or exclusive content for subscribers.
+
+**Focus**: To secure a long-term commitment from the visitor.
+
+**Key Differentiator**: Unlike "Click-through Landing Pages" that lead to a one-time action, these aim for a recurring commitment.
+
+**Example**: A magazine promoting its monthly subscription, detailing exclusive articles and special subscriber-only benefits.
+
+## Conclusion
+
+In the digital marketing symphony, Landing Pages become the crescendo. They capture attention, evoke action, and drive results. As we move forward, an essential task is to optimize, maintain relevance, and create high-converting Landing Pages. These factors collectively hold the key to achieving digital success.
+
+Imagine a world where every online interaction gets personalized and directed. This showcases the potential of Landing Pages. For startups seeking traction or established brands introducing new products, Landing Pages can serve as the catalyst. They possess the power to spur digital growth and boost engagement.
diff --git a/v3/src/content/post/markdown-elements-demo-post.mdx b/v3/src/content/post/markdown-elements-demo-post.mdx
new file mode 100644
index 0000000..a55669d
--- /dev/null
+++ b/v3/src/content/post/markdown-elements-demo-post.mdx
@@ -0,0 +1,204 @@
+---
+publishDate: 2023-01-02T00:00:00Z
+title: Markdown elements demo post
+excerpt: Sint sit cillum pariatur eiusmod nulla pariatur ipsum. Sit laborum anim qui mollit tempor pariatur nisi minim dolor.
+tags:
+ - markdown
+ - blog
+ - Astro
+---
+
+import Logo from '~/components/Logo.astro';
+import { YouTube, Tweet, Vimeo } from 'astro-embed';
+
+Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
+
+## Headings
+
+Sint sit cillum pariatur eiusmod nulla pariatur ipsum. Sit laborum anim qui mollit tempor pariatur nisi minim dolor. Aliquip et adipisicing sit sit fugiat commodo id sunt. Nostrud enim ad commodo incididunt cupidatat in ullamco ullamco Lorem cupidatat velit enim et Lorem. Ut laborum cillum laboris fugiat culpa sint irure do reprehenderit culpa occaecat. Exercitation esse mollit tempor magna aliqua in occaecat aliquip veniam reprehenderit nisi dolor in laboris dolore velit.
+
+## Heading two
+
+Aute officia nulla deserunt do deserunt cillum velit magna. Officia veniam culpa anim minim dolore labore pariatur voluptate id ad est duis quis velit dolor pariatur enim. Incididunt enim excepteur do veniam consequat culpa do voluptate dolor fugiat ad adipisicing sit. Labore officia est adipisicing dolore proident eiusmod exercitation deserunt ullamco anim do occaecat velit. Elit dolor consectetur proident sunt aliquip est do tempor quis aliqua culpa aute. Duis in tempor exercitation pariatur et adipisicing mollit irure tempor ut enim esse commodo laboris proident. Do excepteur laborum anim esse aliquip eu sit id Lorem incididunt elit irure ea nulla dolor et. Nulla amet fugiat qui minim deserunt enim eu cupidatat aute officia do velit ea reprehenderit.
+
+### Heading three
+
+Voluptate cupidatat cillum elit quis ipsum eu voluptate fugiat consectetur enim. Quis ut voluptate culpa ex anim aute consectetur dolore proident voluptate exercitation eiusmod. Esse in do anim magna minim culpa sint. Adipisicing ipsum consectetur proident ullamco magna sit amet aliqua aute fugiat laborum exercitation duis et.
+
+#### Heading four
+
+Commodo fugiat aliqua minim quis pariatur mollit id tempor. Non occaecat minim esse enim aliqua adipisicing nostrud duis consequat eu adipisicing qui. Minim aliquip sit excepteur ipsum consequat laborum pariatur excepteur. Veniam fugiat et amet ad elit anim laborum duis mollit occaecat et et ipsum et reprehenderit. Occaecat aliquip dolore adipisicing sint labore occaecat officia fugiat. Quis adipisicing exercitation exercitation eu amet est laboris sunt nostrud ipsum reprehenderit ullamco. Enim sint ut consectetur id anim aute voluptate exercitation mollit dolore magna magna est Lorem. Ut adipisicing adipisicing aliqua ullamco voluptate labore nisi tempor esse magna incididunt.
+
+##### Heading five
+
+Veniam enim esse amet veniam deserunt laboris amet enim consequat. Minim nostrud deserunt cillum consectetur commodo eu enim nostrud ullamco occaecat excepteur. Aliquip et ut est commodo enim dolor amet sint excepteur. Amet ad laboris laborum deserunt sint sunt aliqua commodo ex duis deserunt enim est ex labore ut. Duis incididunt velit adipisicing non incididunt adipisicing adipisicing. Ad irure duis nisi tempor eu dolor fugiat magna et consequat tempor eu ex dolore. Mollit esse nisi qui culpa ut nisi ex proident culpa cupidatat cillum culpa occaecat anim. Ut officia sit ea nisi ea excepteur nostrud ipsum et nulla.
+
+###### Heading six
+
+Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
+
+[[Top]](#top)
+
+## Paragraphs
+
+Incididunt ex adipisicing ea ullamco consectetur in voluptate proident fugiat tempor deserunt reprehenderit ullamco id dolore laborum. Do laboris laboris minim incididunt qui consectetur exercitation adipisicing dolore et magna consequat magna anim sunt. Officia fugiat Lorem sunt pariatur incididunt Lorem reprehenderit proident irure. Dolore ipsum aliqua mollit ad officia fugiat sit eu aliquip cupidatat ipsum duis laborum laborum fugiat esse. Voluptate anim ex dolore deserunt ea ex eiusmod irure. Occaecat excepteur aliqua exercitation aliquip dolor esse eu eu.
+
+Officia dolore laborum aute incididunt commodo nisi velit est est elit et dolore elit exercitation. Enim aliquip magna id ipsum aliquip consectetur ad nulla quis. Incididunt pariatur dolor consectetur cillum enim velit cupidatat laborum quis ex.
+
+Officia irure in non voluptate adipisicing sit amet tempor duis dolore deserunt enim ut. Reprehenderit incididunt in ad anim et deserunt deserunt Lorem laborum quis. Enim aute anim labore proident laboris voluptate elit excepteur in. Ex labore nulla velit officia ullamco Lorem Lorem id do. Dolore ullamco ipsum magna dolor pariatur voluptate ipsum id occaecat ipsum. Dolore tempor quis duis commodo quis quis enim.
+
+[[Top]](#top)
+
+## Blockquotes
+
+Ad nisi laborum aute cupidatat magna deserunt eu id laboris id. Aliquip nulla cupidatat sint ex Lorem mollit laborum dolor amet est ut esse aute. Nostrud ex consequat id incididunt proident ipsum minim duis aliqua ut ex et ad quis. Laborum sint esse cillum anim nulla cillum consectetur aliqua sit. Nisi excepteur cillum labore amet excepteur commodo enim occaecat consequat ipsum proident exercitation duis id in.
+
+> Ipsum et cupidatat mollit exercitation enim duis sunt irure aliqua reprehenderit mollit. Pariatur Lorem pariatur laboris do culpa do elit irure. Eiusmod amet nulla voluptate velit culpa et aliqua ad reprehenderit sit ut.
+
+Labore ea magna Lorem consequat aliquip consectetur cillum duis dolore. Et veniam dolor qui incididunt minim amet laboris sit. Dolore ad esse commodo et dolore amet est velit ut nisi ea. Excepteur ea nulla commodo dolore anim dolore adipisicing eiusmod labore id enim esse quis mollit deserunt est. Minim ea culpa voluptate nostrud commodo proident in duis aliquip minim.
+
+> Qui est sit et reprehenderit aute est esse enim aliqua id aliquip ea anim. Pariatur sint reprehenderit mollit velit voluptate enim consectetur sint enim. Quis exercitation proident elit non id qui culpa dolore esse aliquip consequat.
+
+Ipsum excepteur cupidatat sunt minim ad eiusmod tempor sit.
+
+> Deserunt excepteur adipisicing culpa pariatur cillum laboris ullamco nisi fugiat cillum officia. In cupidatat nulla aliquip tempor ad Lorem Lorem quis voluptate officia consectetur pariatur ex in est duis. Mollit id esse est elit exercitation voluptate nostrud nisi laborum magna dolore dolore tempor in est consectetur.
+
+Adipisicing voluptate ipsum culpa voluptate id aute laboris labore esse fugiat veniam ullamco occaecat do ut. Tempor et esse reprehenderit veniam proident ipsum irure sit ullamco et labore ea excepteur nulla labore ut. Ex aute minim quis tempor in eu id id irure ea nostrud dolor esse.
+
+[[Top]](#top)
+
+## Lists
+
+### Ordered List
+
+1. Longan
+2. Lychee
+3. Excepteur ad cupidatat do elit laborum amet cillum reprehenderit consequat quis.
+ Deserunt officia esse aliquip consectetur duis ut labore laborum commodo aliquip aliquip velit pariatur dolore.
+4. Marionberry
+5. Melon
+ - Cantaloupe
+ - Honeydew
+ - Watermelon
+6. Miracle fruit
+7. Mulberry
+
+### Unordered List
+
+- Olive
+- Orange
+ - Blood orange
+ - Clementine
+- Papaya
+- Ut aute ipsum occaecat nisi culpa Lorem id occaecat cupidatat id id magna laboris ad duis. Fugiat cillum dolore veniam nostrud proident sint consectetur eiusmod irure adipisicing.
+- Passionfruit
+
+[[Top]](#top)
+
+## Horizontal rule
+
+In dolore velit aliquip labore mollit minim tempor veniam eu veniam ad in sint aliquip mollit mollit. Ex occaecat non deserunt elit laborum sunt tempor sint consequat culpa culpa qui sit. Irure ad commodo eu voluptate mollit cillum cupidatat veniam proident amet minim reprehenderit.
+
+---
+
+In laboris eiusmod reprehenderit aliquip sit proident occaecat. Non sit labore anim elit veniam Lorem minim commodo eiusmod irure do minim nisi. Dolor amet cillum excepteur consequat sint non sint.
+
+[[Top]](#top)
+
+## Table
+
+Duis sunt ut pariatur reprehenderit mollit mollit magna dolore in pariatur nulla commodo sit dolor ad fugiat. Laboris amet ea occaecat duis eu enim exercitation deserunt ea laborum occaecat reprehenderit. Et incididunt dolor commodo consequat mollit nisi proident non pariatur in et incididunt id. Eu ut et Lorem ea ex magna minim ipsum ipsum do.
+
+| Table Heading 1 | Table Heading 2 | Center align | Right align | Table Heading 5 |
+| :-------------- | :-------------- | :----------: | ----------: | :-------------- |
+| Item 1 | Item 2 | Item 3 | Item 4 | Item 5 |
+| Item 1 | Item 2 | Item 3 | Item 4 | Item 5 |
+| Item 1 | Item 2 | Item 3 | Item 4 | Item 5 |
+| Item 1 | Item 2 | Item 3 | Item 4 | Item 5 |
+| Item 1 | Item 2 | Item 3 | Item 4 | Item 5 |
+
+Minim id consequat adipisicing cupidatat laborum culpa veniam non consectetur et duis pariatur reprehenderit eu ex consectetur. Sunt nisi qui eiusmod ut cillum laborum Lorem officia aliquip laboris ullamco nostrud laboris non irure laboris. Cillum dolore labore Lorem deserunt mollit voluptate esse incididunt ex dolor.
+
+[[Top]](#top)
+
+## Code
+
+### Inline code
+
+Ad amet irure est magna id mollit Lorem in do duis enim. Excepteur velit nisi magna ea pariatur pariatur ullamco fugiat deserunt sint non sint. Duis duis est `code in text` velit velit aute culpa ex quis pariatur pariatur laborum aute pariatur duis tempor sunt ad. Irure magna voluptate dolore consectetur consectetur irure esse. Anim magna `in culpa qui officia` dolor eiusmod esse amet aute cupidatat aliqua do id voluptate cupidatat reprehenderit amet labore deserunt.
+
+### Highlighted
+
+Et fugiat ad nisi amet magna labore do cillum fugiat occaecat cillum Lorem proident. In sint dolor ullamco ad do adipisicing amet id excepteur Lorem aliquip sit irure veniam laborum duis cillum. Aliqua occaecat minim cillum deserunt magna sunt laboris do do irure ea nostrud consequat ut voluptate ex.
+
+```go
+package main
+
+import (
+ "fmt"
+ "net/http"
+)
+
+func handler(w http.ResponseWriter, r *http.Request) {
+ fmt.Fprintf(w, "Hi there, I love %s!", r.URL.Path[1:])
+}
+
+func main() {
+ http.HandleFunc("/", handler)
+ http.ListenAndServe(":8080", nil)
+}
+```
+
+Ex amet id ex aliquip id do laborum excepteur exercitation elit sint commodo occaecat nostrud est. Nostrud pariatur esse veniam laborum non sint magna sit laboris minim in id. Aliqua pariatur pariatur excepteur adipisicing irure culpa consequat commodo et ex id ad.
+
+[[Top]](#top)
+
+## Inline elements
+
+Sint ea anim ipsum ad commodo cupidatat do **exercitation** incididunt et minim ad labore sunt. Minim deserunt labore laboris velit nulla incididunt ipsum nulla. Ullamco ad laborum ea qui et anim in laboris exercitation tempor sit officia laborum reprehenderit culpa velit quis. **Consequat commodo** reprehenderit duis [irure](#!) esse esse exercitation minim enim Lorem dolore duis irure. Nisi Lorem reprehenderit ea amet excepteur dolor excepteur magna labore proident voluptate ipsum. Reprehenderit ex esse deserunt aliqua ea officia mollit Lorem nulla magna enim. Et ad ipsum labore enim ipsum **cupidatat consequat**. Commodo non ea cupidatat magna deserunt dolore ipsum velit nulla elit veniam nulla eiusmod proident officia.
+
+![Super wide](https://images.unsplash.com/photo-1710170601257-242514895755?q=80&w=2832&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D)
+
+_Proident sit veniam in est proident officia adipisicing_ ea tempor cillum non cillum velit deserunt. Voluptate laborum incididunt sit consectetur Lorem irure incididunt voluptate nostrud. Commodo ut eiusmod tempor cupidatat esse enim minim ex anim consequat. Mollit sint culpa qui laboris quis consectetur ad sint esse. Amet anim anim minim ullamco et duis non irure. Sit tempor adipisicing ea laboris `culpa ex duis sint` anim aute reprehenderit id eu ea. Aute [excepteur proident](#!) Lorem minim adipisicing nostrud mollit ad ut voluptate do nulla esse occaecat aliqua sint anim.
+
+![Not so big](https://placehold.co/600x400/000000/FFFFFF/png)
+
+Incididunt in culpa cupidatat mollit cillum qui proident sit. In cillum aliquip incididunt voluptate magna amet cupidatat cillum pariatur sint aliqua est _enim **anim** voluptate_. Magna aliquip proident incididunt id duis pariatur eiusmod incididunt commodo culpa dolore sit. Culpa do nostrud elit ad exercitation anim pariatur non minim nisi **adipisicing sunt _officia_**. Do deserunt magna mollit Lorem commodo ipsum do cupidatat mollit enim ut elit veniam ea voluptate.
+
+Reprehenderit non eu quis in ad elit esse qui aute id [incididunt](#!) dolore cillum. Esse laboris consequat dolor anim exercitation tempor aliqua deserunt velit magna laboris. Culpa culpa minim duis amet mollit do quis amet commodo nulla irure.
+
+[[Top]](#top)
+
+## MDX
+
+```js
+---
+publishDate: 'Aug 02 2022'
+title: 'Markdown elements demo post'
+---
+import Logo from "~/components/Logo.astro";
+
+## MDX
+
+
+```
+
+
+
+
+
+## Astro Embed
+
+### Youtube
+
+
+
+### Tweet
+
+
+
+### Vimeo
+
+
+
+[[Top]](#top)
diff --git a/v3/src/content/post/useful-resources-to-create-websites.md b/v3/src/content/post/useful-resources-to-create-websites.md
new file mode 100644
index 0000000..6461344
--- /dev/null
+++ b/v3/src/content/post/useful-resources-to-create-websites.md
@@ -0,0 +1,62 @@
+---
+publishDate: 2023-08-09T00:00:00Z
+title: Useful tools and resources to create a professional website
+excerpt: Explore vital tools and resources for a sleek website. From design to functionality, our guide elevates your online presence.
+image: https://images.unsplash.com/photo-1637144113536-9c6e917be447?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1674&q=80
+tags:
+ - front-end
+ - tools
+ - resources
+---
+
+## Magna nunc senectus torquent per fusce sapien ligula tempus cra
+
+Lorem ipsum dolor sit amet consectetur adipiscing, elit fusce imperdiet gravida velit massa, ligula aenean suscipit sociis lacinia. Sapien scelerisque rutrum sem accumsan orci imperdiet aliquam inceptos aliquet tempus ornare, netus nostra nam nunc platea pulvinar urna et suscipit pellentesque, aenean congue sociis non tellus quis proin etiam venenatis pretium. Nibh senectus lacinia volutpat nostra taciti ac posuere, dictum ultricies dictumst luctus in vehicula, mus molestie venenatis penatibus ridiculus elementum. Phasellus sollicitudin dignissim parturient tempor cubilia erat massa eleifend dapibus, condimentum cras tortor eu sem dictumst non. Faucibus neque est malesuada nostra luctus maecenas at condimentum, arcu eros vulputate curabitur blandit mollis volutpat, lectus leo dictumst duis semper tempor hendrerit. Egestas scelerisque fusce torquent cubilia consequat conubia lacus et mollis, condimentum taciti elementum sapien risus vulputate est.
+
+Tristique eleifend enim praesent mollis sem leo, molestie dictum penatibus sodales consequat ligula nulla, platea feugiat aptent sapien turpis. Mollis mus ac taciti maecenas pretium hendrerit proin accumsan, mattis dictumst netus nunc facilisi morbi cursus euismod quis, a commodo nulla integer varius enim vehicula. Consequat mi risus vulputate ullamcorper sociosqu pretium molestie cursus, parturient viverra non tempor tellus convallis vitae eleifend mus, bibendum pellentesque imperdiet vivamus nunc phasellus iaculis. Volutpat est ac dictumst eleifend maecenas torquent quam hac, mollis aliquam mattis euismod ornare risus fringilla proin nisi, sem fermentum primis ultrices varius etiam id. Posuere nunc mus curabitur condimentum lobortis euismod donec tincidunt ridiculus, tristique senectus cum taciti quam blandit leo malesuada, sociis nullam cras litora sem laoreet sed nec.
+
+## Magna lacus tortor luctus platea co
+
+- Luctus molestie taciti aliquam dictumst imperdiet, donec torquent nisi.
+
+- Montes cursus habitant risus platea senectus, lectus sagittis mi.
+
+- Eleifend facilisi quam ultricies, accumsan aliquet euismod velit, sem tortor.
+
+- Senectus nisl potenti congue sociosqu at, porttitor habitant vivamus.
+
+Nostra dictum porta consequat quisque diam nisl iaculis velit varius, placerat curabitur risus commodo condimentum morbi eros dictumst phasellus, tempor duis libero ultrices est rhoncus mattis nam. Quisque lectus massa lobortis nulla enim, praesent eu ut elementum. Felis placerat nibh donec erat platea rutrum taciti cursus, elementum metus semper feugiat risus tellus nulla, aliquam hendrerit faucibus inceptos commodo justo porta.
+
+Cursus imperdiet montes natoque potenti suscipit facilisi porta mollis posuere consequat, aliquam turpis tortor libero viverra rhoncus accumsan inceptos blandit convallis diam, penatibus ut pretium in duis leo auctor proin quisque. Sollicitudin inceptos quam molestie sociis habitasse class sapien vivamus facilisis, consequat ante vehicula velit tempor cum rutrum magnis, eget semper quisque turpis pretium praesent per faucibus. Ullamcorper blandit taciti primis sed pharetra inceptos duis, eu nisi ac fringilla tellus accumsan iaculis, morbi integer at purus hac est. Elementum hac lacus per in posuere erat ad, egestas dapibus malesuada suscipit nunc interdum, mi risus auctor pretium lectus massa. Condimentum nullam molestie tincidunt sodales luctus parturient est et congue hendrerit vel vulputate iaculis, curabitur sollicitudin quisque magna nostra nisl nam massa viverra donec neque class.
+
+Euismod tempus potenti interdum fusce placerat habitant, taciti turpis faucibus curabitur tempor felis porta, sed aenean mi arcu magnis. Pellentesque tincidunt aptent eget nisi convallis lobortis sapien, habitasse sollicitudin proin vehicula ridiculus duis congue, himenaeos lectus vitae nulla taciti ante. Enim commodo non taciti ultricies donec iaculis aliquet interdum, dictumst a pulvinar lacus cursus fames praesent cras ad, rutrum nostra dis accumsan primis euismod sagittis. Eu habitant euismod mattis at congue fusce ad commodo litora himenaeos aenean, porta lobortis suscipit pulvinar magna facilisi nullam ante non senectus, urna volutpat sodales vitae varius lectus tincidunt montes rutrum vulputate. Enim cum habitant morbi maecenas nisl imperdiet a egestas velit, gravida laoreet hendrerit rutrum molestie fames sapien euismod turpis metus, faucibus class sed primis leo nam malesuada fermentum.
+
+Semper etiam tellus a risus lobortis dictumst sem massa eros, eget curae gravida accumsan hac parturient nulla fringilla convallis, condimentum torquent placerat mauris conubia augue mattis leo. Dictum tincidunt quis risus volutpat netus mi suscipit parturient suspendisse vestibulum, ad lacus dictumst luctus nec fusce ultricies vivamus. Dui sociis nulla suscipit gravida mi arcu netus, vitae mus donec dapibus nascetur id ante urna, egestas viverra auctor sodales litora enim rutrum, sapien molestie imperdiet ut massa elementum. Aptent ante risus erat malesuada nec porta, ligula nascetur dictum nunc turpis natoque, tristique conubia netus arcu a.
+
+Nam scelerisque ridiculus suspendisse viverra conubia et fermentum nascetur turpis quisque, vestibulum cubilia curae per feugiat lectus rhoncus suscipit neque. Urna habitasse mus hac fringilla rutrum sodales, nullam aliquam porttitor quis vehicula arcu class, in felis placerat mattis vestibulum habitant, mauris eros dapibus penatibus viverra. Senectus tristique molestie scelerisque quisque mus augue facilisi massa, ac viverra dapibus vehicula nostra vel nam, posuere montes parturient auctor eu ultrices natoque. Quam fringilla volutpat morbi in per aliquet laoreet a maecenas, lacus velit mauris purus ultricies sociosqu pulvinar netus sodales, convallis placerat turpis tellus nullam libero leo aptent. Praesent lacus ultricies per ligula taciti aenean conubia parturient, feugiat sodales viverra urna cubilia etiam nibh curabitur congue, tristique nisl at elementum dis natoque commodo.
+
+Sagittis erat velit integer cursus congue viverra, conubia himenaeos egestas ultricies praesent, hac litora mattis non venenatis. Duis libero morbi curae potenti litora vitae sed etiam consequat magna ultricies, magnis fermentum vehicula feugiat tortor ad quis orci rhoncus per porta, ante mi gravida dis nostra tempor lobortis aenean convallis molestie. Ligula fusce blandit ac accumsan magnis rutrum nostra velit maecenas, netus lobortis himenaeos purus justo sapien posuere libero, cum etiam urna mi ultrices est sociis tortor. Neque inceptos quisque vestibulum tempor phasellus id himenaeos magna suspendisse a in nunc cursus, morbi dignissim ornare non auctor massa iaculis mus nec elementum ultricies maecenas. Scelerisque maecenas ultrices integer gravida dis cursus, sed at semper libero iaculis varius, justo augue nec tincidunt suspendisse.
+
+Rutrum augue natoque felis non vestibulum nam duis, quam praesent taciti himenaeos class vel dis rhoncus, dapibus pulvinar etiam ridiculus curae nibh blandit, scelerisque cursus nostra pretium suspendisse vehicula. Etiam sem metus eleifend suscipit felis suspendisse ut, velit fames habitant semper placerat fusce cras, nunc venenatis platea aenean euismod libero. In eu eget pellentesque libero egestas suspendisse quis tristique torquent nulla, magnis dis malesuada purus quam platea aliquet tortor odio. Accumsan nostra augue lobortis elementum justo sociosqu posuere aptent est, nisl metus conubia tellus sollicitudin lacus inceptos. Morbi mauris aenean malesuada arcu fusce libero venenatis commodo iaculis litora dis, erat parturient class sed facilisi mus a nec dictum.
+
+Senectus platea dapibus volutpat dictum pharetra cursus netus cras, arcu sociis ornare potenti porttitor tempus sollicitudin, ullamcorper duis nam convallis sapien pretium conubia. Mi metus vivamus cum id semper fringilla senectus scelerisque pretium placerat sociis rhoncus pulvinar porttitor accumsan, curae ligula fermentum mus hendrerit ridiculus condimentum per suscipit rutrum sociosqu odio pellentesque suspendisse. Dui massa nulla suscipit duis metus mollis pellentesque, scelerisque posuere interdum ligula cum dignissim sed, placerat ante ultrices mi netus augue. Eu porttitor malesuada diam morbi torquent egestas magnis tempus metus imperdiet nisl, ad sociis lectus neque mauris gravida habitant primis lobortis. Phasellus mattis nulla fames parturient pharetra pretium egestas, diam rhoncus placerat lectus maecenas dictumst sed cum, justo non ac volutpat morbi enim.
+
+Justo fringilla morbi netus habitasse varius primis eu magna, tristique accumsan mus enim lectus cubilia convallis auctor, nunc imperdiet erat mollis rutrum vel turpis. Justo purus laoreet eros turpis interdum et ridiculus torquent integer nunc, himenaeos eu tellus proin scelerisque tincidunt congue posuere ultricies vestibulum auctor, aliquet semper varius placerat imperdiet non nisl cubilia fermentum. Feugiat nisl himenaeos cum metus mi est ac, euismod elementum velit tempus dictum mauris, bibendum faucibus cubilia phasellus nulla ornare. Etiam justo venenatis varius laoreet sociis montes dignissim, elementum ligula malesuada euismod praesent magnis auctor, eleifend class egestas a vestibulum blandit. Scelerisque potenti facilisis torquent mollis nisi felis et sed, aptent tortor platea non quisque nec accumsan inceptos, velit molestie nunc enim cubilia egestas per.
+
+Ultrices morbi et potenti eros aenean condimentum magnis est felis porta, dictumst taciti inceptos etiam ultricies cubilia hac torquent tempor vulputate, sodales erat semper vestibulum dignissim sociis viverra suscipit sagittis. Justo non auctor penatibus iaculis sed in volutpat pretium feugiat lectus rutrum, curabitur sociosqu sapien semper a laoreet augue primis fringilla dui. Fringilla iaculis blandit feugiat euismod congue morbi erat eros, mi dis egestas facilisi volutpat risus cras porta, orci vivamus turpis conubia est commodo torquent. Lectus euismod maecenas potenti in ac natoque sed ullamcorper ridiculus, diam fringilla condimentum eget convallis hendrerit varius pellentesque. Feugiat cras nullam tristique leo nisl dignissim lacinia aenean vivamus potenti consequat, vulputate curabitur sed risus mus suspendisse litora sollicitudin tempor.
+
+Egestas hac arcu dapibus placerat proin aptent a pellentesque posuere, in condimentum fames facilisi maecenas semper nisl mus, sodales donec elementum praesent enim ac dictum ridiculus. Justo in nibh luctus vitae etiam nisl ac quisque fringilla, habitasse sociosqu curae inceptos semper ut mi hac, congue volutpat himenaeos sed augue morbi tellus nec. Congue libero posuere varius eleifend tristique nascetur integer ullamcorper, est leo vitae mi erat enim augue urna magnis, elementum ultricies pulvinar blandit arcu malesuada duis. Cubilia nulla vel et integer sed pellentesque gravida felis pulvinar mollis ultricies mi, montes suspendisse vestibulum aliquet dui in magna nunc ridiculus aliquam elementum. Justo erat montes enim felis eu sed vivamus faucibus imperdiet ac luctus vulputate, cursus accumsan blandit et mus sodales conubia cubilia phasellus leo.
+
+Velit in felis penatibus semper laoreet libero tristique condimentum sem montes suscipit, morbi habitant gravida tellus quisque neque torquent lobortis interdum. Ridiculus sollicitudin suscipit semper quam eleifend at, neque tincidunt magnis penatibus dui orci, praesent vulputate himenaeos feugiat vel. Habitasse senectus a sodales dapibus nulla auctor sagittis nullam molestie, imperdiet volutpat quam odio facilisis nostra magnis dictumst, sociis cum erat facilisi dignissim urna lacus magna. Primis porttitor nullam quis vestibulum mi dictumst magna dapibus taciti magnis inceptos fames, purus etiam auctor metus bibendum felis accumsan id aliquet suscipit imperdiet. Pellentesque sem velit nulla consequat vehicula cubilia curabitur, platea curae natoque tristique nullam litora, nascetur imperdiet habitant tincidunt suspendisse sociis.
+
+Platea cum auctor eget consequat elementum lacinia ad aliquet orci, imperdiet nibh penatibus ac dictum rutrum mollis ante cursus, volutpat scelerisque velit ornare in vivamus pharetra blandit. Cum mattis interdum in diam purus sapien lacinia gravida, semper montes vestibulum rhoncus auctor morbi dictum. Mus semper erat mollis taciti sapien ultrices accumsan ante magna eros at commodo, malesuada diam nullam massa curabitur lobortis felis interdum nisi duis pellentesque. Accumsan faucibus tristique augue enim hac ante feugiat, porttitor phasellus condimentum nulla maecenas dignissim at platea, facilisis nam donec primis habitasse ac. Nec convallis ridiculus potenti primis faucibus erat eget metus mollis, luctus ac fusce condimentum orci suscipit volutpat malesuada mi, velit feugiat pharetra sem turpis est accumsan porta, ligula torquent lacus tristique a senectus tortor dignissim.
+
+Pharetra eleifend vivamus potenti congue proin himenaeos, fusce mi venenatis natoque montes, suscipit commodo porta magnis mattis. Et lobortis mollis libero quis himenaeos felis dis porta, donec iaculis mattis cursus accumsan pulvinar mus etiam, habitasse leo taciti vitae suscipit suspendisse bibendum. Sodales at ante dictumst nostra est risus senectus semper morbi facilisis neque tempus, venenatis penatibus fusce mattis phasellus velit diam iaculis hac tortor class, orci ridiculus varius dis odio cras rutrum porttitor facilisi massa parturient. Augue facilisi nam proin at elementum massa, tellus vestibulum mattis tortor porta, cubilia sodales orci congue vel. Rhoncus nec quam iaculis sapien risus suspendisse dictum tincidunt, vivamus lobortis blandit metus ullamcorper torquent.
+
+Ante fermentum hac tincidunt nam sodales vestibulum pellentesque ut nulla habitasse, ornare diam facilisis aptent facilisi penatibus arcu congue lacus, lectus fringilla per primis dapibus eu imperdiet erat dictumst. Pulvinar eu ad mauris nulla ac sed nisl ullamcorper natoque etiam fames, platea aliquam dis netus odio dignissim tincidunt quam blandit laoreet, at mollis ridiculus molestie lacus metus nullam suspendisse nibh duis. Suspendisse congue vestibulum fringilla ridiculus tristique sagittis sociosqu integer, volutpat lacinia pulvinar felis aliquam pharetra faucibus dictumst ad, fusce dignissim cursus mauris eget nostra lectus. Lacinia egestas iaculis scelerisque odio gravida ullamcorper, at arcu ligula ornare parturient phasellus laoreet, augue convallis platea tortor aenean.
+
+Interdum fames lobortis sollicitudin aliquet mus aptent netus, penatibus consequat pulvinar velit enim curae accumsan, maecenas litora mi rutrum sagittis tincidunt. Lacinia malesuada id netus suscipit sapien sociosqu orci habitasse turpis, feugiat donec placerat sed quam hendrerit pellentesque. Erat accumsan ligula id sapien turpis mus nulla lobortis consequat nec, urna habitasse ultrices aliquet vulputate est suspendisse gravida senectus odio, vehicula fusce proin in sed tempor vitae convallis molestie. Nascetur semper feugiat velit hendrerit lacinia nunc, risus quis congue nullam himenaeos commodo porttitor, natoque facilisi ad maecenas faucibus. Dictum id sodales interdum accumsan habitant natoque class parturient mi venenatis aenean, est nam tortor donec lobortis non vehicula magnis lacinia. Feugiat vitae morbi litora vehicula in a, nam ad ultrices auctor sollicitudin, ullamcorper fringilla hendrerit placerat faucibus.
+
+Nulla nisi ac placerat duis semper mus cursus interdum netus vestibulum, tortor praesent proin nec rhoncus magnis commodo blandit himenaeos purus, volutpat id montes scelerisque suspendisse risus nisl erat dui. Senectus et habitant dis nulla velit faucibus venenatis sapien, dapibus etiam metus eget magnis feugiat tristique. Augue montes elementum pulvinar mollis pellentesque diam cursus tristique vel cubilia erat mus, congue curae sagittis dui quis fusce tortor consequat taciti natoque. Praesent montes erat feugiat sed euismod condimentum potenti malesuada nec, mi vitae suspendisse aptent senectus eleifend faucibus pulvinar scelerisque, augue ornare accumsan pretium magna eu iaculis metus. Suscipit accumsan massa vitae platea ad duis rhoncus fermentum vulputate, interdum pretium metus per aptent enim in facilisis eros, sollicitudin consequat iaculis erat dictumst quisque leo sociis.
+
+Tempor etiam potenti auctor est ut habitant ac nisl ultrices pulvinar, sem primis tempus lacus aliquam consequat fringilla tristique. Consequat cum rhoncus massa sociis blandit rutrum nisi quam cras vitae fusce, sociosqu erat penatibus convallis fames accumsan eros himenaeos pulvinar sagittis, habitasse primis integer odio nascetur in montes faucibus semper potenti. Diam aliquam fringilla risus phasellus habitasse aenean eu erat, netus nulla pellentesque ut morbi torquent pharetra semper, sed etiam primis in conubia hendrerit velit. Ornare magna dictum purus metus sociosqu pulvinar sed, quam faucibus posuere pretium senectus interdum. Ornare sodales in litora nascetur sociosqu senectus auctor, cras arcu fusce ac inceptos integer tempor aliquam, tristique imperdiet metus hendrerit erat eleifend.
diff --git a/v3/src/env.d.ts b/v3/src/env.d.ts
new file mode 100644
index 0000000..45786fb
--- /dev/null
+++ b/v3/src/env.d.ts
@@ -0,0 +1,5 @@
+// eslint-disable-next-line @typescript-eslint/triple-slash-reference
+///
+///
+///
+///
diff --git a/v3/src/layouts/LandingLayout.astro b/v3/src/layouts/LandingLayout.astro
new file mode 100644
index 0000000..0554afa
--- /dev/null
+++ b/v3/src/layouts/LandingLayout.astro
@@ -0,0 +1,35 @@
+---
+import PageLayout from '~/layouts/PageLayout.astro';
+import Header from '~/components/widgets/Header.astro';
+
+import { headerData } from '~/navigation';
+import type { MetaData } from '~/types';
+
+export interface Props {
+ metadata?: MetaData;
+}
+
+const { metadata } = Astro.props;
+---
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/v3/src/layouts/Layout.astro b/v3/src/layouts/Layout.astro
new file mode 100644
index 0000000..0d07806
--- /dev/null
+++ b/v3/src/layouts/Layout.astro
@@ -0,0 +1,48 @@
+---
+import '~/assets/styles/tailwind.css';
+
+import { I18N } from 'astrowind:config';
+
+import CommonMeta from '~/components/common/CommonMeta.astro';
+import Favicons from '~/components/Favicons.astro';
+import CustomStyles from '~/components/CustomStyles.astro';
+import ApplyColorMode from '~/components/common/ApplyColorMode.astro';
+import Metadata from '~/components/common/Metadata.astro';
+import SiteVerification from '~/components/common/SiteVerification.astro';
+import Analytics from '~/components/common/Analytics.astro';
+import BasicScripts from '~/components/common/BasicScripts.astro';
+
+// Comment the line below to disable View Transitions
+import { ViewTransitions } from 'astro:transitions';
+
+import type { MetaData as MetaDataType } from '~/types';
+
+export interface Props {
+ metadata?: MetaDataType;
+}
+
+const { metadata = {} } = Astro.props;
+const { language, textDirection } = I18N;
+---
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/v3/src/layouts/MarkdownLayout.astro b/v3/src/layouts/MarkdownLayout.astro
new file mode 100644
index 0000000..ae6e9b0
--- /dev/null
+++ b/v3/src/layouts/MarkdownLayout.astro
@@ -0,0 +1,28 @@
+---
+import Layout from '~/layouts/PageLayout.astro';
+
+import type { MetaData } from '~/types';
+
+export interface Props {
+ frontmatter: {
+ title?: string;
+ };
+}
+
+const { frontmatter } = Astro.props;
+
+const metadata: MetaData = {
+ title: frontmatter?.title,
+};
+---
+
+
+
+
+
+
diff --git a/v3/src/pages/[...blog]/[...page].astro b/v3/src/pages/[...blog]/[...page].astro
new file mode 100644
index 0000000..5a6da41
--- /dev/null
+++ b/v3/src/pages/[...blog]/[...page].astro
@@ -0,0 +1,52 @@
+---
+import type { InferGetStaticPropsType, GetStaticPaths } from 'astro';
+
+import Layout from '~/layouts/PageLayout.astro';
+import BlogList from '~/components/blog/List.astro';
+import Headline from '~/components/blog/Headline.astro';
+import Pagination from '~/components/blog/Pagination.astro';
+// import PostTags from "~/components/blog/Tags.astro";
+
+import { blogListRobots, getStaticPathsBlogList } from '~/utils/blog';
+
+export const prerender = true;
+
+export const getStaticPaths = (async ({ paginate }) => {
+ return await getStaticPathsBlogList({ paginate });
+}) satisfies GetStaticPaths;
+
+type Props = InferGetStaticPropsType;
+
+const { page } = Astro.props as Props;
+const currentPage = page.currentPage ?? 1;
+
+// const allCategories = await findCategories();
+// const allTags = await findTags();
+
+const metadata = {
+ title: `Blog${currentPage > 1 ? ` β Page ${currentPage}` : ''}`,
+ robots: {
+ index: blogListRobots?.index && currentPage === 1,
+ follow: blogListRobots?.follow,
+ },
+ openGraph: {
+ type: 'blog',
+ },
+};
+---
+
+
+
+
+ The Blog
+
+
+
+
+
+
diff --git a/v3/src/pages/[...blog]/[category]/[...page].astro b/v3/src/pages/[...blog]/[category]/[...page].astro
new file mode 100644
index 0000000..e1c4ff6
--- /dev/null
+++ b/v3/src/pages/[...blog]/[category]/[...page].astro
@@ -0,0 +1,37 @@
+---
+import type { InferGetStaticPropsType, GetStaticPaths } from 'astro';
+import { blogCategoryRobots, getStaticPathsBlogCategory } from '~/utils/blog';
+
+import Layout from '~/layouts/PageLayout.astro';
+import BlogList from '~/components/blog/List.astro';
+import Headline from '~/components/blog/Headline.astro';
+import Pagination from '~/components/blog/Pagination.astro';
+
+export const prerender = true;
+
+export const getStaticPaths = (async ({ paginate }) => {
+ return await getStaticPathsBlogCategory({ paginate });
+}) satisfies GetStaticPaths;
+
+type Props = InferGetStaticPropsType & { category: Record };
+
+const { page, category } = Astro.props as Props;
+
+const currentPage = page.currentPage ?? 1;
+
+const metadata = {
+ title: `Category '${category.title}' ${currentPage > 1 ? ` β Page ${currentPage}` : ''}`,
+ robots: {
+ index: blogCategoryRobots?.index,
+ follow: blogCategoryRobots?.follow,
+ },
+};
+---
+
+
+
+ {category.title}
+
+
+
+
diff --git a/v3/src/pages/[...blog]/[tag]/[...page].astro b/v3/src/pages/[...blog]/[tag]/[...page].astro
new file mode 100644
index 0000000..86a767b
--- /dev/null
+++ b/v3/src/pages/[...blog]/[tag]/[...page].astro
@@ -0,0 +1,37 @@
+---
+import type { InferGetStaticPropsType, GetStaticPaths } from 'astro';
+import { blogTagRobots, getStaticPathsBlogTag } from '~/utils/blog';
+
+import Layout from '~/layouts/PageLayout.astro';
+import BlogList from '~/components/blog/List.astro';
+import Headline from '~/components/blog/Headline.astro';
+import Pagination from '~/components/blog/Pagination.astro';
+
+export const prerender = true;
+
+export const getStaticPaths = (async ({ paginate }) => {
+ return await getStaticPathsBlogTag({ paginate });
+}) satisfies GetStaticPaths;
+
+type Props = InferGetStaticPropsType;
+
+const { page, tag } = Astro.props as Props;
+
+const currentPage = page.currentPage ?? 1;
+
+const metadata = {
+ title: `Posts by tag '${tag.title}'${currentPage > 1 ? ` β Page ${currentPage} ` : ''}`,
+ robots: {
+ index: blogTagRobots?.index,
+ follow: blogTagRobots?.follow,
+ },
+};
+---
+
+
+
+ Tag: {tag.title}
+
+
+
+
diff --git a/v3/src/pages/[...blog]/index.astro b/v3/src/pages/[...blog]/index.astro
new file mode 100644
index 0000000..421927c
--- /dev/null
+++ b/v3/src/pages/[...blog]/index.astro
@@ -0,0 +1,54 @@
+---
+import type { InferGetStaticPropsType, GetStaticPaths } from 'astro';
+
+import merge from 'lodash.merge';
+import type { ImageMetadata } from 'astro';
+import Layout from '~/layouts/PageLayout.astro';
+import SinglePost from '~/components/blog/SinglePost.astro';
+import ToBlogLink from '~/components/blog/ToBlogLink.astro';
+
+import { getCanonical, getPermalink } from '~/utils/permalinks';
+import { getStaticPathsBlogPost, blogPostRobots } from '~/utils/blog';
+import { findImage } from '~/utils/images';
+import type { MetaData } from '~/types';
+import RelatedPosts from '~/components/blog/RelatedPosts.astro';
+
+export const prerender = true;
+
+export const getStaticPaths = (async () => {
+ return await getStaticPathsBlogPost();
+}) satisfies GetStaticPaths;
+
+type Props = InferGetStaticPropsType;
+
+const { post } = Astro.props as Props;
+
+const url = getCanonical(getPermalink(post.permalink, 'post'));
+const image = (await findImage(post.image)) as ImageMetadata | string | undefined;
+
+const metadata = merge(
+ {
+ title: post.title,
+ description: post.excerpt,
+ robots: {
+ index: blogPostRobots?.index,
+ follow: blogPostRobots?.follow,
+ },
+ openGraph: {
+ type: 'article',
+ ...(image
+ ? { images: [{ url: image, width: (image as ImageMetadata)?.width, height: (image as ImageMetadata)?.height }] }
+ : {}),
+ },
+ },
+ { ...(post?.metadata ? { ...post.metadata, canonical: post.metadata?.canonical || url } : {}) }
+) as MetaData;
+---
+
+
+
+ {post.Content ? : }
+
+
+
+
diff --git a/v3/src/pages/about.astro b/v3/src/pages/about.astro
new file mode 100644
index 0000000..648e158
--- /dev/null
+++ b/v3/src/pages/about.astro
@@ -0,0 +1,228 @@
+---
+import Features2 from '~/components/widgets/Features2.astro';
+import Features3 from '~/components/widgets/Features3.astro';
+import Hero from '~/components/widgets/Hero.astro';
+import Stats from '~/components/widgets/Stats.astro';
+import Steps2 from '~/components/widgets/Steps2.astro';
+import Layout from '~/layouts/PageLayout.astro';
+
+const metadata = {
+ title: 'About us',
+};
+---
+
+
+
+
+
+
+ Elevate your online presence with our
+ Beautiful Website Templates
+
+
+
+ Donec efficitur, ipsum quis congue luctus, mauris magna convallis mauris, eu auctor nisi lectus non augue. Donec
+ quis lorem non massa vulputate efficitur ac at turpis. Sed tincidunt ex a nunc convallis, et lobortis nisi tempus.
+ Suspendisse vitae nisi eget tortor luctus maximus sed non lectus.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/v3/src/pages/contact.astro b/v3/src/pages/contact.astro
new file mode 100644
index 0000000..70157e0
--- /dev/null
+++ b/v3/src/pages/contact.astro
@@ -0,0 +1,79 @@
+---
+import Layout from '~/layouts/PageLayout.astro';
+import HeroText from '~/components/widgets/HeroText.astro';
+import ContactUs from '~/components/widgets/Contact.astro';
+import Features2 from '~/components/widgets/Features2.astro';
+
+const metadata = {
+ title: 'Contact',
+};
+---
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/v3/src/pages/homes/mobile-app.astro b/v3/src/pages/homes/mobile-app.astro
new file mode 100644
index 0000000..8d06721
--- /dev/null
+++ b/v3/src/pages/homes/mobile-app.astro
@@ -0,0 +1,297 @@
+---
+import Layout from '~/layouts/PageLayout.astro';
+
+import Header from '~/components/widgets/Header.astro';
+
+import Hero2 from '~/components/widgets/Hero2.astro';
+import CallToAction from '~/components/widgets/CallToAction.astro';
+import Features3 from '~/components/widgets/Features3.astro';
+import Content from '~/components/widgets/Content.astro';
+import Testimonials from '~/components/widgets/Testimonials.astro';
+import FAQs from '~/components/widgets/FAQs.astro';
+import Stats from '~/components/widgets/Stats.astro';
+
+import Button from '~/components/ui/Button.astro';
+import Image from '~/components/common/Image.astro';
+
+const appStoreImg = '~/assets/images/app-store.png';
+const appStoreDownloadLink = 'https://github.com/onwidget/astrowind';
+
+const googlePlayImg = '~/assets/images/google-play.png';
+const googlePlayDownloadLink = 'https://github.com/onwidget/astrowind';
+
+const metadata = {
+ title: 'Mobile App Homepage',
+};
+---
+
+
+
+
+
+
+
+
+
+
+
+ AstroWind App: professional websites made easy
+
+
+
+
+ Unlock boundless creativity at your fingertips: your gateway to innovative design.
+
+ Download now and embark on a journey to elevate your projects like never before.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Main Features
+
+
+
+
+
+
+
+
Other features
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/v3/src/pages/homes/personal.astro b/v3/src/pages/homes/personal.astro
new file mode 100644
index 0000000..092053d
--- /dev/null
+++ b/v3/src/pages/homes/personal.astro
@@ -0,0 +1,405 @@
+---
+import Layout from '~/layouts/PageLayout.astro';
+
+import Header from '~/components/widgets/Header.astro';
+import Hero from '~/components/widgets/Hero.astro';
+import Content from '~/components/widgets/Content.astro';
+import CallToAction from '~/components/widgets/CallToAction.astro';
+import Features3 from '~/components/widgets/Features3.astro';
+import Testimonials from '~/components/widgets/Testimonials.astro';
+import Steps from '~/components/widgets/Steps.astro';
+import BlogLatestPosts from '~/components/widgets/BlogLatestPosts.astro';
+import { getPermalink } from '~/utils/permalinks';
+
+const metadata = {
+ title: 'Personal Homepage Demo',
+};
+---
+
+
+
+
+
+
+
+
+
+
+
+ I'm a Graphic Designer passionate about crafting visual stories. With 5 years of experience and a degree from
+ New York University's School of Design. I infuse vitality into brands and designs, transforming concepts into captivating
+ realities.
+
+
+
+
+
+
+
+
About me
+
+ Welcome to my creative journey. My work is a testament to my commitment to bringing ideas to life, where each
+ pixel becomes a brushstroke in the canvas of imagination.
+
+
+
+ I find inspiration in the world around me, whether through the pages of a captivating novel, the intricate
+ details of typography, or the vibrant hues of nature during my outdoor escapades.
+
+
+
If you're curious to dive deeper into my work, you can follow me:
+
+
+
+
+
+
+
+
+
+ ABC Design Studio, New York, NY 2021 - Present',
+ description: `Collaborate with clients to understand design requirements and objectives. Develop branding solutions, including logos, color palettes, and brand guidelines. Design marketing materials such as brochures, posters, and digital assets. Create visually appealing user interfaces for websites and applications.`,
+ icon: 'tabler:briefcase',
+ },
+ {
+ title:
+ 'Junior Graphic Designer XYZ Creative Agency, Los Angeles, CA 2018 - 2021',
+ description: `Assisted senior designers in creating design concepts and visual assets. Contributed to the development of brand identities and marketing collateral. Collaborated with the marketing team to ensure consistent design across campaigns. Gained hands-on experience in various design software and tools.`,
+ icon: 'tabler:briefcase',
+ },
+ ]}
+ classes={{ container: 'max-w-3xl' }}
+ />
+
+
+
+ New York University's School of Design 2018 - 2020`,
+ icon: 'tabler:school',
+ },
+ {
+ title: `Bachelor of Arts in Graphic Design New York University's School of Design 2014 - 2018`,
+ icon: 'tabler:school',
+ },
+ ]}
+ classes={{ container: 'max-w-3xl' }}
+ />
+
+
+
+
+
+
+
+
+
+
+ Project 1: Brand identity for tech innovators
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Project 2: Event poster for art & music festival
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Project 3: E-commerce website redesign for fashion brand
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/v3/src/pages/homes/saas.astro b/v3/src/pages/homes/saas.astro
new file mode 100644
index 0000000..25e0c0b
--- /dev/null
+++ b/v3/src/pages/homes/saas.astro
@@ -0,0 +1,349 @@
+---
+import Layout from '~/layouts/PageLayout.astro';
+
+import Header from '~/components/widgets/Header.astro';
+import Hero2 from '~/components/widgets/Hero2.astro';
+import Features from '~/components/widgets/Features.astro';
+import Steps2 from '~/components/widgets/Steps2.astro';
+import Content from '~/components/widgets/Content.astro';
+import Pricing from '~/components/widgets/Pricing.astro';
+
+import { headerData } from '~/navigation';
+import FAQs from '~/components/widgets/FAQs.astro';
+import BlogLatestPosts from '~/components/widgets/BlogLatestPosts.astro';
+
+const metadata = {
+ title: 'SaaS Landing Page',
+};
+---
+
+
+
+
+
+
+
+
+
+
+ Simplify web design with Astrowind: your ultimate SaaS companion
+
+
+
+
+ Elevate your website creation process with AstroWind's SaaS solutions.
+ Seamlessly blend the power of Astro 4.0 and Tailwind CSS to craft websites that resonate with your brand and audience.
+
+
+
+
+
+
+
+
+
+ Make a memorable first impression with visually appealing design elements that highlight your startup's unique value proposition. Ensures your website looks stunning and works well on all devices. Engage potential investors and customers with engaging content, clear messaging, and intuitive navigation.`,
+ },
+ ]}
+ image={{
+ src: 'https://images.unsplash.com/photo-1620558138198-cfb9b4f3c294?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1671&q=80',
+ alt: 'Startup Image',
+ }}
+ >
+
+
+ Startup success stories: Launching with AstroWind
+
+
+
+
+
+
+
+
+
+
+ Effectively communicate complex SaaS features through visual aids, animations, and interactive elements. Prioritize user needs and pain points through well-structured layouts and clear navigation. Encourage visitors to take action with strategically placed CTAs. Ensures your SaaS website works seamlessly across all devices.`,
+ },
+ ]}
+ image={{
+ src: 'https://images.unsplash.com/photo-1531973486364-5fa64260d75b?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1658&q=80',
+ alt: 'SaaS Businesses Image',
+ }}
+ >
+
+
+ SaaS showcase: Streamlining user experience
+
+
+
+
+
+
+
+
+
+
+ Tailor your portfolio to reflect your unique style and artistic vision. Prioritizes visuals, allowing you to present your work in high-resolution detail that draws viewers into your creations. Enables seamless navigation for effortless portfolio exploration.`,
+ },
+ ]}
+ image={{
+ src: 'https://images.unsplash.com/photo-1635070041078-e363dbe005cb?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80',
+ alt: 'Portfolio Image',
+ }}
+ >
+
+
+ Creative portfolios: Highlighting your work
+
+
+
+
+
+
+
+
+
+
+ Strategically placed CTAs, user-friendly forms, and optimized layouts work together to drive user engagement and conversions. Ensure a smooth browsing experience, reducing bounce rates and encouraging interaction.`,
+ },
+ ]}
+ image={{
+ src: 'https://images.unsplash.com/photo-1514621166532-aa7eb1a3a2f4?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=774&q=80',
+ alt: 'Small Business Image',
+ }}
+ >
+
+
+ Small business growth: Converting visitors into customers
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/v3/src/pages/homes/startup.astro b/v3/src/pages/homes/startup.astro
new file mode 100644
index 0000000..51daa77
--- /dev/null
+++ b/v3/src/pages/homes/startup.astro
@@ -0,0 +1,317 @@
+---
+import Layout from '~/layouts/PageLayout.astro';
+
+import Hero from '~/components/widgets/Hero.astro';
+import CallToAction from '~/components/widgets/CallToAction.astro';
+
+import Features2 from '~/components/widgets/Features2.astro';
+import Features from '~/components/widgets/Features.astro';
+import Stats from '~/components/widgets/Stats.astro';
+import Features3 from '~/components/widgets/Features3.astro';
+import FAQs from '~/components/widgets/FAQs.astro';
+import Brands from '~/components/widgets/Brands.astro';
+
+import { YouTube } from 'astro-embed';
+
+const metadata = {
+ title: 'Startup Landing Page',
+};
+---
+
+
+
+
+
+
+ Improve the online presence of your Startup with Astrowind templates
+
+
+
+ Step into the spotlight with Astrowind templates, your pathway to fortifying your
+ startup's digital footprint, fostering credibility, and expanding your reach.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Be a part of our vision
+
+
+ Discover a dynamic work environment, unparalleled growth opportunities, and the chance to make a meaningful
+ impact.
+
+
+
diff --git a/v3/src/pages/index.astro b/v3/src/pages/index.astro
new file mode 100644
index 0000000..ebfad42
--- /dev/null
+++ b/v3/src/pages/index.astro
@@ -0,0 +1,399 @@
+---
+import Layout from '~/layouts/PageLayout.astro';
+
+import Hero from '~/components/widgets/Hero.astro';
+import Note from '~/components/widgets/Note.astro';
+import Features from '~/components/widgets/Features.astro';
+import Features2 from '~/components/widgets/Features2.astro';
+import Steps from '~/components/widgets/Steps.astro';
+import Content from '~/components/widgets/Content.astro';
+import BlogLatestPosts from '~/components/widgets/BlogLatestPosts.astro';
+import FAQs from '~/components/widgets/FAQs.astro';
+import Stats from '~/components/widgets/Stats.astro';
+import CallToAction from '~/components/widgets/CallToAction.astro';
+
+const metadata = {
+ title: 'AstroWind β Free template for creating websites with Astro + Tailwind CSS',
+ ignoreTitleTemplate: true,
+};
+---
+
+
+
+
+
+
+ Free template for creating websites with
+ Astro 4.0 + Tailwind CSS
+
+
+
+
+ AstroWind is a free, customizable and production-ready template for Astro 4.0
+ + Tailwind CSS.
+ AstroWind: Production-ready.
+ Suitable for Startups, Small Business, SaaS websites, Professional Portfolios, Marketing websites, Landing Pages &
+ Blogs.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Building on modern foundations
+ Gain a competitive advantage by incorporating industry leading practices
+
+
+
+
+
+
+
+
+
+
+ Ensure your online presence truly represents you.
+
+
+
+
+
+
+
+
+
+ Designed to foster growth and success.
+
+
+
+
+
+
+
+
+ Download',
+ description:
+ "Kickstart with GitHub! Either fork the AstroWind template or simply click 'Use this template'. Your canvas awaits, ready for your digital masterpiece. In just a few clicks, you've already set the foundation.",
+ icon: 'tabler:package',
+ },
+ {
+ title: 'Step 2: Add content',
+ description:
+ "Pour your vision into it. Add images, text, and all that jazz to breathe life into your digital space. Remember, it's the content that tells your story, so make it captivating.",
+ icon: 'tabler:letter-case',
+ },
+ {
+ title: 'Step 3: Customize styles',
+ description:
+ 'Give it your personal touch. Tailor colors, fonts, and layouts until it feels just right. Your unique flair, amplified by AstroWind! Precision in design ensures a seamless user experience.',
+ icon: 'tabler:paint',
+ },
+ {
+ title: 'Ready!',
+ icon: 'tabler:check',
+ },
+ ]}
+ image={{
+ src: 'https://images.unsplash.com/photo-1616198814651-e71f960c3180?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=987&q=80',
+ alt: 'Steps image',
+ }}
+ />
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Astro + Tailwind CSS
+
+
+
+ Be very surprised by these huge fake numbers you are seeing on this page. Don't
+ waste more time! :P
+
+
+
diff --git a/v3/src/pages/landing/click-through.astro b/v3/src/pages/landing/click-through.astro
new file mode 100644
index 0000000..47140ed
--- /dev/null
+++ b/v3/src/pages/landing/click-through.astro
@@ -0,0 +1,41 @@
+---
+import Layout from '~/layouts/LandingLayout.astro';
+
+import Hero2 from '~/components/widgets/Hero2.astro';
+import CallToAction from '~/components/widgets/CallToAction.astro';
+
+const metadata = {
+ title: 'Click-through Landing Page Demo',
+};
+---
+
+
+
+
+
+
+
+
diff --git a/v3/src/pages/landing/lead-generation.astro b/v3/src/pages/landing/lead-generation.astro
new file mode 100644
index 0000000..09f6fad
--- /dev/null
+++ b/v3/src/pages/landing/lead-generation.astro
@@ -0,0 +1,41 @@
+---
+import Layout from '~/layouts/LandingLayout.astro';
+
+import Hero from '~/components/widgets/Hero.astro';
+import CallToAction from '~/components/widgets/CallToAction.astro';
+
+const metadata = {
+ title: 'Lead Generation Landing Page Demo',
+};
+---
+
+
+
+
+
+
+
+
diff --git a/v3/src/pages/landing/pre-launch.astro b/v3/src/pages/landing/pre-launch.astro
new file mode 100644
index 0000000..43c9da7
--- /dev/null
+++ b/v3/src/pages/landing/pre-launch.astro
@@ -0,0 +1,41 @@
+---
+import Layout from '~/layouts/LandingLayout.astro';
+
+import Hero2 from '~/components/widgets/Hero2.astro';
+import CallToAction from '~/components/widgets/CallToAction.astro';
+
+const metadata = {
+ title: 'Pre-Launch Landing Page',
+};
+---
+
+
+
+
+
+
+
+
diff --git a/v3/src/pages/landing/product.astro b/v3/src/pages/landing/product.astro
new file mode 100644
index 0000000..238cd7e
--- /dev/null
+++ b/v3/src/pages/landing/product.astro
@@ -0,0 +1,41 @@
+---
+import Layout from '~/layouts/LandingLayout.astro';
+
+import Hero from '~/components/widgets/Hero.astro';
+import CallToAction from '~/components/widgets/CallToAction.astro';
+
+const metadata = {
+ title: 'Product Details Landing Page Demo',
+};
+---
+
+
+
+
+
+
+
+
diff --git a/v3/src/pages/landing/sales.astro b/v3/src/pages/landing/sales.astro
new file mode 100644
index 0000000..f992a46
--- /dev/null
+++ b/v3/src/pages/landing/sales.astro
@@ -0,0 +1,41 @@
+---
+import Layout from '~/layouts/LandingLayout.astro';
+
+import Hero2 from '~/components/widgets/Hero2.astro';
+import CallToAction from '~/components/widgets/CallToAction.astro';
+
+const metadata = {
+ title: 'Sales Landing Page Demo',
+};
+---
+
+
+
+
+
+
+
+
diff --git a/v3/src/pages/landing/subscription.astro b/v3/src/pages/landing/subscription.astro
new file mode 100644
index 0000000..192b6e3
--- /dev/null
+++ b/v3/src/pages/landing/subscription.astro
@@ -0,0 +1,41 @@
+---
+import Layout from '~/layouts/LandingLayout.astro';
+
+import Hero2 from '~/components/widgets/Hero2.astro';
+import CallToAction from '~/components/widgets/CallToAction.astro';
+
+const metadata = {
+ title: 'Subscription Landing Page Demo',
+};
+---
+
+
+
+
+
+
+
+
diff --git a/v3/src/pages/pricing.astro b/v3/src/pages/pricing.astro
new file mode 100644
index 0000000..0e7fb1a
--- /dev/null
+++ b/v3/src/pages/pricing.astro
@@ -0,0 +1,244 @@
+---
+import Layout from '~/layouts/PageLayout.astro';
+import HeroText from '~/components/widgets/HeroText.astro';
+import Prices from '~/components/widgets/Pricing.astro';
+import FAQs from '~/components/widgets/FAQs.astro';
+import Steps from '~/components/widgets/Steps.astro';
+import Features3 from '~/components/widgets/Features3.astro';
+import CallToAction from '~/components/widgets/CallToAction.astro';
+
+const metadata = {
+ title: 'Pricing',
+};
+---
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/v3/src/pages/privacy.md b/v3/src/pages/privacy.md
new file mode 100644
index 0000000..2c55557
--- /dev/null
+++ b/v3/src/pages/privacy.md
@@ -0,0 +1,185 @@
+---
+title: 'Privacy Policy'
+layout: '~/layouts/MarkdownLayout.astro'
+---
+
+_Last updated_: January 06, 2023
+
+This Privacy Policy describes Our policies and procedures on the collection, use and disclosure of Your information when You use the Service and tells You about Your privacy rights and how the law protects You.
+
+We use Your Personal data to provide and improve the Service. By using the Service, You agree to the collection and use of information in accordance with this Privacy Policy. This Privacy Policy is just a Demo.
+
+## Interpretation and Definitions
+
+### Interpretation
+
+The words of which the initial letter is capitalized have meanings defined under the following conditions. The following definitions shall have the same meaning regardless of whether they appear in singular or in plural.
+
+### Definitions
+
+For the purposes of this Privacy Policy:
+
+- **Account** means a unique account created for You to access our Service or parts of our Service.
+- **Company** (referred to as either "the Company", "We", "Us" or "Our" in this Agreement) refers to AstroWind LLC, 1 Cupertino, CA 95014.
+- **Cookies** are small files that are placed on Your computer, mobile device or any other device by a website, containing the details of Your browsing history on that website among its many uses.
+- **Country** refers to: California, United States
+- **Device** means any device that can access the Service such as a computer, a cellphone or a digital tablet.
+- **Personal Data** is any information that relates to an identified or identifiable individual.
+- **Service** refers to the Website.
+- **Service Provider** means any natural or legal person who processes the data on behalf of the Company. It refers to third-party companies or individuals employed by the Company to facilitate the Service, to provide the Service on behalf of the Company, to perform services related to the Service or to assist the Company in analyzing how the Service is used.
+- **Usage Data** refers to data collected automatically, either generated by the use of the Service or from the Service infrastructure itself (for example, the duration of a page visit).
+- **Website** refers to AstroWind, accessible from [https://astrowind.vercel.app](https://astrowind.vercel.app)
+- **You** means the individual accessing or using the Service, or the company, or other legal entity on behalf of which such individual is accessing or using the Service, as applicable.
+
+## Collecting and Using Your Personal Data
+
+### Types of Data Collected
+
+#### Personal Data
+
+While using Our Service, We may ask You to provide Us with certain personally identifiable information that can be used to contact or identify You. Personally identifiable information may include, but is not limited to:
+
+- Usage Data
+
+#### Usage Data
+
+Usage Data is collected automatically when using the Service.
+
+Usage Data may include information such as Your Device's Internet Protocol address (e.g. IP address), browser type, browser version, the pages of our Service that You visit, the time and date of Your visit, the time spent on those pages, unique device identifiers and other diagnostic data.
+
+When You access the Service by or through a mobile device, We may collect certain information automatically, including, but not limited to, the type of mobile device You use, Your mobile device unique ID, the IP address of Your mobile device, Your mobile operating system, the type of mobile Internet browser You use, unique device identifiers and other diagnostic data.
+
+We may also collect information that Your browser sends whenever You visit our Service or when You access the Service by or through a mobile device.
+
+#### Tracking Technologies and Cookies
+
+We use Cookies and similar tracking technologies to track the activity on Our Service and store certain information. Tracking technologies used are beacons, tags, and scripts to collect and track information and to improve and analyze Our Service. The technologies We use may include:
+
+- **Cookies or Browser Cookies.** A cookie is a small file placed on Your Device. You can instruct Your browser to refuse all Cookies or to indicate when a Cookie is being sent. However, if You do not accept Cookies, You may not be able to use some parts of our Service. Unless you have adjusted Your browser setting so that it will refuse Cookies, our Service may use Cookies.
+- **Web Beacons.** Certain sections of our Service and our emails may contain small electronic files known as web beacons (also referred to as clear gifs, pixel tags, and single-pixel gifs) that permit the Company, for example, to count users who have visited those pages or opened an email and for other related website statistics (for example, recording the popularity of a certain section and verifying system and server integrity).
+
+Cookies can be "Persistent" or "Session" Cookies. Persistent Cookies remain on Your personal computer or mobile device when You go offline, while Session Cookies are deleted as soon as You close Your web browser.
+
+We use both Session and Persistent Cookies for the purposes set out below:
+
+- **Necessary / Essential Cookies**
+
+ Type: Session Cookies
+
+ Administered by: Us
+
+ Purpose: These Cookies are essential to provide You with services available through the Website and to enable You to use some of its features. They help to authenticate users and prevent fraudulent use of user accounts. Without these Cookies, the services that You have asked for cannot be provided, and We only use these Cookies to provide You with those services.
+
+- **Cookies Policy / Notice Acceptance Cookies**
+
+ Type: Persistent Cookies
+
+ Administered by: Us
+
+ Purpose: These Cookies identify if users have accepted the use of cookies on the Website.
+
+- **Functionality Cookies**
+
+ Type: Persistent Cookies
+
+ Administered by: Us
+
+ Purpose: These Cookies allow us to remember choices You make when You use the Website, such as remembering your login details or language preference. The purpose of these Cookies is to provide You with a more personal experience and to avoid You having to re-enter your preferences every time You use the Website.
+
+For more information about the cookies we use and your choices regarding cookies, please visit our Cookies Policy or the Cookies section of our Privacy Policy.
+
+## Use of Your Personal Data
+
+The Company may use Personal Data for the following purposes:
+
+- **To provide and maintain our Service**, including to monitor the usage of our Service.
+- **To manage Your Account:** to manage Your registration as a user of the Service. The Personal Data You provide can give You access to different functionalities of the Service that are available to You as a registered user.
+- **For the performance of a contract:** the development, compliance and undertaking of the purchase contract for the products, items or services You have purchased or of any other contract with Us through the Service.
+- **To contact You:** To contact You by email, telephone calls, SMS, or other equivalent forms of electronic communication, such as a mobile application's push notifications regarding updates or informative communications related to the functionalities, products or contracted services, including the security updates, when necessary or reasonable for their implementation.
+- **To provide You** with news, special offers and general information about other goods, services and events which we offer that are similar to those that you have already purchased or enquired about unless You have opted not to receive such information.
+- **To manage Your requests:** To attend and manage Your requests to Us.
+- **For business transfers:** We may use Your information to evaluate or conduct a merger, divestiture, restructuring, reorganization, dissolution, or other sale or transfer of some or all of Our assets, whether as a going concern or as part of bankruptcy, liquidation, or similar proceeding, in which Personal Data held by Us about our Service users is among the assets transferred.
+- **For other purposes**: We may use Your information for other purposes, such as data analysis, identifying usage trends, determining the effectiveness of our promotional campaigns and to evaluate and improve our Service, products, services, marketing and your experience.
+
+We may share Your personal information in the following situations:
+
+- **With Service Providers:** We may share Your personal information with Service Providers to monitor and analyze the use of our Service, to contact You.
+- **For business transfers:** We may share or transfer Your personal information in connection with, or during negotiations of, any merger, sale of Company assets, financing, or acquisition of all or a portion of Our business to another company.
+- **With Affiliates:** We may share Your information with Our affiliates, in which case we will require those affiliates to honor this Privacy Policy. Affiliates include Our parent company and any other subsidiaries, joint venture partners or other companies that We control or that are under common control with Us.
+- **With business partners:** We may share Your information with Our business partners to offer You certain products, services or promotions.
+- **With other users:** when You share personal information or otherwise interact in the public areas with other users, such information may be viewed by all users and may be publicly distributed outside.
+- **With Your consent**: We may disclose Your personal information for any other purpose with Your consent.
+
+## Retention of Your Personal Data
+
+The Company will retain Your Personal Data only for as long as is necessary for the purposes set out in this Privacy Policy. We will retain and use Your Personal Data to the extent necessary to comply with our legal obligations (for example, if we are required to retain your data to comply with applicable laws), resolve disputes, and enforce our legal agreements and policies.
+
+The Company will also retain Usage Data for internal analysis purposes. Usage Data is generally retained for a shorter period of time, except when this data is used to strengthen the security or to improve the functionality of Our Service, or We are legally obligated to retain this data for longer time periods.
+
+## Transfer of Your Personal Data
+
+Your information, including Personal Data, is processed at the Company's operating offices and in any other places where the parties involved in the processing are located. It means that this information may be transferred to β and maintained on β computers located outside of Your state, province, country or other governmental jurisdiction where the data protection laws may differ than those from Your jurisdiction.
+
+Your consent to this Privacy Policy followed by Your submission of such information represents Your agreement to that transfer.
+
+The Company will take all steps reasonably necessary to ensure that Your data is treated securely and in accordance with this Privacy Policy and no transfer of Your Personal Data will take place to an organization or a country unless there are adequate controls in place including the security of Your data and other personal information.
+
+## Delete Your Personal Data
+
+You have the right to delete or request that We assist in deleting the Personal Data that We have collected about You.
+
+Our Service may give You the ability to delete certain information about You from within the Service.
+
+You may update, amend, or delete Your information at any time by signing in to Your Account, if you have one, and visiting the account settings section that allows you to manage Your personal information. You may also contact Us to request access to, correct, or delete any personal information that You have provided to Us.
+
+Please note, however, that We may need to retain certain information when we have a legal obligation or lawful basis to do so.
+
+## Disclosure of Your Personal Data
+
+### Business Transactions
+
+If the Company is involved in a merger, acquisition or asset sale, Your Personal Data may be transferred. We will provide notice before Your Personal Data is transferred and becomes subject to a different Privacy Policy.
+
+#### Law enforcement
+
+Under certain circumstances, the Company may be required to disclose Your Personal Data if required to do so by law or in response to valid requests by public authorities (e.g. a court or a government agency).
+
+#### Other legal requirements
+
+The Company may disclose Your Personal Data in the good faith belief that such action is necessary to:
+
+- Comply with a legal obligation
+- Protect and defend the rights or property of the Company
+- Prevent or investigate possible wrongdoing in connection with the Service
+- Protect the personal safety of Users of the Service or the public
+- Protect against legal liability
+
+## Security of Your Personal Data
+
+The security of Your Personal Data is important to Us, but remember that no method of transmission over the Internet, or method of electronic storage is 100% secure. While We strive to use commercially acceptable means to protect Your Personal Data, We cannot guarantee its absolute security.
+
+## Children's Privacy
+
+Our Service does not address anyone under the age of 13. We do not knowingly collect personally identifiable information from anyone under the age of 13. If You are a parent or guardian and You are aware that Your child has provided Us with Personal Data, please contact Us. If We become aware that We have collected Personal Data from anyone under the age of 13 without verification of parental consent, We take steps to remove that information from Our servers.
+
+If We need to rely on consent as a legal basis for processing Your information and Your country requires consent from a parent, We may require Your parent's consent before We collect and use that information.
+
+## Links to Other Websites
+
+Our Service may contain links to other websites that are not operated by Us. If You click on a third party link, You will be directed to that third party's site. We strongly advise You to review the Privacy Policy of every site You visit.
+
+We have no control over and assume no responsibility for the content, privacy policies or practices of any third party sites or services.
+
+## Changes to this Privacy Policy
+
+We may update Our Privacy Policy from time to time. We will notify You of any changes by posting the new Privacy Policy on this page.
+
+We will let You know via email and/or a prominent notice on Our Service, prior to the change becoming effective and update the "Last updated" date at the top of this Privacy Policy.
+
+You are advised to review this Privacy Policy periodically for any changes. Changes to this Privacy Policy are effective when they are posted on this page.
+
+## Contact Us
+
+If you have any questions about this Privacy Policy, You can contact us:
+
+- By email: somecoolemail@domain.com
diff --git a/v3/src/pages/rss.xml.ts b/v3/src/pages/rss.xml.ts
new file mode 100644
index 0000000..f8831b7
--- /dev/null
+++ b/v3/src/pages/rss.xml.ts
@@ -0,0 +1,37 @@
+import { getRssString } from '@astrojs/rss';
+
+import { SITE, METADATA, APP_BLOG } from 'astrowind:config';
+import { fetchPosts } from '~/utils/blog';
+import { getPermalink } from '~/utils/permalinks';
+
+export const GET = async () => {
+ if (!APP_BLOG.isEnabled) {
+ return new Response(null, {
+ status: 404,
+ statusText: 'Not found',
+ });
+ }
+
+ const posts = await fetchPosts();
+
+ const rss = await getRssString({
+ title: `${SITE.name}βs Blog`,
+ description: METADATA?.description || '',
+ site: import.meta.env.SITE,
+
+ items: posts.map((post) => ({
+ link: getPermalink(post.permalink, 'post'),
+ title: post.title,
+ description: post.excerpt,
+ pubDate: post.publishDate,
+ })),
+
+ trailingSlash: SITE.trailingSlash,
+ });
+
+ return new Response(rss, {
+ headers: {
+ 'Content-Type': 'application/xml',
+ },
+ });
+};
diff --git a/v3/src/pages/services.astro b/v3/src/pages/services.astro
new file mode 100644
index 0000000..6250bd3
--- /dev/null
+++ b/v3/src/pages/services.astro
@@ -0,0 +1,224 @@
+---
+import CallToAction from '~/components/widgets/CallToAction.astro';
+import Content from '~/components/widgets/Content.astro';
+import Features2 from '~/components/widgets/Features2.astro';
+import Hero from '~/components/widgets/Hero.astro';
+import Testimonials from '~/components/widgets/Testimonials.astro';
+import Layout from '~/layouts/PageLayout.astro';
+
+const metadata = {
+ title: 'Services',
+};
+---
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Main Features
+
+
+
+
+
+
+
+
Benefits
+
+
+
+
+
+
+
+
+
+
+
diff --git a/v3/src/pages/terms.md b/v3/src/pages/terms.md
new file mode 100644
index 0000000..70df534
--- /dev/null
+++ b/v3/src/pages/terms.md
@@ -0,0 +1,120 @@
+---
+title: 'Terms and Conditions'
+layout: '~/layouts/MarkdownLayout.astro'
+---
+
+_Last updated_: January 06, 2023
+
+Please read these terms and conditions carefully before using Our Service.
+
+## Interpretation and Definitions
+
+### Interpretation
+
+The words of which the initial letter is capitalized have meanings defined under the following conditions. The following definitions shall have the same meaning regardless of whether they appear in singular or in plural.
+
+### Definitions
+
+For the purposes of these Terms and Conditions:
+
+- **Affiliate** means an entity that controls, is controlled by or is under common control with a party, where "control" means ownership of 50% or more of the shares, equity interest or other securities entitled to vote for election of directors or other managing authority.
+
+- **Country** refers to: California, United States
+
+- **Company** (referred to as either "the Company", "We", "Us" or "Our" in this Agreement) refers to AstroWind LLC, 1 Cupertino, CA 95014.
+
+- **Device** means any device that can access the Service such as a computer, a cellphone or a digital tablet.
+
+- **Service** refers to the Website.
+
+- **Terms and Conditions** (also referred as "Terms") mean these Terms and Conditions that form the entire agreement between You and the Company regarding the use of the Service. This Terms and Conditions agreement is a Demo.
+
+- **Third-party Social Media Service** means any services or content (including data, information, products or services) provided by a third-party that may be displayed, included or made available by the Service.
+
+- **Website** refers to AstroWind, accessible from [https://astrowind.vercel.app](https://astrowind.vercel.app)
+
+- **You** means the individual accessing or using the Service, or the company, or other legal entity on behalf of which such individual is accessing or using the Service, as applicable.
+
+## Acknowledgment
+
+These are the Terms and Conditions governing the use of this Service and the agreement that operates between You and the Company. These Terms and Conditions set out the rights and obligations of all users regarding the use of the Service.
+
+Your access to and use of the Service is conditioned on Your acceptance of and compliance with these Terms and Conditions. These Terms and Conditions apply to all visitors, users and others who access or use the Service.
+
+By accessing or using the Service You agree to be bound by these Terms and Conditions. If You disagree with any part of these Terms and Conditions then You may not access the Service.
+
+You represent that you are over the age of 18\. The Company does not permit those under 18 to use the Service.
+
+Your access to and use of the Service is also conditioned on Your acceptance of and compliance with the Privacy Policy of the Company. Our Privacy Policy describes Our policies and procedures on the collection, use and disclosure of Your personal information when You use the Application or the Website and tells You about Your privacy rights and how the law protects You. Please read Our Privacy Policy carefully before using Our Service.
+
+## Links to Other Websites
+
+Our Service may contain links to third-party web sites or services that are not owned or controlled by the Company.
+
+The Company has no control over, and assumes no responsibility for, the content, privacy policies, or practices of any third party web sites or services. You further acknowledge and agree that the Company shall not be responsible or liable, directly or indirectly, for any damage or loss caused or alleged to be caused by or in connection with the use of or reliance on any such content, goods or services available on or through any such web sites or services.
+
+We strongly advise You to read the terms and conditions and privacy policies of any third-party web sites or services that You visit.
+
+## Termination
+
+We may terminate or suspend Your access immediately, without prior notice or liability, for any reason whatsoever, including without limitation if You breach these Terms and Conditions.
+
+Upon termination, Your right to use the Service will cease immediately.
+
+## Limitation of Liability
+
+Notwithstanding any damages that You might incur, the entire liability of the Company and any of its suppliers under any provision of this Terms and Your exclusive remedy for all of the foregoing shall be limited to the amount actually paid by You through the Service or 100 USD if You haven't purchased anything through the Service.
+
+To the maximum extent permitted by applicable law, in no event shall the Company or its suppliers be liable for any special, incidental, indirect, or consequential damages whatsoever (including, but not limited to, damages for loss of profits, loss of data or other information, for business interruption, for personal injury, loss of privacy arising out of or in any way related to the use of or inability to use the Service, third-party software and/or third-party hardware used with the Service, or otherwise in connection with any provision of this Terms), even if the Company or any supplier has been advised of the possibility of such damages and even if the remedy fails of its essential purpose.
+
+Some states do not allow the exclusion of implied warranties or limitation of liability for incidental or consequential damages, which means that some of the above limitations may not apply. In these states, each party's liability will be limited to the greatest extent permitted by law.
+
+## "AS IS" and "AS AVAILABLE" Disclaimer
+
+The Service is provided to You "AS IS" and "AS AVAILABLE" and with all faults and defects without warranty of any kind. To the maximum extent permitted under applicable law, the Company, on its own behalf and on behalf of its Affiliates and its and their respective licensors and service providers, expressly disclaims all warranties, whether express, implied, statutory or otherwise, with respect to the Service, including all implied warranties of merchantability, fitness for a particular purpose, title and non-infringement, and warranties that may arise out of course of dealing, course of performance, usage or trade practice. Without limitation to the foregoing, the Company provides no warranty or undertaking, and makes no representation of any kind that the Service will meet Your requirements, achieve any intended results, be compatible or work with any other software, applications, systems or services, operate without interruption, meet any performance or reliability standards or be error free or that any errors or defects can or will be corrected.
+
+Without limiting the foregoing, neither the Company nor any of the company's provider makes any representation or warranty of any kind, express or implied: (i) as to the operation or availability of the Service, or the information, content, and materials or products included thereon; (ii) that the Service will be uninterrupted or error-free; (iii) as to the accuracy, reliability, or currency of any information or content provided through the Service; or (iv) that the Service, its servers, the content, or e-mails sent from or on behalf of the Company are free of viruses, scripts, trojan horses, worms, malware, timebombs or other harmful components.
+
+Some jurisdictions do not allow the exclusion of certain types of warranties or limitations on applicable statutory rights of a consumer, so some or all of the above exclusions and limitations may not apply to You. But in such a case the exclusions and limitations set forth in this section shall be applied to the greatest extent enforceable under applicable law.
+
+## Governing Law
+
+The laws of the Country, excluding its conflicts of law rules, shall govern this Terms and Your use of the Service. Your use of the Application may also be subject to other local, state, national, or international laws.
+
+## Disputes Resolution
+
+If You have any concern or dispute about the Service, You agree to first try to resolve the dispute informally by contacting the Company.
+
+## For European Union (EU) Users
+
+If You are a European Union consumer, you will benefit from any mandatory provisions of the law of the country in which you are resident in.
+
+## United States Legal Compliance
+
+You represent and warrant that (i) You are not located in a country that is subject to the United States government embargo, or that has been designated by the United States government as a "terrorist supporting" country, and (ii) You are not listed on any United States government list of prohibited or restricted parties.
+
+## Severability and Waiver
+
+### Severability
+
+If any provision of these Terms is held to be unenforceable or invalid, such provision will be changed and interpreted to accomplish the objectives of such provision to the greatest extent possible under applicable law and the remaining provisions will continue in full force and effect.
+
+### Waiver
+
+Except as provided herein, the failure to exercise a right or to require performance of an obligation under these Terms shall not effect a party's ability to exercise such right or require such performance at any time thereafter nor shall the waiver of a breach constitute a waiver of any subsequent breach.
+
+## Translation Interpretation
+
+These Terms and Conditions may have been translated if We have made them available to You on our Service. You agree that the original English text shall prevail in the case of a dispute.
+
+## Changes to These Terms and Conditions
+
+We reserve the right, at Our sole discretion, to modify or replace these Terms at any time. If a revision is material We will make reasonable efforts to provide at least 30 days' notice prior to any new terms taking effect. What constitutes a material change will be determined at Our sole discretion.
+
+By continuing to access or use Our Service after those revisions become effective, You agree to be bound by the revised terms. If You do not agree to the new terms, in whole or in part, please stop using the website and the Service.
+
+## Contact Us
+
+If you have any questions about these Terms and Conditions, You can contact us:
+
+- By email: somecoolemail@domain.com
diff --git a/v3/src/types.d.ts b/v3/src/types.d.ts
new file mode 100644
index 0000000..6c4223b
--- /dev/null
+++ b/v3/src/types.d.ts
@@ -0,0 +1,286 @@
+import type { AstroComponentFactory } from 'astro/runtime/server/index.js';
+import type { HTMLAttributes, ImageMetadata } from 'astro/types';
+
+export interface Post {
+ /** A unique ID number that identifies a post. */
+ id: string;
+
+ /** A postβs unique slug β part of the postβs URL based on its name, i.e. a post called βMy Sample Pageβ has a slug βmy-sample-pageβ. */
+ slug: string;
+
+ /** */
+ permalink: string;
+
+ /** */
+ publishDate: Date;
+ /** */
+ updateDate?: Date;
+
+ /** */
+ title: string;
+ /** Optional summary of post content. */
+ excerpt?: string;
+ /** */
+ image?: ImageMetadata | string;
+
+ /** */
+ category?: Taxonomy;
+ /** */
+ tags?: Taxonomy[];
+ /** */
+ author?: string;
+
+ /** */
+ metadata?: MetaData;
+
+ /** */
+ draft?: boolean;
+
+ /** */
+ Content?: AstroComponentFactory;
+ content?: string;
+
+ /** */
+ readingTime?: number;
+}
+
+export interface Taxonomy {
+ slug: string;
+ title: string;
+}
+
+export interface MetaData {
+ title?: string;
+ ignoreTitleTemplate?: boolean;
+
+ canonical?: string;
+
+ robots?: MetaDataRobots;
+
+ description?: string;
+
+ openGraph?: MetaDataOpenGraph;
+ twitter?: MetaDataTwitter;
+}
+
+export interface MetaDataRobots {
+ index?: boolean;
+ follow?: boolean;
+}
+
+export interface MetaDataImage {
+ url: string;
+ width?: number;
+ height?: number;
+}
+
+export interface MetaDataOpenGraph {
+ url?: string;
+ siteName?: string;
+ images?: Array;
+ locale?: string;
+ type?: string;
+}
+
+export interface MetaDataTwitter {
+ handle?: string;
+ site?: string;
+ cardType?: string;
+}
+
+export interface Image {
+ src: string;
+ alt?: string;
+}
+
+export interface Video {
+ src: string;
+ type?: string;
+}
+
+export interface Widget {
+ id?: string;
+ isDark?: boolean;
+ bg?: string;
+ classes?: Record>;
+}
+
+export interface Headline {
+ title?: string;
+ subtitle?: string;
+ tagline?: string;
+ classes?: Record;
+}
+
+interface TeamMember {
+ name?: string;
+ job?: string;
+ image?: Image;
+ socials?: Array;
+ description?: string;
+ classes?: Record;
+}
+
+interface Social {
+ icon?: string;
+ href?: string;
+}
+
+export interface Stat {
+ amount?: number | string;
+ title?: string;
+ icon?: string;
+}
+
+export interface Item {
+ title?: string;
+ description?: string;
+ icon?: string;
+ classes?: Record;
+ callToAction?: CallToAction;
+ image?: Image;
+}
+
+export interface Price {
+ title?: string;
+ subtitle?: string;
+ description?: string;
+ price?: number | string;
+ period?: string;
+ items?: Array;
+ callToAction?: CallToAction;
+ hasRibbon?: boolean;
+ ribbonTitle?: string;
+}
+
+export interface Testimonial {
+ title?: string;
+ testimonial?: string;
+ name?: string;
+ job?: string;
+ image?: string | unknown;
+}
+
+export interface Input {
+ type: HTMLInputTypeAttribute;
+ name: string;
+ label?: string;
+ autocomplete?: string;
+ placeholder?: string;
+}
+
+export interface Textarea {
+ label?: string;
+ name?: string;
+ placeholder?: string;
+ rows?: number;
+}
+
+export interface Disclaimer {
+ label?: string;
+}
+
+// COMPONENTS
+export interface CallToAction extends Omit, 'slot'> {
+ variant?: 'primary' | 'secondary' | 'tertiary' | 'link';
+ text?: string;
+ icon?: string;
+ classes?: Record;
+ type?: 'button' | 'submit' | 'reset';
+}
+
+export interface ItemGrid {
+ items?: Array;
+ columns?: number;
+ defaultIcon?: string;
+ classes?: Record;
+}
+
+export interface Collapse {
+ iconUp?: string;
+ iconDown?: string;
+ items?: Array;
+ columns?: number;
+ classes?: Record;
+}
+
+export interface Form {
+ inputs?: Array;
+ textarea?: Textarea;
+ disclaimer?: Disclaimer;
+ button?: string;
+ description?: string;
+}
+
+// WIDGETS
+export interface Hero extends Omit, Omit {
+ content?: string;
+ actions?: string | CallToAction[];
+ image?: string | unknown;
+}
+
+export interface Team extends Omit, Widget {
+ team?: Array;
+}
+
+export interface Stats extends Omit, Widget {
+ stats?: Array;
+}
+
+export interface Pricing extends Omit, Widget {
+ prices?: Array;
+}
+
+export interface Testimonials extends Omit, Widget {
+ testimonials?: Array;
+ callToAction?: CallToAction;
+}
+
+export interface Brands extends Omit, Widget {
+ icons?: Array;
+ images?: Array;
+}
+
+export interface Features extends Omit, Widget {
+ image?: string | unknown;
+ video?: Video;
+ items?: Array;
+ columns?: number;
+ defaultIcon?: string;
+ callToAction1?: CallToAction;
+ callToAction2?: CallToAction;
+ isReversed?: boolean;
+ isBeforeContent?: boolean;
+ isAfterContent?: boolean;
+}
+
+export interface Faqs extends Omit, Widget {
+ iconUp?: string;
+ iconDown?: string;
+ items?: Array;
+ columns?: number;
+}
+
+export interface Steps extends Omit, Widget {
+ items: Array<{
+ title: string;
+ description?: string;
+ icon?: string;
+ classes?: Record;
+ }>;
+ callToAction?: string | CallToAction;
+ image?: string | Image;
+ isReversed?: boolean;
+}
+
+export interface Content extends Omit, Widget {
+ content?: string;
+ image?: string | unknown;
+ items?: Array;
+ columns?: number;
+ isReversed?: boolean;
+ isAfterContent?: boolean;
+ callToAction?: CallToAction;
+}
+
+export interface Contact extends Omit, Form, Widget {}
diff --git a/v3/src/utils/blog.ts b/v3/src/utils/blog.ts
new file mode 100644
index 0000000..9f615ef
--- /dev/null
+++ b/v3/src/utils/blog.ts
@@ -0,0 +1,281 @@
+import type { PaginateFunction } from 'astro';
+import { getCollection } from 'astro:content';
+import type { CollectionEntry } from 'astro:content';
+import type { Post } from '~/types';
+import { APP_BLOG } from 'astrowind:config';
+import { cleanSlug, trimSlash, BLOG_BASE, POST_PERMALINK_PATTERN, CATEGORY_BASE, TAG_BASE } from './permalinks';
+
+const generatePermalink = async ({
+ id,
+ slug,
+ publishDate,
+ category,
+}: {
+ id: string;
+ slug: string;
+ publishDate: Date;
+ category: string | undefined;
+}) => {
+ const year = String(publishDate.getFullYear()).padStart(4, '0');
+ const month = String(publishDate.getMonth() + 1).padStart(2, '0');
+ const day = String(publishDate.getDate()).padStart(2, '0');
+ const hour = String(publishDate.getHours()).padStart(2, '0');
+ const minute = String(publishDate.getMinutes()).padStart(2, '0');
+ const second = String(publishDate.getSeconds()).padStart(2, '0');
+
+ const permalink = POST_PERMALINK_PATTERN.replace('%slug%', slug)
+ .replace('%id%', id)
+ .replace('%category%', category || '')
+ .replace('%year%', year)
+ .replace('%month%', month)
+ .replace('%day%', day)
+ .replace('%hour%', hour)
+ .replace('%minute%', minute)
+ .replace('%second%', second);
+
+ return permalink
+ .split('/')
+ .map((el) => trimSlash(el))
+ .filter((el) => !!el)
+ .join('/');
+};
+
+const getNormalizedPost = async (post: CollectionEntry<'post'>): Promise => {
+ const { id, slug: rawSlug = '', data } = post;
+ const { Content, remarkPluginFrontmatter } = await post.render();
+
+ const {
+ publishDate: rawPublishDate = new Date(),
+ updateDate: rawUpdateDate,
+ title,
+ excerpt,
+ image,
+ tags: rawTags = [],
+ category: rawCategory,
+ author,
+ draft = false,
+ metadata = {},
+ } = data;
+
+ const slug = cleanSlug(rawSlug); // cleanSlug(rawSlug.split('/').pop());
+ const publishDate = new Date(rawPublishDate);
+ const updateDate = rawUpdateDate ? new Date(rawUpdateDate) : undefined;
+
+ const category = rawCategory
+ ? {
+ slug: cleanSlug(rawCategory),
+ title: rawCategory,
+ }
+ : undefined;
+
+ const tags = rawTags.map((tag: string) => ({
+ slug: cleanSlug(tag),
+ title: tag,
+ }));
+
+ return {
+ id: id,
+ slug: slug,
+ permalink: await generatePermalink({ id, slug, publishDate, category: category?.slug }),
+
+ publishDate: publishDate,
+ updateDate: updateDate,
+
+ title: title,
+ excerpt: excerpt,
+ image: image,
+
+ category: category,
+ tags: tags,
+ author: author,
+
+ draft: draft,
+
+ metadata,
+
+ Content: Content,
+ // or 'content' in case you consume from API
+
+ readingTime: remarkPluginFrontmatter?.readingTime,
+ };
+};
+
+const load = async function (): Promise> {
+ const posts = await getCollection('post');
+ const normalizedPosts = posts.map(async (post) => await getNormalizedPost(post));
+
+ const results = (await Promise.all(normalizedPosts))
+ .sort((a, b) => b.publishDate.valueOf() - a.publishDate.valueOf())
+ .filter((post) => !post.draft);
+
+ return results;
+};
+
+let _posts: Array;
+
+/** */
+export const isBlogEnabled = APP_BLOG.isEnabled;
+export const isRelatedPostsEnabled = APP_BLOG.isRelatedPostsEnabled;
+export const isBlogListRouteEnabled = APP_BLOG.list.isEnabled;
+export const isBlogPostRouteEnabled = APP_BLOG.post.isEnabled;
+export const isBlogCategoryRouteEnabled = APP_BLOG.category.isEnabled;
+export const isBlogTagRouteEnabled = APP_BLOG.tag.isEnabled;
+
+export const blogListRobots = APP_BLOG.list.robots;
+export const blogPostRobots = APP_BLOG.post.robots;
+export const blogCategoryRobots = APP_BLOG.category.robots;
+export const blogTagRobots = APP_BLOG.tag.robots;
+
+export const blogPostsPerPage = APP_BLOG?.postsPerPage;
+
+/** */
+export const fetchPosts = async (): Promise> => {
+ if (!_posts) {
+ _posts = await load();
+ }
+
+ return _posts;
+};
+
+/** */
+export const findPostsBySlugs = async (slugs: Array): Promise> => {
+ if (!Array.isArray(slugs)) return [];
+
+ const posts = await fetchPosts();
+
+ return slugs.reduce(function (r: Array, slug: string) {
+ posts.some(function (post: Post) {
+ return slug === post.slug && r.push(post);
+ });
+ return r;
+ }, []);
+};
+
+/** */
+export const findPostsByIds = async (ids: Array): Promise> => {
+ if (!Array.isArray(ids)) return [];
+
+ const posts = await fetchPosts();
+
+ return ids.reduce(function (r: Array, id: string) {
+ posts.some(function (post: Post) {
+ return id === post.id && r.push(post);
+ });
+ return r;
+ }, []);
+};
+
+/** */
+export const findLatestPosts = async ({ count }: { count?: number }): Promise> => {
+ const _count = count || 4;
+ const posts = await fetchPosts();
+
+ return posts ? posts.slice(0, _count) : [];
+};
+
+/** */
+export const getStaticPathsBlogList = async ({ paginate }: { paginate: PaginateFunction }) => {
+ if (!isBlogEnabled || !isBlogListRouteEnabled) return [];
+ return paginate(await fetchPosts(), {
+ params: { blog: BLOG_BASE || undefined },
+ pageSize: blogPostsPerPage,
+ });
+};
+
+/** */
+export const getStaticPathsBlogPost = async () => {
+ if (!isBlogEnabled || !isBlogPostRouteEnabled) return [];
+ return (await fetchPosts()).flatMap((post) => ({
+ params: {
+ blog: post.permalink,
+ },
+ props: { post },
+ }));
+};
+
+/** */
+export const getStaticPathsBlogCategory = async ({ paginate }: { paginate: PaginateFunction }) => {
+ if (!isBlogEnabled || !isBlogCategoryRouteEnabled) return [];
+
+ const posts = await fetchPosts();
+ const categories = {};
+ posts.map((post) => {
+ if (post.category?.slug) {
+ categories[post.category?.slug] = post.category;
+ }
+ });
+
+ return Array.from(Object.keys(categories)).flatMap((categorySlug) =>
+ paginate(
+ posts.filter((post) => post.category?.slug && categorySlug === post.category?.slug),
+ {
+ params: { category: categorySlug, blog: CATEGORY_BASE || undefined },
+ pageSize: blogPostsPerPage,
+ props: { category: categories[categorySlug] },
+ }
+ )
+ );
+};
+
+/** */
+export const getStaticPathsBlogTag = async ({ paginate }: { paginate: PaginateFunction }) => {
+ if (!isBlogEnabled || !isBlogTagRouteEnabled) return [];
+
+ const posts = await fetchPosts();
+ const tags = {};
+ posts.map((post) => {
+ if (Array.isArray(post.tags)) {
+ post.tags.map((tag) => {
+ tags[tag?.slug] = tag;
+ });
+ }
+ });
+
+ return Array.from(Object.keys(tags)).flatMap((tagSlug) =>
+ paginate(
+ posts.filter((post) => Array.isArray(post.tags) && post.tags.find((elem) => elem.slug === tagSlug)),
+ {
+ params: { tag: tagSlug, blog: TAG_BASE || undefined },
+ pageSize: blogPostsPerPage,
+ props: { tag: tags[tagSlug] },
+ }
+ )
+ );
+};
+
+/** */
+export async function getRelatedPosts(originalPost: Post, maxResults: number = 4): Promise {
+ const allPosts = await fetchPosts();
+ const originalTagsSet = new Set(originalPost.tags ? originalPost.tags.map((tag) => tag.slug) : []);
+
+ const postsWithScores = allPosts.reduce((acc: { post: Post; score: number }[], iteratedPost: Post) => {
+ if (iteratedPost.slug === originalPost.slug) return acc;
+
+ let score = 0;
+ if (iteratedPost.category && originalPost.category && iteratedPost.category.slug === originalPost.category.slug) {
+ score += 5;
+ }
+
+ if (iteratedPost.tags) {
+ iteratedPost.tags.forEach((tag) => {
+ if (originalTagsSet.has(tag.slug)) {
+ score += 1;
+ }
+ });
+ }
+
+ acc.push({ post: iteratedPost, score });
+ return acc;
+ }, []);
+
+ postsWithScores.sort((a, b) => b.score - a.score);
+
+ const selectedPosts: Post[] = [];
+ let i = 0;
+ while (selectedPosts.length < maxResults && i < postsWithScores.length) {
+ selectedPosts.push(postsWithScores[i].post);
+ i++;
+ }
+
+ return selectedPosts;
+}
diff --git a/v3/src/utils/directories.ts b/v3/src/utils/directories.ts
new file mode 100644
index 0000000..b754797
--- /dev/null
+++ b/v3/src/utils/directories.ts
@@ -0,0 +1,18 @@
+import path from 'path';
+import { fileURLToPath } from 'url';
+
+const __dirname = path.dirname(fileURLToPath(import.meta.url));
+
+/** */
+export const getProjectRootDir = (): string => {
+ const mode = import.meta.env.MODE;
+
+ return mode === 'production' ? path.join(__dirname, '../') : path.join(__dirname, '../../');
+};
+
+const __srcFolder = path.join(getProjectRootDir(), '/src');
+
+/** */
+export const getRelativeUrlByFilePath = (filepath: string): string => {
+ return filepath.replace(__srcFolder, '');
+};
diff --git a/v3/src/utils/frontmatter.ts b/v3/src/utils/frontmatter.ts
new file mode 100644
index 0000000..0437104
--- /dev/null
+++ b/v3/src/utils/frontmatter.ts
@@ -0,0 +1,48 @@
+import getReadingTime from 'reading-time';
+import { toString } from 'mdast-util-to-string';
+import { visit } from 'unist-util-visit';
+import type { MarkdownAstroData, RehypePlugin, RemarkPlugin } from '@astrojs/markdown-remark';
+
+export const readingTimeRemarkPlugin: RemarkPlugin = () => {
+ return function (tree, file) {
+ const textOnPage = toString(tree);
+ const readingTime = Math.ceil(getReadingTime(textOnPage).minutes);
+
+ (file.data.astro as MarkdownAstroData).frontmatter.readingTime = readingTime;
+ };
+};
+
+export const responsiveTablesRehypePlugin: RehypePlugin = () => {
+ return function (tree) {
+ if (!tree.children) return;
+
+ for (let i = 0; i < tree.children.length; i++) {
+ const child = tree.children[i];
+
+ if (child.type === 'element' && child.tagName === 'table') {
+ tree.children[i] = {
+ type: 'element',
+ tagName: 'div',
+ properties: {
+ style: 'overflow:auto',
+ },
+ children: [child],
+ };
+
+ i++;
+ }
+ }
+ };
+};
+
+export const lazyImagesRehypePlugin: RehypePlugin = () => {
+ return function (tree) {
+ if (!tree.children) return;
+
+ visit(tree, 'element', function (node) {
+ if (node.tagName === 'img') {
+ node.properties.loading = 'lazy';
+ }
+ });
+ };
+};
diff --git a/v3/src/utils/images-optimization.ts b/v3/src/utils/images-optimization.ts
new file mode 100644
index 0000000..e6424ef
--- /dev/null
+++ b/v3/src/utils/images-optimization.ts
@@ -0,0 +1,323 @@
+import { getImage } from 'astro:assets';
+import { transformUrl, parseUrl } from 'unpic';
+
+import type { ImageMetadata } from 'astro';
+import type { HTMLAttributes } from 'astro/types';
+
+type Layout = 'fixed' | 'constrained' | 'fullWidth' | 'cover' | 'responsive' | 'contained';
+
+export interface ImageProps extends Omit, 'src'> {
+ src?: string | ImageMetadata | null;
+ width?: string | number | null;
+ height?: string | number | null;
+ alt?: string | null;
+ loading?: 'eager' | 'lazy' | null;
+ decoding?: 'sync' | 'async' | 'auto' | null;
+ style?: string;
+ srcset?: string | null;
+ sizes?: string | null;
+ fetchpriority?: 'high' | 'low' | 'auto' | null;
+
+ layout?: Layout;
+ widths?: number[] | null;
+ aspectRatio?: string | number | null;
+}
+
+export type ImagesOptimizer = (
+ image: ImageMetadata | string,
+ breakpoints: number[],
+ width?: number,
+ height?: number
+) => Promise>;
+
+/* ******* */
+const config = {
+ // FIXME: Use this when image.width is minor than deviceSizes
+ imageSizes: [16, 32, 48, 64, 96, 128, 256, 384],
+
+ deviceSizes: [
+ 640, // older and lower-end phones
+ 750, // iPhone 6-8
+ 828, // iPhone XR/11
+ 960, // older horizontal phones
+ 1080, // iPhone 6-8 Plus
+ 1280, // 720p
+ 1668, // Various iPads
+ 1920, // 1080p
+ 2048, // QXGA
+ 2560, // WQXGA
+ 3200, // QHD+
+ 3840, // 4K
+ 4480, // 4.5K
+ 5120, // 5K
+ 6016, // 6K
+ ],
+
+ formats: ['image/webp'],
+};
+
+const computeHeight = (width: number, aspectRatio: number) => {
+ return Math.floor(width / aspectRatio);
+};
+
+const parseAspectRatio = (aspectRatio: number | string | null | undefined): number | undefined => {
+ if (typeof aspectRatio === 'number') return aspectRatio;
+
+ if (typeof aspectRatio === 'string') {
+ const match = aspectRatio.match(/(\d+)\s*[/:]\s*(\d+)/);
+
+ if (match) {
+ const [, num, den] = match.map(Number);
+ if (den && !isNaN(num)) return num / den;
+ } else {
+ const numericValue = parseFloat(aspectRatio);
+ if (!isNaN(numericValue)) return numericValue;
+ }
+ }
+
+ return undefined;
+};
+
+/**
+ * Gets the `sizes` attribute for an image, based on the layout and width
+ */
+export const getSizes = (width?: number, layout?: Layout): string | undefined => {
+ if (!width || !layout) {
+ return undefined;
+ }
+ switch (layout) {
+ // If screen is wider than the max size, image width is the max size,
+ // otherwise it's the width of the screen
+ case `constrained`:
+ return `(min-width: ${width}px) ${width}px, 100vw`;
+
+ // Image is always the same width, whatever the size of the screen
+ case `fixed`:
+ return `${width}px`;
+
+ // Image is always the width of the screen
+ case `fullWidth`:
+ return `100vw`;
+
+ default:
+ return undefined;
+ }
+};
+
+const pixelate = (value?: number) => (value || value === 0 ? `${value}px` : undefined);
+
+const getStyle = ({
+ width,
+ height,
+ aspectRatio,
+ layout,
+ objectFit = 'cover',
+ objectPosition = 'center',
+ background,
+}: {
+ width?: number;
+ height?: number;
+ aspectRatio?: number;
+ objectFit?: string;
+ objectPosition?: string;
+ layout?: string;
+ background?: string;
+}) => {
+ const styleEntries: Array<[prop: string, value: string | undefined]> = [
+ ['object-fit', objectFit],
+ ['object-position', objectPosition],
+ ];
+
+ // If background is a URL, set it to cover the image and not repeat
+ if (background?.startsWith('https:') || background?.startsWith('http:') || background?.startsWith('data:')) {
+ styleEntries.push(['background-image', `url(${background})`]);
+ styleEntries.push(['background-size', 'cover']);
+ styleEntries.push(['background-repeat', 'no-repeat']);
+ } else {
+ styleEntries.push(['background', background]);
+ }
+ if (layout === 'fixed') {
+ styleEntries.push(['width', pixelate(width)]);
+ styleEntries.push(['height', pixelate(height)]);
+ styleEntries.push(['object-position', 'top left']);
+ }
+ if (layout === 'constrained') {
+ styleEntries.push(['max-width', pixelate(width)]);
+ styleEntries.push(['max-height', pixelate(height)]);
+ styleEntries.push(['aspect-ratio', aspectRatio ? `${aspectRatio}` : undefined]);
+ styleEntries.push(['width', '100%']);
+ }
+ if (layout === 'fullWidth') {
+ styleEntries.push(['width', '100%']);
+ styleEntries.push(['aspect-ratio', aspectRatio ? `${aspectRatio}` : undefined]);
+ styleEntries.push(['height', pixelate(height)]);
+ }
+ if (layout === 'responsive') {
+ styleEntries.push(['width', '100%']);
+ styleEntries.push(['height', 'auto']);
+ styleEntries.push(['aspect-ratio', aspectRatio ? `${aspectRatio}` : undefined]);
+ }
+ if (layout === 'contained') {
+ styleEntries.push(['max-width', '100%']);
+ styleEntries.push(['max-height', '100%']);
+ styleEntries.push(['object-fit', 'contain']);
+ styleEntries.push(['aspect-ratio', aspectRatio ? `${aspectRatio}` : undefined]);
+ }
+ if (layout === 'cover') {
+ styleEntries.push(['max-width', '100%']);
+ styleEntries.push(['max-height', '100%']);
+ }
+
+ const styles = Object.fromEntries(styleEntries.filter(([, value]) => value));
+
+ return Object.entries(styles)
+ .map(([key, value]) => `${key}: ${value};`)
+ .join(' ');
+};
+
+const getBreakpoints = ({
+ width,
+ breakpoints,
+ layout,
+}: {
+ width?: number;
+ breakpoints?: number[];
+ layout: Layout;
+}): number[] => {
+ if (layout === 'fullWidth' || layout === 'cover' || layout === 'responsive' || layout === 'contained') {
+ return breakpoints || config.deviceSizes;
+ }
+ if (!width) {
+ return [];
+ }
+ const doubleWidth = width * 2;
+ if (layout === 'fixed') {
+ return [width, doubleWidth];
+ }
+ if (layout === 'constrained') {
+ return [
+ // Always include the image at 1x and 2x the specified width
+ width,
+ doubleWidth,
+ // Filter out any resolutions that are larger than the double-res image
+ ...(breakpoints || config.deviceSizes).filter((w) => w < doubleWidth),
+ ];
+ }
+
+ return [];
+};
+
+/* ** */
+export const astroAsseetsOptimizer: ImagesOptimizer = async (image, breakpoints, _width, _height) => {
+ if (!image) {
+ return [];
+ }
+
+ return Promise.all(
+ breakpoints.map(async (w: number) => {
+ const url = (await getImage({ src: image, width: w, inferSize: true })).src;
+ return {
+ src: url,
+ width: w,
+ };
+ })
+ );
+};
+
+export const isUnpicCompatible = (image: string) => {
+ return typeof parseUrl(image) !== 'undefined';
+};
+
+/* ** */
+export const unpicOptimizer: ImagesOptimizer = async (image, breakpoints, width, height) => {
+ if (!image || typeof image !== 'string') {
+ return [];
+ }
+
+ const urlParsed = parseUrl(image);
+ if (!urlParsed) {
+ return [];
+ }
+
+ return Promise.all(
+ breakpoints.map(async (w: number) => {
+ const url =
+ transformUrl({
+ url: image,
+ width: w,
+ height: width && height ? computeHeight(w, width / height) : height,
+ cdn: urlParsed.cdn,
+ }) || image;
+ return {
+ src: String(url),
+ width: w,
+ };
+ })
+ );
+};
+
+/* ** */
+export async function getImagesOptimized(
+ image: ImageMetadata | string,
+ { src: _, width, height, sizes, aspectRatio, widths, layout = 'constrained', style = '', ...rest }: ImageProps,
+ transform: ImagesOptimizer = () => Promise.resolve([])
+): Promise<{ src: string; attributes: HTMLAttributes<'img'> }> {
+ if (typeof image !== 'string') {
+ width ||= Number(image.width) || undefined;
+ height ||= typeof width === 'number' ? computeHeight(width, image.width / image.height) : undefined;
+ }
+
+ width = (width && Number(width)) || undefined;
+ height = (height && Number(height)) || undefined;
+
+ widths ||= config.deviceSizes;
+ sizes ||= getSizes(Number(width) || undefined, layout);
+ aspectRatio = parseAspectRatio(aspectRatio);
+
+ // Calculate dimensions from aspect ratio
+ if (aspectRatio) {
+ if (width) {
+ if (height) {
+ /* empty */
+ } else {
+ height = width / aspectRatio;
+ }
+ } else if (height) {
+ width = Number(height * aspectRatio);
+ } else if (layout !== 'fullWidth') {
+ // Fullwidth images have 100% width, so aspectRatio is applicable
+ console.error('When aspectRatio is set, either width or height must also be set');
+ console.error('Image', image);
+ }
+ } else if (width && height) {
+ aspectRatio = width / height;
+ } else if (layout !== 'fullWidth') {
+ // Fullwidth images don't need dimensions
+ console.error('Either aspectRatio or both width and height must be set');
+ console.error('Image', image);
+ }
+
+ let breakpoints = getBreakpoints({ width: width, breakpoints: widths, layout: layout });
+ breakpoints = [...new Set(breakpoints)].sort((a, b) => a - b);
+
+ const srcset = (await transform(image, breakpoints, Number(width) || undefined, Number(height) || undefined))
+ .map(({ src, width }) => `${src} ${width}w`)
+ .join(', ');
+
+ return {
+ src: typeof image === 'string' ? image : image.src,
+ attributes: {
+ width: width,
+ height: height,
+ srcset: srcset || undefined,
+ sizes: sizes,
+ style: `${getStyle({
+ width: width,
+ height: height,
+ aspectRatio: aspectRatio,
+ layout: layout,
+ })}${style ?? ''}`,
+ ...rest,
+ },
+ };
+}
diff --git a/v3/src/utils/images.ts b/v3/src/utils/images.ts
new file mode 100644
index 0000000..3570727
--- /dev/null
+++ b/v3/src/utils/images.ts
@@ -0,0 +1,100 @@
+import { getImage } from 'astro:assets';
+import type { ImageMetadata } from 'astro';
+import type { OpenGraph } from '@astrolib/seo';
+
+const load = async function () {
+ let images: Record Promise> | undefined = undefined;
+ try {
+ images = import.meta.glob('~/assets/images/**/*.{jpeg,jpg,png,tiff,webp,gif,svg,JPEG,JPG,PNG,TIFF,WEBP,GIF,SVG}');
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
+ } catch (error) {
+ // continue regardless of error
+ }
+ return images;
+};
+
+let _images: Record Promise> | undefined = undefined;
+
+/** */
+export const fetchLocalImages = async () => {
+ _images = _images || (await load());
+ return _images;
+};
+
+/** */
+export const findImage = async (
+ imagePath?: string | ImageMetadata | null
+): Promise => {
+ // Not string
+ if (typeof imagePath !== 'string') {
+ return imagePath;
+ }
+
+ // Absolute paths
+ if (imagePath.startsWith('http://') || imagePath.startsWith('https://') || imagePath.startsWith('/')) {
+ return imagePath;
+ }
+
+ // Relative paths or not "~/assets/"
+ if (!imagePath.startsWith('~/assets/images')) {
+ return imagePath;
+ }
+
+ const images = await fetchLocalImages();
+ const key = imagePath.replace('~/', '/src/');
+
+ return images && typeof images[key] === 'function'
+ ? ((await images[key]()) as { default: ImageMetadata })['default']
+ : null;
+};
+
+/** */
+export const adaptOpenGraphImages = async (
+ openGraph: OpenGraph = {},
+ astroSite: URL | undefined = new URL('')
+): Promise => {
+ if (!openGraph?.images?.length) {
+ return openGraph;
+ }
+
+ const images = openGraph.images;
+ const defaultWidth = 1200;
+ const defaultHeight = 626;
+
+ const adaptedImages = await Promise.all(
+ images.map(async (image) => {
+ if (image?.url) {
+ const resolvedImage = (await findImage(image.url)) as ImageMetadata | undefined;
+ if (!resolvedImage) {
+ return {
+ url: '',
+ };
+ }
+
+ const _image = await getImage({
+ src: resolvedImage,
+ alt: 'Placeholder alt',
+ width: image?.width || defaultWidth,
+ height: image?.height || defaultHeight,
+ });
+
+ if (typeof _image === 'object') {
+ return {
+ url: 'src' in _image && typeof _image.src === 'string' ? String(new URL(_image.src, astroSite)) : 'pepe',
+ width: 'width' in _image && typeof _image.width === 'number' ? _image.width : undefined,
+ height: 'height' in _image && typeof _image.height === 'number' ? _image.height : undefined,
+ };
+ }
+ return {
+ url: '',
+ };
+ }
+
+ return {
+ url: '',
+ };
+ })
+ );
+
+ return { ...openGraph, ...(adaptedImages ? { images: adaptedImages } : {}) };
+};
diff --git a/v3/src/utils/permalinks.ts b/v3/src/utils/permalinks.ts
new file mode 100644
index 0000000..4e3078d
--- /dev/null
+++ b/v3/src/utils/permalinks.ts
@@ -0,0 +1,134 @@
+import slugify from 'limax';
+
+import { SITE, APP_BLOG } from 'astrowind:config';
+
+import { trim } from '~/utils/utils';
+
+export const trimSlash = (s: string) => trim(trim(s, '/'));
+const createPath = (...params: string[]) => {
+ const paths = params
+ .map((el) => trimSlash(el))
+ .filter((el) => !!el)
+ .join('/');
+ return '/' + paths + (SITE.trailingSlash && paths ? '/' : '');
+};
+
+const BASE_PATHNAME = SITE.base || '/';
+
+export const cleanSlug = (text = '') =>
+ trimSlash(text)
+ .split('/')
+ .map((slug) => slugify(slug))
+ .join('/');
+
+export const BLOG_BASE = cleanSlug(APP_BLOG?.list?.pathname);
+export const CATEGORY_BASE = cleanSlug(APP_BLOG?.category?.pathname);
+export const TAG_BASE = cleanSlug(APP_BLOG?.tag?.pathname) || 'tag';
+
+export const POST_PERMALINK_PATTERN = trimSlash(APP_BLOG?.post?.permalink || `${BLOG_BASE}/%slug%`);
+
+/** */
+export const getCanonical = (path = ''): string | URL => {
+ const url = String(new URL(path, SITE.site));
+ if (SITE.trailingSlash == false && path && url.endsWith('/')) {
+ return url.slice(0, -1);
+ } else if (SITE.trailingSlash == true && path && !url.endsWith('/')) {
+ return url + '/';
+ }
+ return url;
+};
+
+/** */
+export const getPermalink = (slug = '', type = 'page'): string => {
+ let permalink: string;
+
+ if (
+ slug.startsWith('https://') ||
+ slug.startsWith('http://') ||
+ slug.startsWith('://') ||
+ slug.startsWith('#') ||
+ slug.startsWith('javascript:')
+ ) {
+ return slug;
+ }
+
+ switch (type) {
+ case 'home':
+ permalink = getHomePermalink();
+ break;
+
+ case 'blog':
+ permalink = getBlogPermalink();
+ break;
+
+ case 'asset':
+ permalink = getAsset(slug);
+ break;
+
+ case 'category':
+ permalink = createPath(CATEGORY_BASE, trimSlash(slug));
+ break;
+
+ case 'tag':
+ permalink = createPath(TAG_BASE, trimSlash(slug));
+ break;
+
+ case 'post':
+ permalink = createPath(trimSlash(slug));
+ break;
+
+ case 'page':
+ default:
+ permalink = createPath(slug);
+ break;
+ }
+
+ return definitivePermalink(permalink);
+};
+
+/** */
+export const getHomePermalink = (): string => getPermalink('/');
+
+/** */
+export const getBlogPermalink = (): string => getPermalink(BLOG_BASE);
+
+/** */
+export const getAsset = (path: string): string =>
+ '/' +
+ [BASE_PATHNAME, path]
+ .map((el) => trimSlash(el))
+ .filter((el) => !!el)
+ .join('/');
+
+/** */
+const definitivePermalink = (permalink: string): string => createPath(BASE_PATHNAME, permalink);
+
+/** */
+export const applyGetPermalinks = (menu: object = {}) => {
+ if (Array.isArray(menu)) {
+ return menu.map((item) => applyGetPermalinks(item));
+ } else if (typeof menu === 'object' && menu !== null) {
+ const obj = {};
+ for (const key in menu) {
+ if (key === 'href') {
+ if (typeof menu[key] === 'string') {
+ obj[key] = getPermalink(menu[key]);
+ } else if (typeof menu[key] === 'object') {
+ if (menu[key].type === 'home') {
+ obj[key] = getHomePermalink();
+ } else if (menu[key].type === 'blog') {
+ obj[key] = getBlogPermalink();
+ } else if (menu[key].type === 'asset') {
+ obj[key] = getAsset(menu[key].url);
+ } else if (menu[key].url) {
+ obj[key] = getPermalink(menu[key].url, menu[key].type);
+ }
+ }
+ } else {
+ obj[key] = applyGetPermalinks(menu[key]);
+ }
+ }
+ return obj;
+ }
+ return menu;
+};
diff --git a/v3/src/utils/utils.ts b/v3/src/utils/utils.ts
new file mode 100644
index 0000000..e2ed559
--- /dev/null
+++ b/v3/src/utils/utils.ts
@@ -0,0 +1,52 @@
+import { I18N } from 'astrowind:config';
+
+export const formatter: Intl.DateTimeFormat = new Intl.DateTimeFormat(I18N?.language, {
+ year: 'numeric',
+ month: 'short',
+ day: 'numeric',
+ timeZone: 'UTC',
+});
+
+export const getFormattedDate = (date: Date): string => (date ? formatter.format(date) : '');
+
+export const trim = (str = '', ch?: string) => {
+ let start = 0,
+ end = str.length || 0;
+ while (start < end && str[start] === ch) ++start;
+ while (end > start && str[end - 1] === ch) --end;
+ return start > 0 || end < str.length ? str.substring(start, end) : str;
+};
+
+// Function to format a number in thousands (K) or millions (M) format depending on its value
+export const toUiAmount = (amount: number) => {
+ if (!amount) return 0;
+
+ let value: string;
+
+ if (amount >= 1000000000) {
+ const formattedNumber = (amount / 1000000000).toFixed(1);
+ if (Number(formattedNumber) === parseInt(formattedNumber)) {
+ value = parseInt(formattedNumber) + 'B';
+ } else {
+ value = formattedNumber + 'B';
+ }
+ } else if (amount >= 1000000) {
+ const formattedNumber = (amount / 1000000).toFixed(1);
+ if (Number(formattedNumber) === parseInt(formattedNumber)) {
+ value = parseInt(formattedNumber) + 'M';
+ } else {
+ value = formattedNumber + 'M';
+ }
+ } else if (amount >= 1000) {
+ const formattedNumber = (amount / 1000).toFixed(1);
+ if (Number(formattedNumber) === parseInt(formattedNumber)) {
+ value = parseInt(formattedNumber) + 'K';
+ } else {
+ value = formattedNumber + 'K';
+ }
+ } else {
+ value = Number(amount).toFixed(0);
+ }
+
+ return value;
+};
diff --git a/v3/tailwind.config.js b/v3/tailwind.config.js
new file mode 100644
index 0000000..32b3139
--- /dev/null
+++ b/v3/tailwind.config.js
@@ -0,0 +1,24 @@
+import defaultTheme from 'tailwindcss/defaultTheme';
+import typographyPlugin from '@tailwindcss/typography';
+
+module.exports = {
+ content: ['./src/**/*.{astro,html,js,jsx,json,md,mdx,svelte,ts,tsx,vue}'],
+ theme: {
+ extend: {
+ colors: {
+ primary: 'var(--aw-color-primary)',
+ secondary: 'var(--aw-color-secondary)',
+ accent: 'var(--aw-color-accent)',
+ default: 'var(--aw-color-text-default)',
+ muted: 'var(--aw-color-text-muted)',
+ },
+ fontFamily: {
+ sans: ['var(--aw-font-sans, ui-sans-serif)', ...defaultTheme.fontFamily.sans],
+ serif: ['var(--aw-font-serif, ui-serif)', ...defaultTheme.fontFamily.serif],
+ heading: ['var(--aw-font-heading, ui-sans-serif)', ...defaultTheme.fontFamily.sans],
+ },
+ },
+ },
+ plugins: [typographyPlugin],
+ darkMode: 'class',
+};
diff --git a/v3/tsconfig.json b/v3/tsconfig.json
new file mode 100644
index 0000000..52c9113
--- /dev/null
+++ b/v3/tsconfig.json
@@ -0,0 +1,12 @@
+{
+ "extends": "astro/tsconfigs/base",
+ "compilerOptions": {
+ "strictNullChecks": true,
+ "allowJs": true,
+ "baseUrl": ".",
+ "paths": {
+ "~/*": ["src/*"]
+ }
+ },
+ "exclude": ["dist/"]
+}
diff --git a/v3/vendor/README.md b/v3/vendor/README.md
new file mode 100644
index 0000000..8e14b86
--- /dev/null
+++ b/v3/vendor/README.md
@@ -0,0 +1,4 @@
+This folder will become an integration for **AstroWind**.
+
+We are working to allow updates to template instances.
+These are changes on the way to new **AstroWind v2**
diff --git a/v3/vendor/integration/index.ts b/v3/vendor/integration/index.ts
new file mode 100644
index 0000000..b24420f
--- /dev/null
+++ b/v3/vendor/integration/index.ts
@@ -0,0 +1,116 @@
+import fs from 'node:fs';
+import os from 'node:os';
+import type { AstroConfig, AstroIntegration } from 'astro';
+
+import configBuilder, { type Config } from './utils/configBuilder';
+import loadConfig from './utils/loadConfig';
+
+export default ({ config: _themeConfig = 'src/config.yaml' } = {}): AstroIntegration => {
+ let cfg: AstroConfig;
+ return {
+ name: 'astrowind-integration',
+
+ hooks: {
+ 'astro:config:setup': async ({
+ // command,
+ config,
+ // injectRoute,
+ // isRestart,
+ logger,
+ updateConfig,
+ addWatchFile,
+ }) => {
+ const buildLogger = logger.fork('astrowind');
+
+ const virtualModuleId = 'astrowind:config';
+ const resolvedVirtualModuleId = '\0' + virtualModuleId;
+
+ const rawJsonConfig = (await loadConfig(_themeConfig)) as Config;
+ const { SITE, I18N, METADATA, APP_BLOG, UI, ANALYTICS } = configBuilder(rawJsonConfig);
+
+ updateConfig({
+ site: SITE.site,
+ base: SITE.base,
+
+ trailingSlash: SITE.trailingSlash ? 'always' : 'never',
+
+ vite: {
+ plugins: [
+ {
+ name: 'vite-plugin-astrowind-config',
+ resolveId(id) {
+ if (id === virtualModuleId) {
+ return resolvedVirtualModuleId;
+ }
+ },
+ load(id) {
+ if (id === resolvedVirtualModuleId) {
+ return `
+ export const SITE = ${JSON.stringify(SITE)};
+ export const I18N = ${JSON.stringify(I18N)};
+ export const METADATA = ${JSON.stringify(METADATA)};
+ export const APP_BLOG = ${JSON.stringify(APP_BLOG)};
+ export const UI = ${JSON.stringify(UI)};
+ export const ANALYTICS = ${JSON.stringify(ANALYTICS)};
+ `;
+ }
+ },
+ },
+ ],
+ },
+ });
+
+ if (typeof _themeConfig === 'string') {
+ addWatchFile(new URL(_themeConfig, config.root));
+
+ buildLogger.info(`Astrowind \`${_themeConfig}\` has been loaded.`);
+ } else {
+ buildLogger.info(`Astrowind config has been loaded.`);
+ }
+ },
+ 'astro:config:done': async ({ config }) => {
+ cfg = config;
+ },
+
+ 'astro:build:done': async ({ logger }) => {
+ const buildLogger = logger.fork('astrowind');
+ buildLogger.info('Updating `robots.txt` with `sitemap-index.xml` ...');
+
+ try {
+ const outDir = cfg.outDir;
+ const publicDir = cfg.publicDir;
+ const sitemapName = 'sitemap-index.xml';
+ const sitemapFile = new URL(sitemapName, outDir);
+ const robotsTxtFile = new URL('robots.txt', publicDir);
+ const robotsTxtFileInOut = new URL('robots.txt', outDir);
+
+ const hasIntegration =
+ Array.isArray(cfg?.integrations) &&
+ cfg.integrations?.find((e) => e?.name === '@astrojs/sitemap') !== undefined;
+ const sitemapExists = fs.existsSync(sitemapFile);
+
+ if (hasIntegration && sitemapExists) {
+ const robotsTxt = fs.readFileSync(robotsTxtFile, { encoding: 'utf8', flag: 'a+' });
+ const sitemapUrl = new URL(sitemapName, String(new URL(cfg.base, cfg.site)));
+ const pattern = /^Sitemap:(.*)$/m;
+
+ if (!pattern.test(robotsTxt)) {
+ fs.appendFileSync(robotsTxtFileInOut, `${os.EOL}${os.EOL}Sitemap: ${sitemapUrl}`, {
+ encoding: 'utf8',
+ flag: 'w',
+ });
+ } else {
+ fs.writeFileSync(robotsTxtFileInOut, robotsTxt.replace(pattern, `Sitemap: ${sitemapUrl}`), {
+ encoding: 'utf8',
+ flag: 'w',
+ });
+ }
+ }
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
+ } catch (error) {
+ /* empty */
+ }
+ },
+ },
+ };
+};
diff --git a/v3/vendor/integration/types.d.ts b/v3/vendor/integration/types.d.ts
new file mode 100644
index 0000000..3b6113b
--- /dev/null
+++ b/v3/vendor/integration/types.d.ts
@@ -0,0 +1,10 @@
+declare module 'astrowind:config' {
+ import type { SiteConfig, I18NConfig, MetaDataConfig, AppBlogConfig, UIConfig, AnalyticsConfig } from './config';
+
+ export const SITE: SiteConfig;
+ export const I18N: I18NConfig;
+ export const METADATA: MetaDataConfig;
+ export const APP_BLOG: AppBlogConfig;
+ export const UI: UIConfig;
+ export const ANALYTICS: AnalyticsConfig;
+}
diff --git a/v3/vendor/integration/utils/configBuilder.ts b/v3/vendor/integration/utils/configBuilder.ts
new file mode 100644
index 0000000..1c60e9b
--- /dev/null
+++ b/v3/vendor/integration/utils/configBuilder.ts
@@ -0,0 +1,203 @@
+import merge from 'lodash.merge';
+
+import type { MetaData } from '~/types';
+
+export type Config = {
+ site?: SiteConfig;
+ metadata?: MetaDataConfig;
+ i18n?: I18NConfig;
+ apps?: {
+ blog?: AppBlogConfig;
+ };
+ ui?: unknown;
+ analytics?: unknown;
+};
+
+export interface SiteConfig {
+ name: string;
+ site?: string;
+ base?: string;
+ trailingSlash?: boolean;
+ googleSiteVerificationId?: string;
+}
+export interface MetaDataConfig extends Omit {
+ title?: {
+ default: string;
+ template: string;
+ };
+}
+export interface I18NConfig {
+ language: string;
+ textDirection: string;
+ dateFormatter?: Intl.DateTimeFormat;
+}
+export interface AppBlogConfig {
+ isEnabled: boolean;
+ postsPerPage: number;
+ isRelatedPostsEnabled: boolean;
+ relatedPostsCount: number;
+ post: {
+ isEnabled: boolean;
+ permalink: string;
+ robots: {
+ index: boolean;
+ follow: boolean;
+ };
+ };
+ list: {
+ isEnabled: boolean;
+ pathname: string;
+ robots: {
+ index: boolean;
+ follow: boolean;
+ };
+ };
+ category: {
+ isEnabled: boolean;
+ pathname: string;
+ robots: {
+ index: boolean;
+ follow: boolean;
+ };
+ };
+ tag: {
+ isEnabled: boolean;
+ pathname: string;
+ robots: {
+ index: boolean;
+ follow: boolean;
+ };
+ };
+}
+export interface AnalyticsConfig {
+ vendors: {
+ googleAnalytics: {
+ id?: string;
+ partytown?: boolean;
+ };
+ };
+}
+
+export interface UIConfig {
+ theme: string;
+}
+
+const DEFAULT_SITE_NAME = 'Website';
+
+const getSite = (config: Config) => {
+ const _default = {
+ name: DEFAULT_SITE_NAME,
+ site: undefined,
+ base: '/',
+ trailingSlash: false,
+
+ googleSiteVerificationId: '',
+ };
+
+ return merge({}, _default, config?.site ?? {}) as SiteConfig;
+};
+
+const getMetadata = (config: Config) => {
+ const siteConfig = getSite(config);
+
+ const _default = {
+ title: {
+ default: siteConfig?.name || DEFAULT_SITE_NAME,
+ template: '%s',
+ },
+ description: '',
+ robots: {
+ index: false,
+ follow: false,
+ },
+ openGraph: {
+ type: 'website',
+ },
+ };
+
+ return merge({}, _default, config?.metadata ?? {}) as MetaDataConfig;
+};
+
+const getI18N = (config: Config) => {
+ const _default = {
+ language: 'en',
+ textDirection: 'ltr',
+ };
+
+ const value = merge({}, _default, config?.i18n ?? {});
+
+ return value as I18NConfig;
+};
+
+const getAppBlog = (config: Config) => {
+ const _default = {
+ isEnabled: false,
+ postsPerPage: 6,
+ isRelatedPostsEnabled: false,
+ relatedPostsCount: 4,
+ post: {
+ isEnabled: true,
+ permalink: '/blog/%slug%',
+ robots: {
+ index: true,
+ follow: true,
+ },
+ },
+ list: {
+ isEnabled: true,
+ pathname: 'blog',
+ robots: {
+ index: true,
+ follow: true,
+ },
+ },
+ category: {
+ isEnabled: true,
+ pathname: 'category',
+ robots: {
+ index: true,
+ follow: true,
+ },
+ },
+ tag: {
+ isEnabled: true,
+ pathname: 'tag',
+ robots: {
+ index: false,
+ follow: true,
+ },
+ },
+ };
+
+ return merge({}, _default, config?.apps?.blog ?? {}) as AppBlogConfig;
+};
+
+const getUI = (config: Config) => {
+ const _default = {
+ theme: 'system',
+ };
+
+ return merge({}, _default, config?.ui ?? {});
+};
+
+const getAnalytics = (config: Config) => {
+ const _default = {
+ vendors: {
+ googleAnalytics: {
+ id: undefined,
+ partytown: true,
+ },
+ },
+ };
+
+ return merge({}, _default, config?.analytics ?? {}) as AnalyticsConfig;
+};
+
+export default (config: Config) => ({
+ SITE: getSite(config),
+ I18N: getI18N(config),
+ METADATA: getMetadata(config),
+ APP_BLOG: getAppBlog(config),
+ UI: getUI(config),
+ ANALYTICS: getAnalytics(config),
+});
diff --git a/v3/vendor/integration/utils/loadConfig.ts b/v3/vendor/integration/utils/loadConfig.ts
new file mode 100644
index 0000000..8dfb435
--- /dev/null
+++ b/v3/vendor/integration/utils/loadConfig.ts
@@ -0,0 +1,16 @@
+import fs from 'node:fs';
+import yaml from 'js-yaml';
+
+const loadConfig = async (configPathOrData: string | object) => {
+ if (typeof configPathOrData === 'string') {
+ const content = fs.readFileSync(configPathOrData, 'utf8');
+ if (configPathOrData.endsWith('.yaml') || configPathOrData.endsWith('.yml')) {
+ return yaml.load(content);
+ }
+ return content;
+ }
+
+ return configPathOrData;
+};
+
+export default loadConfig;
diff --git a/v3/vercel.json b/v3/vercel.json
new file mode 100644
index 0000000..3526282
--- /dev/null
+++ b/v3/vercel.json
@@ -0,0 +1,15 @@
+{
+ "cleanUrls": true,
+ "trailingSlash": false,
+ "headers": [
+ {
+ "source": "/_astro/(.*)",
+ "headers": [
+ {
+ "key": "Cache-Control",
+ "value": "public, max-age=31536000, immutable"
+ }
+ ]
+ }
+ ]
+}
diff --git a/v3/vscode.tailwind.json b/v3/vscode.tailwind.json
new file mode 100644
index 0000000..56e07f6
--- /dev/null
+++ b/v3/vscode.tailwind.json
@@ -0,0 +1,17 @@
+{
+ "version": 1.1,
+ "atDirectives": [
+ {
+ "name": "@tailwind",
+ "description": "@tailwind tailwindcss"
+ },
+ {
+ "name": "@layer",
+ "description": "@layer tailwindcss"
+ },
+ {
+ "name": "@apply",
+ "description": "@apply tailwindcss"
+ }
+ ]
+}