Skip to content

Commit

Permalink
feat: customize home page content
Browse files Browse the repository at this point in the history
  • Loading branch information
clemlatz committed Jan 4, 2025
1 parent 219aecb commit f4812ba
Show file tree
Hide file tree
Showing 7 changed files with 114 additions and 228 deletions.
Binary file added src/assets/images/hero-image.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed src/assets/images/hero-image.png
Binary file not shown.
4 changes: 2 additions & 2 deletions src/components/CustomStyles.astro
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import '@fontsource-variable/inter';

--aw-color-primary: rgb(1 97 239);
--aw-color-secondary: rgb(1 84 207);
--aw-color-accent: rgb(109 40 217);
--aw-color-accent: #ff6600;

--aw-color-text-heading: rgb(0 0 0);
--aw-color-text-default: rgb(16 16 16);
Expand All @@ -48,7 +48,7 @@ import '@fontsource-variable/inter';

--aw-color-primary: rgb(1 97 239);
--aw-color-secondary: rgb(1 84 207);
--aw-color-accent: rgb(109 40 217);
--aw-color-accent: #ff6600;

--aw-color-text-heading: rgb(247, 248, 248);
--aw-color-text-default: rgb(229 236 246);
Expand Down
2 changes: 1 addition & 1 deletion src/components/Logo.astro
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ import { SITE } from 'astrowind:config';
<span
class="self-center ml-2 rtl:ml-0 rtl:mr-2 text-2xl md:text-xl font-bold text-gray-900 whitespace-nowrap dark:text-white"
>
🚀 {SITE?.name}
{SITE?.name}
</span>
4 changes: 2 additions & 2 deletions src/layouts/LandingLayout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ const { metadata } = Astro.props;
links={headerData?.links[2] ? [headerData.links[2]] : undefined}
actions={[
{
text: 'Download',
href: 'https://github.com/onwidget/astrowind',
text: 'Commencer',
href: 'https://github.com/biblys/biblys',
},
]}
showToggleTheme
Expand Down
117 changes: 12 additions & 105 deletions src/navigation.ts
Original file line number Diff line number Diff line change
@@ -1,121 +1,28 @@
import { getPermalink, getBlogPermalink, getAsset } from './utils/permalinks';
import { getPermalink, getAsset } from './utils/permalinks';

export const headerData = {
links: [
{
text: 'Homes',
links: [
{
text: 'SaaS',
href: getPermalink('/homes/saas'),
},
{
text: 'Startup',
href: getPermalink('/homes/startup'),
},
{
text: 'Mobile App',
href: getPermalink('/homes/mobile-app'),
},
{
text: 'Personal',
href: getPermalink('/homes/personal'),
},
],
},
{
text: 'Pages',
links: [
{
text: 'Features (Anchor Link)',
href: getPermalink('/#features'),
},
{
text: 'Services',
href: getPermalink('/services'),
},
{
text: 'Pricing',
href: getPermalink('/pricing'),
},
{
text: 'About us',
href: getPermalink('/about'),
},
{
text: 'Contact',
href: getPermalink('/contact'),
},
{
text: 'Terms',
href: getPermalink('/terms'),
},
{
text: 'Privacy policy',
href: getPermalink('/privacy'),
},
],
text: 'Blog',
href: 'https://blog.biblys.fr',
target: '_blank',
},
{
text: 'Landing',
links: [
{
text: 'Lead Generation',
href: getPermalink('/landing/lead-generation'),
},
{
text: 'Long-form Sales',
href: getPermalink('/landing/sales'),
},
{
text: 'Click-Through',
href: getPermalink('/landing/click-through'),
},
{
text: 'Product Details (or Services)',
href: getPermalink('/landing/product'),
},
{
text: 'Coming Soon or Pre-Launch',
href: getPermalink('/landing/pre-launch'),
},
{
text: 'Subscription',
href: getPermalink('/landing/subscription'),
},
],
text: 'Documentation',
href: 'https://docs.biblys.fr',
target: '_blank',
},
{
text: 'Blog',
links: [
{
text: 'Blog List',
href: getBlogPermalink(),
},
{
text: 'Article',
href: getPermalink('get-started-website-with-astro-tailwind-css', 'post'),
},
{
text: 'Article (with MDX)',
href: getPermalink('markdown-elements-demo-post', 'post'),
},
{
text: 'Category Page',
href: getPermalink('tutorials', 'category'),
},
{
text: 'Tag Page',
href: getPermalink('astro', 'tag'),
},
],
text: 'Open source',
href: 'https://docs.biblys.fr',
target: '_blank',
},
{
text: 'Widgets',
text: 'Tarifs',
href: '#',
},
],
actions: [{ text: 'Download', href: 'https://github.com/onwidget/astrowind', target: '_blank' }],
actions: [{ text: 'Commencer', href: 'https://github.com/biblys/biblys', target: '_blank' }],
};

export const footerData = {
Expand Down
Loading

0 comments on commit f4812ba

Please sign in to comment.