Skip to content

Commit

Permalink
chore: update content, header and footer
Browse files Browse the repository at this point in the history
  • Loading branch information
cvgellhorn committed Jul 9, 2024
1 parent 8e0eee0 commit 0e53b06
Show file tree
Hide file tree
Showing 8 changed files with 50 additions and 145 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"node": "^18.17.1 || ^20.3.0 || >= 21.0.0"
},
"scripts": {
"dev": "astro dev",
"dev": "astro dev --host",
"start": "astro dev",
"build": "astro build",
"preview": "astro preview",
Expand Down
Binary file added src/assets/images/hero-image-new.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 0 additions & 9 deletions src/components/CustomStyles.astro
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,6 @@ import '@fontsource-variable/inter';
--aw-color-bg-page: rgb(255 255 255);

--aw-color-bg-page-dark: rgb(3 6 32);

::selection {
background-color: lavender;
}
}

.dark {
Expand All @@ -54,10 +50,5 @@ import '@fontsource-variable/inter';
--aw-color-text-default: rgb(229 236 246);
--aw-color-text-muted: rgb(229 236 246 / 66%);
--aw-color-bg-page: rgb(3 6 32);

::selection {
background-color: black;
color: snow;
}
}
</style>
5 changes: 4 additions & 1 deletion src/components/widgets/Header.astro
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,10 @@ const currentPath = `/${trimSlash(new URL(Astro.url).pathname)}`;
<li class={links?.length ? 'dropdown' : ''}>
{links?.length ? (
<>
<button type="button" class="hover:text-link dark:hover:text-white px-4 py-3 flex items-center">
<button
type="button"
class="hover:text-link dark:hover:text-white px-4 py-3 flex items-center whitespace-nowrap"
>
{text}{' '}
<Icon name="tabler:chevron-down" class="w-3.5 h-3.5 ml-0.5 rtl:ml-0 rtl:mr-0.5 hidden md:inline" />
</button>
Expand Down
6 changes: 2 additions & 4 deletions src/components/widgets/Stats.astro
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,14 @@ const {
{
stats &&
stats.map(({ amount, title, icon }) => (
<div class="p-4 md:w-1/4 sm:w-1/2 w-full min-w-[220px] text-center md:border-r md:last:border-none dark:md:border-slate-500">
<div class="p-4 md:w-1/4 sm:w-1/2 w-full min-w-[220px] text-center md:border-r md:last:border-none dark:md:border-slate-800">
{icon && (
<div class="flex items-center justify-center mx-auto mb-4 text-primary">
<Icon name={icon} class="w-10 h-10" />
</div>
)}
{amount && (
<div class="font-heading text-primary text-[2.6rem] font-bold dark:text-white lg:text-5xl xl:text-6xl">
{amount}
</div>
<div class="font-heading text-primary text-[2.6rem] font-bold lg:text-5xl xl:text-6xl">{amount}</div>
)}
{title && (
<div class="text-sm font-medium uppercase tracking-widest text-gray-800 dark:text-slate-400 lg:text-base">
Expand Down
10 changes: 5 additions & 5 deletions src/config.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
site:
name: Sturmfrei
name: sturmfrei
site: 'https://sturmfrei.com.au'
base: '/'
trailingSlash: false
Expand All @@ -10,21 +10,21 @@ site:
metadata:
title:
default: Sturmfrei Pty Ltd
template: '%s · Sturmfrei'
template: '%s · sturmfrei'
description: "\U0001F680 Delightful apps and tools for the web."
robots:
index: true
follow: true
openGraph:
site_name: Sturmfrei
site_name: sturmfrei
images:
- url: '~/assets/images/default.png'
width: 1200
height: 628
type: website
twitter:
handle: '@onwidget'
site: '@onwidget'
handle: '@sturmfreico'
site: '@sturmfreico'
cardType: summary_large_image

i18n:
Expand Down
59 changes: 24 additions & 35 deletions src/navigation.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,27 +3,32 @@ import { getPermalink, getBlogPermalink } from './utils/permalinks';
export const headerData = {
links: [
{
text: 'Products',
text: 'Shopify Apps',
links: [
{
text: 'SaaS',
href: getPermalink('/homes/saas'),
text: 'Free Shipping Bar',
href: '#'
},
{
text: 'Startup',
href: getPermalink('/homes/startup'),
},
{
text: 'Mobile App',
href: getPermalink('/homes/mobile-app'),
},
{
text: 'Personal',
href: getPermalink('/homes/personal'),
text: 'Checkout Notes',
href: '#'
},
],
},
// {
// text: 'Products',
// links: [
// {
// text: 'Shopify Apps',
// href: getPermalink('/homes/saas'),
// },
// {
// text: 'Coming Soon',
// href: getPermalink('/homes/saas'),
// },
// ],
// },
// {
// text: 'Pages',
// links: [
// {
Expand Down Expand Up @@ -58,7 +63,7 @@ export const headerData = {
// },
{
text: 'About',
href: getPermalink('/landing/sales'),
href: getPermalink('/about'),
// links: [
// {
// text: 'Lead Generation',
Expand Down Expand Up @@ -121,12 +126,8 @@ export const footerData = {
{
title: 'Product',
links: [
{ text: 'Features', href: '#' },
{ text: 'Security', href: '#' },
{ text: 'Team', href: '#' },
{ text: 'Enterprise', href: '#' },
{ text: 'Customer stories', href: '#' },
{ text: 'Pricing', href: '#' },
{ text: 'Features', href: '#' },
{ text: 'Resources', href: '#' },
],
},
Expand All @@ -135,9 +136,6 @@ export const footerData = {
links: [
{ text: 'Developer API', href: '#' },
{ text: 'Partners', href: '#' },
{ text: 'Atom', href: '#' },
{ text: 'Electron', href: '#' },
{ text: 'AstroWind Desktop', href: '#' },
],
},
{
Expand All @@ -146,20 +144,16 @@ export const footerData = {
{ text: 'Docs', href: '#' },
{ text: 'Community Forum', href: '#' },
{ text: 'Professional Services', href: '#' },
{ text: 'Skills', href: '#' },
{ text: 'Status', href: '#' },
],
},
{
title: 'Company',
links: [
{ text: 'About', href: '#' },
{ text: 'Blog', href: '#' },
{ text: 'Team', href: '#' },
{ text: 'Careers', href: '#' },
{ text: 'Press', href: '#' },
{ text: 'Inclusion', href: '#' },
{ text: 'Social Impact', href: '#' },
{ text: 'Shop', href: '#' },
],
},
],
Expand All @@ -168,14 +162,9 @@ export const footerData = {
{ text: 'Privacy Policy', href: getPermalink('/privacy') },
],
socialLinks: [
{ ariaLabel: 'X', icon: 'tabler:brand-x', href: '#' },
{ ariaLabel: 'Instagram', icon: 'tabler:brand-instagram', href: '#' },
{ ariaLabel: 'Facebook', icon: 'tabler:brand-facebook', href: '#' },
{ ariaLabel: 'X', icon: 'tabler:brand-x', href: 'https://x.com/sturmfreico' },
{ ariaLabel: 'Instagram', icon: 'tabler:brand-instagram', href: 'https://www.instagram.com/sturmfreico/' },
{ ariaLabel: 'Github', icon: 'tabler:brand-github', href: 'https://github.com/sturmfreico' },
// { ariaLabel: 'RSS', icon: 'tabler:rss', href: getAsset('/rss.xml') },
],
// footNote: `
// <img class="w-5 h-5 md:w-6 md:h-6 md:-mt-0.5 bg-cover mr-1.5 rtl:mr-0 rtl:ml-1.5 float-left rtl:float-right rounded-sm" src="https://onwidget.com/favicon/favicon-32x32.png" alt="onWidget logo" loading="lazy"></img>
// Made by <a class="text-blue-600 underline dark:text-muted" href="https://onwidget.com/"> onWidget</a> · All rights reserved.
// `,
footNote: `© 2024 Sturmfrei Pty Ltd · All rights reserved`,
};
104 changes: 14 additions & 90 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,11 @@
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 FAQs from '~/components/widgets/FAQs.astro';
// import Stats from '~/components/widgets/Stats.astro';
const metadata = {
title: 'Sturmfrei Pty Ltd',
Expand All @@ -19,46 +16,23 @@ const metadata = {

<Layout metadata={metadata}>
<!-- Hero Widget ******************* -->

<Hero
actions={[
// {
// variant: 'primary',
// text: 'Get template',
// href: 'https://github.com/onwidget/astrowind',
// target: '_blank',
// icon: 'tabler:download',
// },
// { text: 'Learn more', href: '#features' },
]}
image={{ src: '~/assets/images/hero-image.png', alt: 'AstroWind Hero Image' }}
>
<Hero image={{ src: '~/assets/images/hero-image-new.png', alt: 'AstroWind Hero Image' }}>
<Fragment slot="title">
Free template for <span class="hidden xl:inline">creating websites with</span>
<span class="text-accent dark:text-white highlight"> Astro 4.0</span> + Tailwind CSS
<span class="hidden xl:inline">We're a Sydney based startup making delightful</span>
<span class="xl:hidden">Delightful</span>
<span class="text-accent highlight"> apps</span> and <span class="text-accent highlight">tools</span> for the web
</Fragment>

<Fragment slot="subtitle">
<span class="hidden sm:inline">
<span class="font-semibold">AstroWind</span> is a free, customizable and production-ready template for Astro 4.0
+ Tailwind CSS.</span
>
<span class="block mb-1 sm:hidden font-bold text-blue-600">AstroWind: Production-ready.</span>
Suitable for Startups, Small Business, SaaS websites, Professional Portfolios, Marketing websites, Landing Pages &
Blogs.
Empowering E-commerce: Innovative Shopify Apps and Cutting-Edge Web Tools for Your Online Success
</Fragment>
</Hero>

<!-- Note Widget ******************* -->

<Note />

<!-- Features Widget *************** -->

<Features
id="features"
tagline="Features"
title="What you get with AstroWind"
title="What you get with our apps"
subtitle="One of the most professional and comprehensive templates currently on the market. Most starred & forked Astro theme in 2022."
items={[
{
Expand Down Expand Up @@ -101,7 +75,6 @@ const metadata = {
/>

<!-- Content Widget **************** -->

<Content
isReversed
tagline="Inside template"
Expand Down Expand Up @@ -139,7 +112,6 @@ const metadata = {
</Content>

<!-- Content Widget **************** -->

<Content
isAfterContent
items={[
Expand Down Expand Up @@ -176,8 +148,7 @@ const metadata = {
</Content>

<!-- Content Widget **************** -->

<Content
<!-- <Content
isReversed
isAfterContent
items={[
Expand Down Expand Up @@ -211,44 +182,9 @@ const metadata = {
<Fragment slot="bg">
<div class="absolute inset-0 bg-blue-50 dark:bg-transparent"></div>
</Fragment>
</Content>

<!-- Steps Widget ****************** -->

<Steps
title="Get your dream website up and running in no time with AstroWind."
items={[
{
title: 'Step 1: <span class="font-medium">Download</span>',
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: <span class="font-medium">Add content</span>',
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: <span class="font-medium">Customize styles</span>',
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',
}}
/>
</Content> -->

<!-- Features2 Widget ************** -->

<Features2
title="Most used widgets"
subtitle="Provides frequently used components for building websites using Tailwind CSS"
Expand Down Expand Up @@ -311,19 +247,8 @@ const metadata = {
</Fragment>
</Features2>

<!-- HighlightedPosts Widget ******* -->

<BlogLatestPosts
title="Find out more content in our Blog"
information={`The blog is used to display AstroWind documentation.
Each new article will be an important step that you will need to know to be an expert in creating a website using Astro + Tailwind CSS.
Astro is a very interesting technology. Thanks.
`}
/>

<!-- FAQs Widget ******************* -->

<FAQs
<!-- <FAQs
title="Frequently Asked Questions"
subtitle="Dive into the following questions to gain insights into the powerful features that AstroWind offers and how it can elevate your web development journey."
tagline="FAQs"
Expand Down Expand Up @@ -360,16 +285,15 @@ const metadata = {
"This is not about revenge. This is about justice. A lot of things can change in twelve years, Admiral. Well, that's certainly good to know. About four years. I got tired of hearing how young I looked.",
},
]}
/>
/> -->

<!-- Stats Widget ****************** -->

<Stats
<!-- <Stats
stats={[
{ title: 'Downloads', amount: '132K' },
{ title: 'Stars', amount: '24.8K' },
{ title: 'Forks', amount: '10.3K' },
{ title: 'Users', amount: '48.4K' },
]}
/>
/> -->
</Layout>

0 comments on commit 0e53b06

Please sign in to comment.