Skip to content
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

Feature/v2023 #87

Merged
merged 14 commits into from
Oct 25, 2022
25 changes: 0 additions & 25 deletions .github/workflows/scheduler_spotify.yml

This file was deleted.

29 changes: 0 additions & 29 deletions components/Book.js

This file was deleted.

41 changes: 0 additions & 41 deletions components/ButtonCTA.js

This file was deleted.

4 changes: 2 additions & 2 deletions components/CourseListItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import { Box, Heading } from "./elements";

export const CourseListItem = ({ title }) => {
return (
<Box borderBottom="1px" borderColor="brand.900" p="6">
<Box borderBottom="1px" borderColor="brand.900" py="6">
<Heading as="h3" size="md" my={2}>
{title}
🎓 {title}
</Heading>
</Box>
);
Expand Down
2 changes: 1 addition & 1 deletion components/CustomImage.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Box, Image } from "./elements";

export const CustomImage = (props) => {
return (
<Box boxShadow="md" borderWidth="1px" p="6" rounded="md" bg="white">
<Box boxShadow="md" p="4" rounded="md" bg="secondary.500">
<Image {...props} />
</Box>
);
Expand Down
166 changes: 9 additions & 157 deletions components/Footer.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,8 @@
import NextLink from "next/link";
import styled from "@emotion/styled";

import { SocialNetworks } from "./SocialNetworks";
import { Logo } from "./Logo";
import {
IconTwitch,
IconYoutube,
IconInstagram,
IconTwitter,
IconGithub,
IconTiktok,
} from "./icons";

import {
Container,
Flex,
Expand All @@ -34,157 +27,16 @@ export const Footer = () => {
<StyledFooter>
<Container maxW="container.2xl">
<Flex
px={{ md: 16 }}
py={8}
py={16}
w="100%"
direction={["column", "column", "column", "row"]}
direction="column"
justify="space-between"
textAlign={["center", "center", "center", "left"]}
align={["center", "center", "center", "flex-start"]}
textAlign="center"
align="center"
fontFamily="heading"
fontSize="sm"
>
<Flex
w={["60%", "60%", "60%", "25%"]}
justify={["center", "center", "center", "flex-start"]}
align={["center", "center", "center", "flex-start"]}
direction="column"
textAlign={["center", "center", "center", "left"]}
marginBottom={[6, 6]}
>
<NextLink href="/">
<a>
<Flex
align="center"
justify={["center", "center", "center", "flex-start"]}
my={4}
ml={8}
>
<Logo size="40px" />
<Text
fontFamily="heading"
fontSize={["sm", "sm", "lg", "xl"]}
fontWeight="bold"
px="2"
>
Carlos Azaustre
</Text>
</Flex>
</a>
</NextLink>
<Flex
justify="space-around"
direction="row"
w={["100%", "100%", "60%", "100%"]}
>
<Link href="https://youtube.com/carlosazaustre?sub_confirmation=1">
<IconYoutube size="20px" />
</Link>
<Spacer />
<Link href="https://twitch.tv/carlosazaustre">
<IconTwitch size="20px" />
</Link>
<Spacer />
<Link href="https://instagram.com/carlosazaustre">
<IconInstagram size="20px" />
</Link>
<Spacer />
<Link href="https://twitter.com/carlosazaustre">
<IconTwitter size="20px" />
</Link>
<Spacer />
<Link href="https://github.com/carlosazaustre">
<IconGithub size="20px" />
</Link>
<Spacer />
<Link href="https://tiktok.com/@carlosazaustre">
<IconTiktok size="20px" />
</Link>
</Flex>
</Flex>

<section>
<Heading as="h4" size="sm" p="4">
Páginas
</Heading>
<UnorderedList styleType="none" ml={[0, 0, 0, 4]}>
<ListItem>
<NextLink href="/rss.xml">
<Link>RSS</Link>
</NextLink>
</ListItem>
<ListItem>
<NextLink href="/">
<Link>Home</Link>
</NextLink>
</ListItem>
<ListItem>
<NextLink href="/p/mentoria">
<Link>Mentoría</Link>
</NextLink>
</ListItem>
<ListItem>
<NextLink href="/p/sobre-mi">
<Link>Sobre mí</Link>
</NextLink>
</ListItem>
<ListItem>
<NextLink href="/blog">
<Link>Blog</Link>
</NextLink>
</ListItem>
</UnorderedList>
</section>

<section>
<Heading as="h4" size="sm" p="4">
Recursos
</Heading>
<UnorderedList styleType="none" ml={[0, 0, 0, 4]}>
<ListItem>
<NextLink href="/libros/aprendiendo-javascript">
<Link>Aprende JavaScript desde cero</Link>
</NextLink>
</ListItem>
<ListItem>
<ListItem>
<NextLink href="/cursos/programacion-javascript">
<Link>Curso de JavaScript Gratis</Link>
</NextLink>
</ListItem>
<NextLink href="/cursos/nodejs-gratis">
<Link>Curso Node.js Gratis</Link>
</NextLink>
</ListItem>
<ListItem>
<NextLink href="/cursos/vue-gratis">
<Link>Curso de Vue.js Gratis</Link>
</NextLink>
</ListItem>
<ListItem>
<NextLink href="/cursos/rust-primeros-pasos">
<Link>Aprende Rust desde cero</Link>
</NextLink>
</ListItem>
</UnorderedList>
</section>

<section>
<Heading as="h4" size="sm" p="4">
Legal
</Heading>
<UnorderedList styleType="none" ml={[0, 0, 0, 4]}>
<ListItem>
<Link href="/privacidad">
<a>Política de Privacidad</a>
</Link>
</ListItem>
<ListItem>
<Link href="/cookies">
<a>Política de Cookies</a>
</Link>
<a rel="me" href="https://mstdn.social/@carlosazaustre">Mastodon</a>
</ListItem>
</UnorderedList>
</section>
&copy; {new Date().getFullYear()} Carlos Azaustre | Made with 💻 in 🇪🇸
</Flex>
</Container>
</StyledFooter>
Expand Down
34 changes: 0 additions & 34 deletions components/Header.js

This file was deleted.

59 changes: 0 additions & 59 deletions components/Hero.js

This file was deleted.

Loading