Skip to content

Commit

Permalink
Add little avatar
Browse files Browse the repository at this point in the history
  • Loading branch information
sergioalvz committed Jul 9, 2024
1 parent 50fb912 commit 08fde27
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
7 changes: 5 additions & 2 deletions pages/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { orderBy } from "lodash";
import { GetStaticProps } from "next";
import Image from "next/image";

import { ApiArticle } from "@/cms/api/ApiArticle";
import { getBlogpostRepository, getNotesRepository } from "@/cms/repositories";
Expand All @@ -20,11 +21,13 @@ export default function Homepage({ publications }: HomepageProps) {
<section className="Homepage">
<div className="Application__Column">
<Heading el="h1" size="jumbo">
Hola! 👋
Hola 👋
</Heading>

<Text size="l">
I’m Sergio, a software engineer advocating for software development best practices and good software design.
I’m Sergio{" "}
<Image className="Homepage__Avatar" src="/static/img/sergio.jpg" alt="" width={120} height={120} />, a
software engineer advocating for software development best practices and good software design.
</Text>

<Text size="m">
Expand Down
Binary file added public/static/img/sergio.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions styles/pages/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@
padding: 5vh 0;
}

.Homepage__Avatar {
height: 60px;
width: 60px;

border-radius: 100%;

translate: 0 20%;
}

.Homepage__Heading {
margin-bottom: 1em;
margin-top: 1.5em;
Expand Down

0 comments on commit 08fde27

Please sign in to comment.