Skip to content

Commit

Permalink
feat: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
pragmaticivan committed Aug 6, 2024
1 parent 8ea988b commit 529c0ce
Show file tree
Hide file tree
Showing 18 changed files with 395 additions and 493 deletions.
125 changes: 123 additions & 2 deletions app/about/page.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';

import NavigationBar from '../../components/NavigationBar';
import GeneralDescription from '../../components/GeneralDescription';
import Image from 'next/image';
import { genPageMetadata } from '../seo';

export const metadata = genPageMetadata({
Expand All @@ -14,7 +14,128 @@ const AboutPage = () => (
<header className="header__blog">
<NavigationBar />
</header>
<GeneralDescription />
<main className="flex-auto">
<div className="mt-16 sm:mt-32 sm:px-8">
<div className="mx-auto w-full max-w-7xl lg:px-8">
<div className="relative px-4 sm:px-8 lg:px-12">
<div className="mx-auto max-w-2xl lg:max-w-5xl">
<div className="grid grid-cols-1 gap-y-16 lg:grid-cols-2 lg:grid-rows-[auto_1fr] lg:gap-y-12">
<div className="lg:pl-20">
<div className="max-w-xs px-2.5 lg:max-w-none">
<Image
alt="Ivan Santos"
loading="lazy"
width="300"
height="300"
decoding="async"
data-nimg="1"
className="aspect-square rotate-3 rounded-2xl bg-zinc-100 object-cover dark:bg-zinc-800"
src="https://avatars2.githubusercontent.com/u/301291?s=400&v=4"
/>
</div>
</div>
<div className="lg:order-first lg:row-span-2">
<h1 className="text-4xl font-bold tracking-tight text-zinc-800 sm:text-5xl dark:text-zinc-100">
Software Engineering. Distributed Systems. Coffee
</h1>
<div className="mt-6 space-y-7 text-base text-zinc-600 dark:text-zinc-400">
<p className="leading-7">
Howdy! I'm Ivan Santos, a software engineer with a passion
for distributed systems and coffee. Born and raised in
Brazil, I moved to the US to pursue my career in tech.
I’ve loved taking things apart and putting them back
together since I was a kid. Learning and improving my
craft is what drives me every day.
</p>
<p>
I'm currently exploring Platform Engineering at EverQuote
where I had the opportunity to work on really awesome
stuff such as Kubernetes, Observability, Terraform, Go,
and more.
</p>
<p>
When I'm not at my computer, I love to travel, geek about
finance, coffee, dancing, and volleyball.
</p>
</div>
</div>
<div className="lg:pl-20">
<ul>
<li className="flex">
<a
className="group flex text-sm font-medium text-zinc-800 transition hover:text-teal-500 dark:text-zinc-200 dark:hover:text-teal-500"
href="https://x.com/pragmaticivan"
>
<svg
viewBox="0 0 24 24"
aria-hidden="true"
className="h-6 w-6 flex-none fill-zinc-500 transition group-hover:fill-teal-500"
>
<path d="M13.3174 10.7749L19.1457 4H17.7646L12.7039 9.88256L8.66193 4H4L10.1122 12.8955L4 20H5.38119L10.7254 13.7878L14.994 20H19.656L13.3171 10.7749H13.3174ZM11.4257 12.9738L10.8064 12.0881L5.87886 5.03974H8.00029L11.9769 10.728L12.5962 11.6137L17.7652 19.0075H15.6438L11.4257 12.9742V12.9738Z"></path>
</svg>
<span className="ml-4">Follow me on X</span>
</a>
</li>
<li className="mt-4 flex">
<a
className="group flex text-sm font-medium text-zinc-800 transition hover:text-teal-500 dark:text-zinc-200 dark:hover:text-teal-500"
href="https://github.com/pragmaticivan/"
>
<svg
viewBox="0 0 24 24"
aria-hidden="true"
className="h-6 w-6 flex-none fill-zinc-500 transition group-hover:fill-teal-500"
>
<path
fillRule="evenodd"
clipRule="evenodd"
d="M12 2C6.475 2 2 6.588 2 12.253c0 4.537 2.862 8.369 6.838 9.727.5.09.687-.218.687-.487 0-.243-.013-1.05-.013-1.91C7 20.059 6.35 18.957 6.15 18.38c-.113-.295-.6-1.205-1.025-1.448-.35-.192-.85-.667-.013-.68.788-.012 1.35.744 1.538 1.051.9 1.551 2.338 1.116 2.912.846.088-.666.35-1.115.638-1.371-2.225-.256-4.55-1.14-4.55-5.062 0-1.115.387-2.038 1.025-2.756-.1-.256-.45-1.307.1-2.717 0 0 .837-.269 2.75 1.051.8-.23 1.65-.346 2.5-.346.85 0 1.7.115 2.5.346 1.912-1.333 2.75-1.05 2.75-1.05.55 1.409.2 2.46.1 2.716.637.718 1.025 1.628 1.025 2.756 0 3.934-2.337 4.806-4.562 5.062.362.32.675.936.675 1.897 0 1.371-.013 2.473-.013 2.82 0 .268.188.589.688.486a10.039 10.039 0 0 0 4.932-3.74A10.447 10.447 0 0 0 22 12.253C22 6.588 17.525 2 12 2Z"
></path>
</svg>
<span className="ml-4">Follow me on GitHub</span>
</a>
</li>
<li className="mt-4 flex">
<a
className="group flex text-sm font-medium text-zinc-800 transition hover:text-teal-500 dark:text-zinc-200 dark:hover:text-teal-500"
href="https://www.linkedin.com/in/pragmaticivan/"
>
<svg
viewBox="0 0 24 24"
aria-hidden="true"
className="h-6 w-6 flex-none fill-zinc-500 transition group-hover:fill-teal-500"
>
<path d="M18.335 18.339H15.67v-4.177c0-.996-.02-2.278-1.39-2.278-1.389 0-1.601 1.084-1.601 2.205v4.25h-2.666V9.75h2.56v1.17h.035c.358-.674 1.228-1.387 2.528-1.387 2.7 0 3.2 1.778 3.2 4.091v4.715zM7.003 8.575a1.546 1.546 0 01-1.548-1.549 1.548 1.548 0 111.547 1.549zm1.336 9.764H5.666V9.75H8.34v8.589zM19.67 3H4.329C3.593 3 3 3.58 3 4.297v15.406C3 20.42 3.594 21 4.328 21h15.338C20.4 21 21 20.42 21 19.703V4.297C21 3.58 20.4 3 19.666 3h.003z"></path>
</svg>
<span className="ml-4">Follow me on LinkedIn</span>
</a>
</li>
<li className="mt-4 flex border-t border-zinc-100 dark:border-zinc-700/40">
<a
className="group flex text-sm font-medium text-zinc-800 transition hover:text-teal-500 dark:text-zinc-200 dark:hover:text-teal-500"
href="mailto:[email protected]"
>
<svg
viewBox="0 0 24 24"
aria-hidden="true"
className="h-6 w-6 flex-none fill-zinc-500 transition group-hover:fill-teal-500"
>
<path
fillRule="evenodd"
d="M6 5a3 3 0 0 0-3 3v8a3 3 0 0 0 3 3h12a3 3 0 0 0 3-3V8a3 3 0 0 0-3-3H6Zm.245 2.187a.75.75 0 0 0-.99 1.126l6.25 5.5a.75.75 0 0 0 .99 0l6.25-5.5a.75.75 0 0 0-.99-1.126L12 12.251 6.245 7.187Z"
></path>
</svg>
<span className="ml-4">[email protected]</span>
</a>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
</main>
</>
);

Expand Down
6 changes: 4 additions & 2 deletions app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import '../styles/globals.css';

import React from 'react';
import { Metadata } from 'next';
import { GoogleTagManager } from '@next/third-parties/google'
import { GoogleTagManager } from '@next/third-parties/google';
import { siteMetadata } from '../lib/site-metadata';

export const metadata: Metadata = {
Expand Down Expand Up @@ -57,7 +57,9 @@ export default function RootLayout({

<body>{children}</body>

<GoogleTagManager gtmId={siteMetadata.analytics.googleTagManager.googleTagManagerId} />
<GoogleTagManager
gtmId={siteMetadata.analytics.googleTagManager.googleTagManagerId}
/>
</html>
);
}
36 changes: 34 additions & 2 deletions app/open-source/page.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import React from 'react';
import NavigationBar from '../../components/NavigationBar';
import OpenSource from '../../components/OpenSource';
import { genPageMetadata } from '../seo';
import styles from './styles.module.scss';
import FastReadText from '../../components/FastReadText';

export const metadata = genPageMetadata({
title: `Open Source ✍️`,
Expand All @@ -14,7 +15,38 @@ const OpenSourcePage = () => (
<NavigationBar />
</header>

<OpenSource />
<div className={styles.os}>
<div className={styles.content}>
<h1>Open Source</h1>
<p>
<FastReadText
text={`There's something magical about solving problems and helping others through their journey.`}
/>
</p>
<ul>
<li>
<a
href="https://github.com/pragmaticivan/nestjs-otel"
target="_blank"
>
<b>nestjs-otel</b>
</a>{' '}
- 🔭 OpenTelemetry (Tracing + Metrics) module for Nest framework
(node.js)
</li>
<li>
<a
href="https://github.com/pragmaticivan/guia-do-trabalho-remoto"
target="_blank"
>
<b>guia-do-trabalho-remoto</b>
</a>{' '}
- ✈️ Conjunto de informações, experiências e burocracias para poder
trabalhar remotamente para empresas do mundo todo
</li>
</ul>
</div>
</div>
</div>
);

Expand Down
File renamed without changes.
7 changes: 5 additions & 2 deletions app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { clsx } from 'clsx';

import CallToContact from '../components/CallToContact';
import Greeting from '../components/Greeting';
import NavigationBar from '../components/NavigationBar';
import styles from '../styles/home.module.scss';

Expand All @@ -18,7 +17,11 @@ export default function Page() {
)}
>
<NavigationBar />
<Greeting />
<div className="flex justify-center pt-28">
<div className="rounded-xl border-4 border-cyan-700 px-14 py-6 text-7xl text-cyan-700">
HOWDY!
</div>
</div>
</header>
<section
className={
Expand Down
5 changes: 2 additions & 3 deletions app/seo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ interface PageSEOProps {
title: string;
description?: string;
image?: string;
// eslint-disable-next-line @typescript-eslint/no-explicit-any
[key: string]: any;
}

Expand All @@ -17,10 +16,10 @@ export function genPageMetadata({
}: PageSEOProps): Metadata {
return {
title,
description: description || siteMetadata.description,
description: description ?? siteMetadata.description,
openGraph: {
title: `${title} | ${siteMetadata.title}`,
description: description || siteMetadata.description,
description: description ?? siteMetadata.description,
url: './',
siteName: siteMetadata.title,
images: image ? [image] : [siteMetadata.socialBanner],
Expand Down
Loading

0 comments on commit 529c0ce

Please sign in to comment.