Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
HTSagara committed Apr 20, 2024
1 parent 7094d86 commit 2008a90
Show file tree
Hide file tree
Showing 31 changed files with 983 additions and 142 deletions.
Binary file removed public/favicon.ico
Binary file not shown.
32 changes: 10 additions & 22 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,34 +10,22 @@
content="Web site created using create-react-app"
/>
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
<!--
manifest.json provides metadata used when your web app is installed on a
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
-->
<link
href="https://unpkg.com/[email protected]/css/boxicons.min.css"
rel="stylesheet"
/>

<link
rel="stylesheet"
href="https://unicons.iconscout.com/release/v4.0.8/css/line.css"
/>

<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
<!--
Notice the use of %PUBLIC_URL% in the tags above.
It will be replaced with the URL of the `public` folder during the build.
Only files inside the `public` folder can be referenced from the HTML.

Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>React App</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<!--
This HTML file is a template.
If you open it directly in the browser, you will see an empty page.
You can add webfonts, meta tags, or analytics to this file.
The build step will place the bundled scripts into the <body> tag.
To begin the development, run `npm start` or `yarn start`.
To create a production bundle, use `npm run build` or `yarn build`.
-->
</body>
</html>
Binary file removed public/logo192.png
Binary file not shown.
Binary file removed public/logo512.png
Binary file not shown.
25 changes: 0 additions & 25 deletions public/manifest.json

This file was deleted.

3 changes: 0 additions & 3 deletions public/robots.txt

This file was deleted.

214 changes: 191 additions & 23 deletions src/App.css
Original file line number Diff line number Diff line change
@@ -1,38 +1,206 @@
.App {
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap");

:root {
--header-height: 3rem;

--hue: 0;
--sat: 0%;
--title-color: hsl(var(--hue), var(--sat), 20%);
--title-color-dark: hsl(var(--hue), var(--sat), 0%);
--text-color: hsl(var(--hue), var(--sat), 46%);
--body-color: hsl(var(--hue), var(--sat), 98%);
--container-color: #fff;

--body-font: "Poppins", sans-serif;

--big-font-size: 3.5rem;
--h1-font-size: 2.25rem;
--h2-font-size: 1.5rem;
--h3-font-size: 1.25rem;
--normal-font-size: 1rem;
--small-font-size: 0.875rem;
--smaller-font-size: 0.813rem;
--tiny-font-size: 0.625rem;

--font-normal: 400;
--font-medium: 500;
--font-semi-bold: 600;

--mb-0-25: 0.25rem;
--mb-0-5: 0.5rem;
--mb-0-75: 0.75rem;
--mb-1: 1rem;
--mb-1-5: 1.5rem;
--mb-2: 2rem;
--mb-2-5: 2.5rem;
--mb-3: 3rem;

--z-tooltip: 10;
--z-fixed: 100;
--z-modal: 1000;
}

@media screen and (max-width: 992px) {
:root {
--big-font-size: 2.75rem;
--h1-font-size: 1.5rem;
--h2-font-size: 1.25rem;
--h3-font-size: 1rem;
--normal-font-size: 0.938rem;
--small-font-size: 0.813rem;
--smaller-font-szie: 0.75rem;
}
}

/* ================= Base ================= */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

html {
scroll-behavior: smooth;
}

body,
button,
input,
textarea {
font-family: var(--body-font);
font-size: var(--normal-font-size);
}

body {
background-color: var(--body-color);
color: var(--text-color);
}

h1,
h2,
h3 {
color: var(--title-color);
font-weight: var(--font-semi-bold);
}

ul {
list-style: none;
}

a {
text-decoration: none;
}

button {
cursor: pointer;
border: none;
outline: none;
}

img {
max-width: 100%;
height: auto;
}

/* ================= REUSABLE CLASSES ================= */
.section {
padding: 6rem 0 2rem;
}

.section__title {
font-size: var(--h1-font-size);
color: var(--title-color);
}

.section__subtitle {
display: block;
font-size: var(--small-font-size);
margin-bottom: 4rem;
}

.section__title,
.section__subtitle {
text-align: center;
}

.App-logo {
height: 40vmin;
pointer-events: none;
/* ================= LAYOUT ================= */
.container {
max-width: 968px;
margin-left: auto;
margin-right: auto;
}

@media (prefers-reduced-motion: no-preference) {
.App-logo {
animation: App-logo-spin infinite 20s linear;
}
.grid {
display: grid;
gap: 1.5rem;
}

.App-header {
background-color: #282c34;
min-height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
/* ================= BUTTONS ================= */
.button {
display: inline-block;
background-color: var(--title-color);
color: var(--container-color);
padding: 1.25rem 2rem;
border-radius: 1rem;
font-weight: var(--font-medium);
justify-content: center;
font-size: calc(10px + 2vmin);
color: white;
}

.App-link {
color: #61dafb;
.button:hover {
background-color: var(--title-color-dark);
}

.button__icon {
margin-left: var(--mb-0-5);
}

.button--flex {
display: inline-flex;
align-items: center;
}

/* ================= BREAKPOINTS ================= */
/* Large screen devices */
@media screen and (max-width: 992px) {
.container {
margin-left: var(--mb-1-5);
margin-right: var(--mb-1-5);
}

.button {
padding: 1rem 1.75rem;
}

.button__icon {
width: 22px;
height: 22px;
}
}

/* Medium screen devices */
@media screen and (max-width: 768px) {
body {
margin: 0 0 var(--header-height);
}
.section {
padding: 2rem 0 4rem;
}

.section__subtitle {
margin-bottom: var(--mb-3);
}
}

@media screen and (max-width: 576px) {
}

@keyframes App-logo-spin {
from {
transform: rotate(0deg);
/* Small devices */
@media screen and (max-width: 350px) {
:root {
--big-font-size: 2.25rem;
}
to {
transform: rotate(360deg);
.container {
margin-left: var(--mb-1);
margin-right: var(--mb-1);
}
}
32 changes: 14 additions & 18 deletions src/App.js
Original file line number Diff line number Diff line change
@@ -1,24 +1,20 @@
import logo from './logo.svg';
import './App.css';
import React from "react";
import "./App.css";
import Header from "./components/header/Header";
import Home from "./components/home/Home";
import About from "./components/about/About";
import Skills from "./components/skills/Skills";

function App() {
return (
<div className="App">
<header className="App-header">
<img src={logo} className="App-logo" alt="logo" />
<p>
Edit <code>src/App.js</code> and save to reload.
</p>
<a
className="App-link"
href="https://reactjs.org"
target="_blank"
rel="noopener noreferrer"
>
Learn React
</a>
</header>
</div>
<>
<Header />
<main className="main">
<Home />
<About />
<Skills />
</main>
</>
);
}

Expand Down
8 changes: 0 additions & 8 deletions src/App.test.js

This file was deleted.

Binary file added src/assets/HenriqueResume.pdf
Binary file not shown.
25 changes: 25 additions & 0 deletions src/assets/files.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/profile.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 2008a90

Please sign in to comment.