Skip to content

Commit

Permalink
Merge pull request #19 from pereira-tech-talks/feat/migration
Browse files Browse the repository at this point in the history
Feat/migration
  • Loading branch information
santiaguf authored Jul 12, 2024
2 parents 9ff22e3 + d9c52af commit 5c08d42
Show file tree
Hide file tree
Showing 22 changed files with 115 additions and 3,153 deletions.
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.
73 changes: 65 additions & 8 deletions src/assets/favicons/favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
185 changes: 44 additions & 141 deletions src/navigation.js
Original file line number Diff line number Diff line change
@@ -1,181 +1,84 @@
import { getPermalink, getBlogPermalink, getAsset } from './utils/permalinks';
import { getBlogPermalink, 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: 'Inicio',
href: '/',
},
{
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: 'Comunidad',
href: '/about',
},
{
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: 'Meetups',
href: 'https://www.meetup.com/es-ES/Pereira-Tech-Talks',
},
{
text: 'Blog',
href: getBlogPermalink(),
},
{
text: 'Contacto',
links: [
{
text: 'Blog List',
href: getBlogPermalink(),
text: 'WhatsApp',
href: 'https://chat.whatsapp.com/EzYAadvUWyVBHt3m1FU77U',
},
{
text: 'Article',
href: getPermalink('get-started-website-with-astro-tailwind-css', 'post'),
text: 'Telegram',
href: 'https://t.me/PerTechTalks',
},
{
text: 'Article (with MDX)',
href: getPermalink('markdown-elements-demo-post', 'post'),
text: 'YouTube',
href: 'https://www.youtube.com/@pereiratechtalks',
target: '_blank',
},
{
text: 'Category Page',
href: getPermalink('tutorials', 'category'),
text: 'Instagram',
href: 'https://www.instagram.com/pertechtalks/',
target: '_blank',
},
{
text: 'Tag Page',
href: getPermalink('astro', 'tag'),
text: 'X (Twitter)',
href: 'https://x.com/PerTechTalks',
target: '_blank',
},
],
},
{
text: 'Widgets',
href: '#',
},
],
actions: [{ text: 'Download', href: 'https://github.com/onwidget/astrowind', target: '_blank' }],
};

export const footerData = {
links: [
socialLinks: [
{
title: 'Product',
links: [
{ text: 'Features', href: '#' },
{ text: 'Security', href: '#' },
{ text: 'Team', href: '#' },
{ text: 'Enterprise', href: '#' },
{ text: 'Customer stories', href: '#' },
{ text: 'Pricing', href: '#' },
{ text: 'Resources', href: '#' },
],
ariaLabel: 'WhatsApp',
icon: 'tabler:brand-whatsapp',
href: 'https://chat.whatsapp.com/EzYAadvUWyVBHt3m1FU77U',
target: '_blank',
},
{ ariaLabel: 'Telegram', icon: 'tabler:brand-telegram', href: 'https://t.me/PerTechTalks', target: '_blank' },
{ ariaLabel: 'X', icon: 'tabler:brand-x', href: 'https://x.com/PerTechTalks', target: '_blank' },
{
title: 'Platform',
links: [
{ text: 'Developer API', href: '#' },
{ text: 'Partners', href: '#' },
{ text: 'Atom', href: '#' },
{ text: 'Electron', href: '#' },
{ text: 'AstroWind Desktop', href: '#' },
],
ariaLabel: 'Instagram',
icon: 'tabler:brand-instagram',
href: 'https://www.instagram.com/pertechtalks/',
target: '_blank',
},
{
title: 'Support',
links: [
{ text: 'Docs', href: '#' },
{ text: 'Community Forum', href: '#' },
{ text: 'Professional Services', href: '#' },
{ text: 'Skills', href: '#' },
{ text: 'Status', href: '#' },
],
ariaLabel: 'Youtube',
icon: 'tabler:brand-youtube',
href: 'https://www.youtube.com/@pereiratechtalks',
target: '_blank',
},
{ ariaLabel: 'RSS', icon: 'tabler:rss', href: getAsset('/rss.xml') },
{
title: 'Company',
links: [
{ text: 'About', href: '#' },
{ text: 'Blog', href: '#' },
{ text: 'Careers', href: '#' },
{ text: 'Press', href: '#' },
{ text: 'Inclusion', href: '#' },
{ text: 'Social Impact', href: '#' },
{ text: 'Shop', href: '#' },
],
ariaLabel: 'Github',
icon: 'tabler:brand-github',
href: 'https://github.com/pereira-tech-talks/',
target: '_blank',
},
],
secondaryLinks: [
{ text: 'Terms', href: getPermalink('/terms') },
{ 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: 'RSS', icon: 'tabler:rss', href: getAsset('/rss.xml') },
{ ariaLabel: 'Github', icon: 'tabler:brand-github', href: 'https://github.com/onwidget/astrowind' },
],
footNote: `
<span 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 bg-[url(https://onwidget.com/favicon/favicon-32x32.png)]"></span>
Made by <a class="text-blue-600 underline dark:text-muted" href="https://onwidget.com/"> onWidget</a> · All rights reserved.
Expand Down
6 changes: 3 additions & 3 deletions src/pages/404.astro
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ const title = `Error 404`;
<span class="sr-only">Error</span>
<span class="text-primary">404</span>
</h2>
<p class="text-3xl font-semibold md:text-3xl">Sorry, we couldn't find this page.</p>
<p class="text-3xl font-semibold md:text-3xl">página no encontrada.</p>
<p class="mt-4 mb-8 text-lg text-muted dark:text-slate-400">
But dont worry, you can find plenty of other things on our homepage.
No te preocupes, puedes volver al Inicio y encontrar más contenido.
</p>
<a rel="noopener noreferrer" href={getHomePermalink()} class="btn ml-4">Back to homepage</a>
<a rel="noopener noreferrer" href={getHomePermalink()} class="btn ml-4">Volver al Inicio</a>
</div>
</div>
</section>
Expand Down
Loading

0 comments on commit 5c08d42

Please sign in to comment.