From f593055b330c64575335b8a0117d0f6ee1fb4964 Mon Sep 17 00:00:00 2001 From: Nelio Alves Date: Wed, 1 Nov 2023 16:36:25 -0300 Subject: [PATCH] First commit --- index.html | 26 +++++++++++++++++++++ logo.svg | 14 +++++++++++ script.js | 17 ++++++++++++++ styles.css | 68 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 125 insertions(+) create mode 100644 index.html create mode 100644 logo.svg create mode 100644 script.js create mode 100644 styles.css diff --git a/index.html b/index.html new file mode 100644 index 0000000..38c98ec --- /dev/null +++ b/index.html @@ -0,0 +1,26 @@ + + + + + + Paragon Academy + + + + +
+
+
+ Devsuperior +

Novo endereço

+

Acesse a plataforma de cursos no novo endereço:

+ +

Você será redirecionado em 5...

+
+
+
+ + + diff --git a/logo.svg b/logo.svg new file mode 100644 index 0000000..254c378 --- /dev/null +++ b/logo.svg @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/script.js b/script.js new file mode 100644 index 0000000..00beb9d --- /dev/null +++ b/script.js @@ -0,0 +1,17 @@ +let countSecs = 5; +const paceSecs = 1; + +function pace() { + window.setTimeout(function () { + countSecs = countSecs - paceSecs; + let elem = document.getElementById("secs"); + elem.innerHTML = countSecs; + if (countSecs <= 0) { + window.location.href = "https://devsuperior.club"; + } else { + pace(); + } + }, paceSecs * 1000); +} + +pace(); diff --git a/styles.css b/styles.css new file mode 100644 index 0000000..ccd30c1 --- /dev/null +++ b/styles.css @@ -0,0 +1,68 @@ +@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap"); +@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap"); + +:root { + --color-bg-dark: #0d1117; + --color-text-light: #fff; + --color-main-link: #88f; +} + +* { + font-family: "Inter", sans-serif; + box-sizing: border-box; + margin: 0; + padding: 0; +} + +a, +a:hover { + color: unset; + text-decoration: none; +} + +html, +body { + background-color: var(--color-bg-dark); + color: var(--color-text-light); +} + +h1, +h2, +h3, +h4, +h5, +h6 { + font-family: "Montserrat", sans-serif; +} + +.full-width-container { + padding-top: 40px; + padding-left: 10px; + padding-right: 10px; +} + +.container { + width: 100%; + max-width: 1200px; + margin: 0 auto; +} + +.main-link { + color: var(--color-main-link); + font-weight: 700; + font-size: 20px; +} + +.mb20 { + margin-bottom: 20px; +} + +/* RESPONSIVE +--------------------------------------------------------------------------- */ + +@media (min-width: 576px) { + .full-width-container { + padding-left: 20px; + padding-right: 20px; + } +}