Skip to content

Ignacio dev #628

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@onwidget/astrowind",
"version": "1.0.0-beta.48",
"description": "AstroWind: A free template using Astro 4.0 and Tailwind CSS. Astro starter theme.",
"description": "AcontPlus, una aplicación de facturación para negocios en Ecuador",
"type": "module",
"private": true,
"engines": {
Expand Down
Binary file added src/assets/favicons/apple-touch-icon-120.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/favicons/apple-touch-icon-152.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/assets/favicons/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/assets/favicons/favicon.ico
Binary file not shown.
Binary file modified src/assets/images/default.png
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.
2 changes: 1 addition & 1 deletion src/components/widgets/Content.astro
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ const {
<Fragment set:html={image} />
) : (
<Image
class="mx-auto w-full rounded-lg bg-gray-500 shadow-lg"
class="mx-auto w-full rounded-lg bg-gray-500 shadow-inner"
width={500}
height={500}
widths={[400, 768]}
Expand Down
2 changes: 1 addition & 1 deletion src/components/widgets/Header.astro
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ const currentPath = `/${trimSlash(new URL(Astro.url).pathname)}`;
>
<div class:list={[{ 'mr-auto rtl:mr-0 rtl:ml-auto': position === 'right' }, 'flex justify-between']}>
<a class="flex items-center" href={getHomePermalink()}>
<Logo />
<Logo />
</a>
<div class="flex items-center md:hidden">
<ToggleMenu />
Expand Down
12 changes: 6 additions & 6 deletions src/config.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
site:
name: AstroWind
name: AcontPlus
site: 'https://astrowind.vercel.app'
base: '/'
trailingSlash: false
Expand All @@ -9,14 +9,14 @@ site:
# 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."
default: AcontPlus
template: '%s — AcontPlus'
description: "\U0001F680 Facturación Electrónica para Negocios, AcontPlus App, Software de Facturación Electrónica, Software de Facturación, Facturación Electrónica Ecuador, Sistema ERP para Facturación Electrónica."
robots:
index: true
follow: true
openGraph:
site_name: AstroWind
site_name: AcontPlus
images:
- url: '~/assets/images/default.png'
width: 1200
Expand Down Expand Up @@ -69,4 +69,4 @@ analytics:
id: null # or "G-XXXXXXXXXX"

ui:
theme: 'system' # Values: "system" | "light" | "dark" | "light:only" | "dark:only"
theme: 'light' # Values: "system" | "light" | "dark" | "light:only" | "dark:only"
6 changes: 1 addition & 5 deletions src/layouts/PageLayout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
import Layout from '~/layouts/Layout.astro';
import Header from '~/components/widgets/Header.astro';
import Footer from '~/components/widgets/Footer.astro';
import Announcement from '~/components/widgets/Announcement.astro';

import { headerData, footerData } from '~/navigation';

Expand All @@ -14,11 +13,8 @@ export interface Props {

const { metadata } = Astro.props;
---

<Layout metadata={metadata}>
<slot name="announcement">
<Announcement />
</slot>

<slot name="header">
<Header {...headerData} isSticky showRssFeed showToggleTheme />
</slot>
Expand Down
170 changes: 26 additions & 144 deletions src/navigation.ts
Original file line number Diff line number Diff line change
@@ -1,183 +1,65 @@
import { getPermalink, getBlogPermalink, getAsset } from './utils/permalinks';
import { getPermalink } 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: 'Inicio',
href: getPermalink('/'),
},
{
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: '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: 'Interpretación y Definiciones',
href: '#',
},
{
text: 'Widgets',
text: 'Eliminar Datos Personales',
href: '#',
},
],
actions: [{ text: 'Download', href: 'https://github.com/onwidget/astrowind', target: '_blank' }],
actions: [{ text: 'Descargar', href: 'https://play.google.com/store/apps/details?id=com.acontplus_facturacion', target: '_blank' }],
};

export const footerData = {
links: [
{
title: 'Product',
title: 'Productos',
links: [
{ text: 'Features', href: '#' },
{ text: 'Security', href: '#' },
{ text: 'Team', href: '#' },
{ text: 'Enterprise', href: '#' },
{ text: 'Customer stories', href: '#' },
{ text: 'Pricing', href: '#' },
{ text: 'Resources', href: '#' },
{ text: 'AcontPlus Web', href: 'https://app.acontplus.com/Index' },
{ text: 'AcontPlus Web Demo', href: 'https://demo.acontplus.com/register' },
{ text: 'POS AcontPlus', href: 'https://restaurant.acontplus.com/auth' },
],
},
{
title: 'Platform',
links: [
{ text: 'Developer API', href: '#' },
{ text: 'Partners', href: '#' },
{ text: 'Atom', href: '#' },
{ text: 'Electron', href: '#' },
{ text: 'AstroWind Desktop', href: '#' },
],
title: 'App Facturación',
links: [{ text: 'Acerca de nosotros', href: '#about' }],
},
{
title: 'Support',
title: 'Soporte',
links: [
{ text: 'Docs', href: '#' },
{ text: 'Community Forum', href: '#' },
{ text: 'Professional Services', href: '#' },
{ text: 'Skills', href: '#' },
{ text: 'Status', href: '#' },
],
},
{
title: 'Company',
title: 'AcontPlus',
links: [
{ text: 'About', href: '#' },
{ text: 'Blog', href: '#' },
{ text: 'Careers', href: '#' },
{ text: 'Press', href: '#' },
{ text: 'Inclusion', href: '#' },
{ text: 'Social Impact', href: '#' },
{ text: 'Shop', href: '#' },
{ text: 'Servicios', href: 'https://acontplus.com.ec/servicios/' },
{ text: 'Clientes', href: 'https://acontplus.com.ec/clientes/' },
],
},
],
secondaryLinks: [
{ text: 'Terms', href: getPermalink('/terms') },
{ text: 'Privacy Policy', href: getPermalink('/privacy') },
{ text: 'Política de Privacidad', 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: 'RSS', icon: 'tabler:rss', href: getAsset('/rss.xml') },
{ ariaLabel: 'Github', icon: 'tabler:brand-github', href: 'https://github.com/onwidget/astrowind' },
{ ariaLabel: 'Instagram', icon: 'tabler:brand-instagram', href: 'https://www.instagram.com/acontplus.ec' },
{ ariaLabel: 'Facebook', icon: 'tabler:brand-facebook', href: 'https://www.facebook.com/acontplus.ec' },
{ ariaLabel: 'Linkedin', icon: 'tabler:brand-linkedin', href: 'https://www.linkedin.com/company/acontplus-sas' },
],
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.
<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> & <a class="text-blue-600 underline dark:text-muted" href="https://acontplus.com.ec"> AcontPlus</a> · Todos los derechos reservados.
`,
};
Loading