From 790b8a976a3b11daa9143ac4a1efa5ff8ea3d7d4 Mon Sep 17 00:00:00 2001 From: 64J0 Date: Sat, 8 May 2021 11:11:44 -0300 Subject: [PATCH] feat: update in the first page, updating the first page style that shows the list of posts, add images to social media links in the footer, see also: #12 --- components/HeaderHome/index.tsx | 4 +-- components/HeaderHome/styles.module.scss | 2 ++ components/Layout/index.tsx | 20 +++++++++---- components/Layout/styles.module.scss | 18 ++++++++++- pages/index.tsx | 14 ++++----- styles/global.css | 2 ++ styles/utils.module.css | 38 +++++++++++++----------- 7 files changed, 66 insertions(+), 32 deletions(-) diff --git a/components/HeaderHome/index.tsx b/components/HeaderHome/index.tsx index 4348cf3..3512eb9 100644 --- a/components/HeaderHome/index.tsx +++ b/components/HeaderHome/index.tsx @@ -17,8 +17,8 @@ const Header: React.FC = () => { alt="Vinícius Gajo" /> -

- Vinícius Gajo +

+ Vinícius Gajo's Blog

); diff --git a/components/HeaderHome/styles.module.scss b/components/HeaderHome/styles.module.scss index 7c4395d..c2fea0c 100644 --- a/components/HeaderHome/styles.module.scss +++ b/components/HeaderHome/styles.module.scss @@ -9,6 +9,8 @@ h1 { margin-bottom: 0; + font-size: 3rem; + color: var(--white); } @media (max-width: 34rem) { diff --git a/components/Layout/index.tsx b/components/Layout/index.tsx index 091fd75..577aad0 100644 --- a/components/Layout/index.tsx +++ b/components/Layout/index.tsx @@ -1,9 +1,11 @@ -import React from "react"; -import styles from "./styles.module.scss"; +import React, { useCallback } from "react"; +import { FaTwitter, FaGithub, FaLinkedin } from "react-icons/fa"; import HeaderHome from "../HeaderHome"; import HeaderPost from "../HeaderPost"; +import styles from "./styles.module.scss"; + export const siteTitle = "64j0 Blog"; interface LayoutProps { @@ -22,12 +24,20 @@ const Layout: React.FC = ({ children, home }) => { {children} -