From 7d296b1b6c22d8dc6f70c92adb0b77fc27738e4c Mon Sep 17 00:00:00 2001 From: prototypa Date: Sun, 22 Jan 2023 02:35:02 -0500 Subject: [PATCH 1/8] Fix css custom data for tailwind --- .vscode/settings.json | 2 +- .vscode/css-custom-data.json => vscode.tailwind.json | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename .vscode/css-custom-data.json => vscode.tailwind.json (100%) diff --git a/.vscode/settings.json b/.vscode/settings.json index be6ddaf..82d3e34 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,5 +1,5 @@ { - "css.customData": ["./vscode/css-custom-data.json"], + "css.customData": ["./vscode.tailwind.json"], "eslint.validate": [ "javascript", "javascriptreact", diff --git a/.vscode/css-custom-data.json b/vscode.tailwind.json similarity index 100% rename from .vscode/css-custom-data.json rename to vscode.tailwind.json From 74ed4576c8528262b137599c24a0261db3f60e9c Mon Sep 17 00:00:00 2001 From: prototypa Date: Sun, 22 Jan 2023 02:35:33 -0500 Subject: [PATCH 2/8] Add landing pages --- src/pages/landing/mobile-app.astro | 73 +++++++++++ src/pages/landing/saas.astro | 203 +++++++++++++++++++++++++++++ src/pages/landing/startup.astro | 56 ++++++++ 3 files changed, 332 insertions(+) create mode 100644 src/pages/landing/mobile-app.astro create mode 100644 src/pages/landing/saas.astro create mode 100644 src/pages/landing/startup.astro diff --git a/src/pages/landing/mobile-app.astro b/src/pages/landing/mobile-app.astro new file mode 100644 index 0000000..c7f2667 --- /dev/null +++ b/src/pages/landing/mobile-app.astro @@ -0,0 +1,73 @@ +--- +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'; + +const meta = { + title: "Mobile App Landing Page", +}; +--- + + + + +
+ + + + + + + Free template for + Astro v2 + Tailwind CSS + + + + + AstroWind: Production-ready. Suitable for Startups, + Small Business, Sass Websites, Professional Portfolios, Marketing Websites, Landing Pages & Blogs. + + + + + + + + Astro +
Tailwind CSS +
+ + + Be very surprised by these huge fake numbers you are seeing on this page. Don't + waste more time! :P + +
+ \ No newline at end of file diff --git a/src/pages/landing/saas.astro b/src/pages/landing/saas.astro new file mode 100644 index 0000000..57706ea --- /dev/null +++ b/src/pages/landing/saas.astro @@ -0,0 +1,203 @@ +--- +import Layout from '~/layouts/PageLayout.astro'; + +import Header from '~/components/widgets/Header.astro'; +import Hero2 from '~/components/widgets/Hero2.astro'; +import Steps2 from '~/components/widgets/Steps2.astro'; +import Content from '~/components/widgets/Content.astro'; +import CallToAction from '~/components/widgets/CallToAction.astro'; + +import { headerData } from '~/data'; + +const meta = { + title: 'Saas Landing Page', +}; +--- + + + +
+ + + + + + + Free template for
+ Astro v2 + Tailwind CSS +
+ + + + AstroWind: Production-ready. Suitable for Startups, + Small Business, Sass Websites, Professional Portfolios, Marketing Websites, Landing Pages & Blogs. + +
+ + + + + +

Ad vix debet docendi

+ Ne dicta praesent ocurreret has, diam theophrastus at pro. Eos etiam regione ut, persius eripuit quo id. Sit te euismod + tacimates. +
+
+ + + + + +

Ad vix debet docendi

+ Ne dicta praesent ocurreret has, diam theophrastus at pro. Eos etiam regione ut, persius eripuit quo id. Sit te euismod + tacimates. +
+
+ + + + + +

Ad vix debet docendi

+ Ne dicta praesent ocurreret has, diam theophrastus at pro. Eos etiam regione ut, persius eripuit quo id. Sit te euismod + tacimates. +
+
+ + + + + + + + + + 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/src/pages/landing/startup.astro b/src/pages/landing/startup.astro new file mode 100644 index 0000000..e5cdae7 --- /dev/null +++ b/src/pages/landing/startup.astro @@ -0,0 +1,56 @@ +--- +import Layout from '~/layouts/PageLayout.astro'; + +import Hero from '~/components/widgets/Hero.astro'; +import CallToAction from '~/components/widgets/CallToAction.astro'; + +const meta = { + title: "Startup Landing Page", +}; +--- + + + + + + + Free template for + Astro v2 + Tailwind CSS + + + + + AstroWind: Production-ready. Suitable for Startups, + Small Business, Sass Websites, Professional Portfolios, Marketing Websites, Landing Pages & Blogs. + + + + + + + + + + + + Astro +
Tailwind CSS +
+ + + Be very surprised by these huge fake numbers you are seeing on this page. Don't + waste more time! :P + +
+
\ No newline at end of file From 5771f0460704a381bb20ba15ac3cb4e3340f08f5 Mon Sep 17 00:00:00 2001 From: prototypa Date: Sun, 22 Jan 2023 02:35:53 -0500 Subject: [PATCH 3/8] Links for landing pages --- src/data.js | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/src/data.js b/src/data.js index fd4fdd8..c680018 100644 --- a/src/data.js +++ b/src/data.js @@ -7,15 +7,15 @@ export const headerData = { links: [ { text: 'Sass', - href: '#', + href: getPermalink('/landing/saas'), }, { text: 'Startup', - href: '#', + href: getPermalink('/landing/startup'), }, { text: 'Mobile App', - href: '#', + href: getPermalink('/landing/mobile-app'), }, ], }, @@ -56,10 +56,6 @@ export const headerData = { text: 'Blog', href: getBlogPermalink(), }, - { - text: 'About', - href: '#', - }, ], actions: [ { type: 'button', text: 'Download', href: 'https://github.com/onwidget/astrowind' } From 6ed5fb1f3f3412d06fc647f61d5bb35d12822dd2 Mon Sep 17 00:00:00 2001 From: prototypa Date: Sun, 22 Jan 2023 02:36:58 -0500 Subject: [PATCH 4/8] Move customizable components to /components --- src/components/{common => }/CustomStyles.astro | 4 +--- src/components/{common => }/Logo.astro | 0 src/content/posts/markdown-elements-demo-post.mdx | 4 ++-- 3 files changed, 3 insertions(+), 5 deletions(-) rename src/components/{common => }/CustomStyles.astro (72%) rename src/components/{common => }/Logo.astro (100%) diff --git a/src/components/common/CustomStyles.astro b/src/components/CustomStyles.astro similarity index 72% rename from src/components/common/CustomStyles.astro rename to src/components/CustomStyles.astro index 8d60d9b..fc87e6d 100644 --- a/src/components/common/CustomStyles.astro +++ b/src/components/CustomStyles.astro @@ -5,13 +5,11 @@ import '@fontsource/inter/variable.css'; // Dosis --- - -