Skip to content

Commit

Permalink
Restructured site layout
Browse files Browse the repository at this point in the history
  • Loading branch information
angelomds42 committed Feb 20, 2024
1 parent 9ba9132 commit 352d432
Show file tree
Hide file tree
Showing 39 changed files with 661 additions and 400 deletions.
Binary file added assets/img/android-chrome-192x192.png
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 assets/img/android-chrome-512x512.png
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 assets/img/android-icon-144x144.png
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 assets/img/android-icon-192x192.png
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 assets/img/android-icon-36x36.png
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 assets/img/android-icon-48x48.png
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 assets/img/android-icon-72x72.png
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 assets/img/android-icon-96x96.png
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 assets/img/apple-icon-114x114.png
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 assets/img/apple-icon-120x120.png
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 assets/img/apple-icon-144x144.png
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 assets/img/apple-icon-152x152.png
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 assets/img/apple-icon-180x180.png
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 assets/img/apple-icon-57x57.png
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 assets/img/apple-icon-60x60.png
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 assets/img/apple-icon-72x72.png
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 assets/img/apple-icon-76x76.png
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 assets/img/apple-icon-precomposed.png
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 assets/img/apple-icon.png
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 assets/img/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions assets/img/browserconfig.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="utf-8"?>
<browserconfig><msapplication><tile><square70x70logo src="/ms-icon-70x70.png"/><square150x150logo src="/ms-icon-150x150.png"/><square310x310logo src="/ms-icon-310x310.png"/><TileColor>#ffffff</TileColor></tile></msapplication></browserconfig>
Binary file added assets/img/favicon-16x16.png
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 assets/img/favicon-32x32.png
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 assets/img/favicon-96x96.png
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 assets/img/favicon.ico
Binary file not shown.
41 changes: 41 additions & 0 deletions assets/img/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"name": "App",
"icons": [
{
"src": "\/android-icon-36x36.png",
"sizes": "36x36",
"type": "image\/png",
"density": "0.75"
},
{
"src": "\/android-icon-48x48.png",
"sizes": "48x48",
"type": "image\/png",
"density": "1.0"
},
{
"src": "\/android-icon-72x72.png",
"sizes": "72x72",
"type": "image\/png",
"density": "1.5"
},
{
"src": "\/android-icon-96x96.png",
"sizes": "96x96",
"type": "image\/png",
"density": "2.0"
},
{
"src": "\/android-icon-144x144.png",
"sizes": "144x144",
"type": "image\/png",
"density": "3.0"
},
{
"src": "\/android-icon-192x192.png",
"sizes": "192x192",
"type": "image\/png",
"density": "4.0"
}
]
}
Binary file added assets/img/ms-icon-144x144.png
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 assets/img/ms-icon-150x150.png
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 assets/img/ms-icon-310x310.png
Binary file added assets/img/ms-icon-70x70.png
1 change: 1 addition & 0 deletions assets/img/settings_icon.svg
1 change: 1 addition & 0 deletions assets/img/site.webmanifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"name":"","short_name":"","icons":[{"src":"/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#ffffff","background_color":"#ffffff","display":"standalone"}
89 changes: 65 additions & 24 deletions assets/js/menu.js
Original file line number Diff line number Diff line change
@@ -1,24 +1,65 @@
const menuicon = document.querySelector(".navbar_button");

const menumobile = document.querySelector(".navbar_menu");

menuicon.addEventListener("click", () => {
menuicon.classList.toggle("active");
menumobile.classList.toggle("active");
});

var tabs_indicator = document.querySelector('.page_indicator');

var item = document.querySelectorAll('.navbar_menu_text');

function indicator(e){
tabs_indicator.style.left = e.offsetLeft+"px";
tabs_indicator.style.width = e.offsetWidth+"px";
}

item.forEach(link => {
link.addEventListener("click", (e)=>{
indicator(e.target);
})
})

const menuicon = document.querySelector(".navbar_button");

const menumobile = document.querySelector(".navbar_menu");

menuicon.addEventListener("click", () => {
menuicon.classList.toggle("active");
menumobile.classList.toggle("active");
});

// Função para selecionar a aba e mostrar o conteúdo associado
function selectAndShow(element, tabClass) {
// Chama a função para selecionar a opção
selectOption(element);

// Chama a função para mostrar o conteúdo associado à tab
showContent(tabClass);
}

// Função para selecionar a opção
function selectOption(option) {
var options = document.querySelectorAll(".navbar_menu_text");
options.forEach(function (item) {
item.classList.remove("selected");
});
option.classList.add("selected");
}

// Função para mostrar o conteúdo associado à tab
function showContent(tabClass) {
// Oculta todos os conteúdos das tabs
var tabContents = document.querySelectorAll(".conteudo");
tabContents.forEach(function (content) {
content.style.display = "none";
});

// Mostra o conteúdo da tab selecionada
var selectedTabContent = document.querySelector("." + tabClass);
if (selectedTabContent) {
selectedTabContent.style.display = "block";
}
}

// Chama a função selectAndShow para selecionar e mostrar a Tab 1 ao carregar o site
window.onload = function () {
var tab1 = document.querySelector(".navbar_menu_text:nth-child(1)");
selectAndShow(tab1, "section-01_container");
};

// Atualiza o conteúdo da aba ao clicar em outra aba
document.querySelectorAll(".navbar_menu_text").forEach(function (item) {
item.addEventListener("click", function () {
var tabClass = this.getAttribute("data-tab");
showContent(tabClass);

// Mostra todas as outras opções de conteúdo
var tabContents = document.querySelectorAll(".conteudo");
tabContents.forEach(function (content) {
if (content.classList.contains(tabClass)) {
content.style.display = "flex";
} else {
content.style.display = "none";
}
});
});
});
149 changes: 71 additions & 78 deletions assets/styles/home.css
Original file line number Diff line number Diff line change
@@ -1,78 +1,71 @@
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

body {
color: #074686;
background: #E4F2FF;
font-size: 100%;
font-family: "Poppins", sans-serif;
font-weight: 500;
}

.container {
display: flex;
flex-direction: column;
justify-content: space-between;
margin: auto;
min-height: 100vh;
max-width: 2200px;
position: relative;
gap: 50px;
overflow: hidden;
}

@keyframes monet_01 {
0% {
transform: rotateZ(0deg) translateX(0px) scale(1);
}

100% {
transform: rotateZ(360deg) translateX(50px) scale(1.1);
}
}

.monet_01 {
max-width: 1100px;
position: absolute;
z-index: -1;
top: -30%;
left: -40%;
transform: scale(1);
animation: 25s ease-in-out 4.25s infinite alternate none running monet_01;
}

@keyframes monet_02 {
0% {
transform: rotateZ(0deg) translateX(0px) scale(1);
}

100% {
transform: rotateZ(360deg) translateX(50px) scale(1.1);
}
}

.monet_02 {
max-width: 1100px;
position: absolute;
z-index: -1;
bottom: -40%;
right: -25%;
transform: scale(1);
animation: 25s ease-in-out 4.25s infinite alternate none running monet_02;
}

.footer {
display: flex;
align-items: center;
justify-content: space-around;
flex-direction: row;
font-size: 1rem;
padding: 5%;
}

.footer_profile_text {
color: #074686;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

body {
color: #074686;
background: #e4f2ff;
font: 500 100%/1 "Poppins", sans-serif;
}

.container {
display: flex;
flex-direction: column;
justify-content: space-between;
margin: auto;
min-height: 100vh;
max-width: 2200px;
position: relative;
gap: 50px;
overflow: hidden;
}

@keyframes rotateAndTranslate {
0% {
transform: rotateZ(0deg) translateX(0px) scale(1);
}

100% {
transform: rotateZ(360deg) translateX(50px) scale(1.1);
}
}

.monet_01 {
top: -20%;
left: -25%;
animation: fadeIn 3s ease-in-out,
rotateAndTranslate 25s ease-in-out 4.25s infinite alternate;
max-width: 100vh;
position: absolute;
z-index: -1;
transform: scale(1);
}

.monet_02 {
bottom: -40%;
right: -25%;
animation: fadeIn 3s ease-in-out,
rotateAndTranslate 25s ease-in-out 4.25s infinite alternate;
max-width: 1100px;
position: absolute;
z-index: -1;
transform: scale(1);
}

.footer {
display: flex;
align-items: center;
justify-content: space-around;
font-size: 1rem;
padding: 5%;
}

.footer_profile_text {
color: #074686;
}

.conteudo {
display: none;
}
Loading

0 comments on commit 352d432

Please sign in to comment.