From 77816d3e03df65ca3d5085f412274b8e126c467d Mon Sep 17 00:00:00 2001 From: vitorsoaresdev Date: Fri, 20 Jan 2023 19:59:35 -0300 Subject: [PATCH] feat: adiciona routes institucional/index --- Vitor-Soares-main/src/assets/react.svg | 1 + Vitor-Soares-main/src/custom.d.ts | 8 ++++ Vitor-Soares-main/src/index.scss | 44 +++++++++++++++++++ Vitor-Soares-main/src/index.tsx | 7 +++ .../routes/Institucional/Institucional.tsx | 11 +++++ .../src/routes/Institucional/index.scss | 27 ++++++++++++ 6 files changed, 98 insertions(+) create mode 100644 Vitor-Soares-main/src/assets/react.svg create mode 100644 Vitor-Soares-main/src/custom.d.ts create mode 100644 Vitor-Soares-main/src/index.scss create mode 100644 Vitor-Soares-main/src/index.tsx create mode 100644 Vitor-Soares-main/src/routes/Institucional/Institucional.tsx create mode 100644 Vitor-Soares-main/src/routes/Institucional/index.scss diff --git a/Vitor-Soares-main/src/assets/react.svg b/Vitor-Soares-main/src/assets/react.svg new file mode 100644 index 0000000..6c87de9 --- /dev/null +++ b/Vitor-Soares-main/src/assets/react.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Vitor-Soares-main/src/custom.d.ts b/Vitor-Soares-main/src/custom.d.ts new file mode 100644 index 0000000..d9a905b --- /dev/null +++ b/Vitor-Soares-main/src/custom.d.ts @@ -0,0 +1,8 @@ +declare module "*.svg" { + const content: React.FunctionComponent>; + export default content as string; +} +declare module "*.png" { + const content: React.FunctionComponent>; + export default content as string; +} diff --git a/Vitor-Soares-main/src/index.scss b/Vitor-Soares-main/src/index.scss new file mode 100644 index 0000000..6df73e6 --- /dev/null +++ b/Vitor-Soares-main/src/index.scss @@ -0,0 +1,44 @@ +@import "./styles/index.scss"; + +html { + font-size: 62.5%; +} + +*, +*::before, +*::after { + margin: 0; + padding: 0; + box-sizing: border-box; + font-size: inherit; + line-height: inherit; + font-family: inherit; + color: inherit; +} + +body { + font-family: "Roboto", sans-serif; + position: relative; + overflow-x: hidden; +} + +.main { + padding: 29px $large-padding-inline; + + @media screen { + @media (max-width: 1024px) { + padding: 29px $big-padding-inline; + } + } +} + +button { + background: none; + border: none; + outline: none; + cursor: pointer; +} + +*:focus-visible { + outline: solid 1px blue; +} diff --git a/Vitor-Soares-main/src/index.tsx b/Vitor-Soares-main/src/index.tsx new file mode 100644 index 0000000..2990228 --- /dev/null +++ b/Vitor-Soares-main/src/index.tsx @@ -0,0 +1,7 @@ +import ReactDOM from "react-dom/client"; +import App from "./App"; +import "./index.scss"; + +ReactDOM.createRoot(document.getElementById("root") as HTMLElement).render( + +); diff --git a/Vitor-Soares-main/src/routes/Institucional/Institucional.tsx b/Vitor-Soares-main/src/routes/Institucional/Institucional.tsx new file mode 100644 index 0000000..ba2885b --- /dev/null +++ b/Vitor-Soares-main/src/routes/Institucional/Institucional.tsx @@ -0,0 +1,11 @@ +import { FormContainer } from "../../components/FormContainer"; +import "./index.scss"; + +export function Institucional() { + return ( +
+

INSTITUCIONAL

+ +
+ ); +} diff --git a/Vitor-Soares-main/src/routes/Institucional/index.scss b/Vitor-Soares-main/src/routes/Institucional/index.scss new file mode 100644 index 0000000..8c4f4ed --- /dev/null +++ b/Vitor-Soares-main/src/routes/Institucional/index.scss @@ -0,0 +1,27 @@ +@import "../../styles/index.scss"; + +.institucional { + h1 { + font-weight: 400; + text-transform: uppercase; + letter-spacing: 0.1em; + color: $text-cl-2; + text-align: center; + margin-bottom: 80px; + @include large-font-7; + } + + @media screen { + @media (max-width: 2500px) { + h1 { + @include large-font-2; + } + } + + @media (max-width: 1024px) { + h1 { + margin-bottom: 40px; + } + } + } +}