Skip to content

Commit

Permalink
agora foi
Browse files Browse the repository at this point in the history
  • Loading branch information
siteeixo2021 committed Jan 18, 2025
1 parent d3a6425 commit 9483267
Show file tree
Hide file tree
Showing 30 changed files with 169 additions and 565 deletions.
1 change: 0 additions & 1 deletion _config.yml

This file was deleted.

39 changes: 39 additions & 0 deletions app.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
const secondsContainer = document.querySelector('#seconds')
const minutesContainer = document.querySelector('#minutes')
const hoursContainer = document.querySelector('#hours')
const daysContainer = document.querySelector('#days')
const fogosloading = document.querySelector('#loading')
const countdownConteiner = document.querySelector('#countdown')


const nextmonth = new Date().getFullYear()
const newYearTime = new Date(`February 23 ${nextmonth} 00:00:00`)

const insertContdowValues = ({ days, hours, minutes, seconds }) => {
secondsContainer.textContent = seconds < 10 ? '0' + seconds : seconds
minutesContainer.textContent = minutes < 10 ? '0' + minutes : minutes
hoursContainer.textContent = hours< 10 ? '0' + hours : hours
daysContainer .textContent = days < 10 ? '0' + days : days
}



const updadeCountdown = () => {
const currentTime = new Date()
const diffenrence = newYearTime - currentTime
const days = Math.floor(diffenrence / 1000 / 60 / 60 / 24)
const hours = Math.floor(diffenrence / 1000 / 60 / 60 ) % 24
const minutes = Math.floor(diffenrence / 1000 / 60) % 60
const seconds = Math.floor(diffenrence / 1000) % 60

insertContdowValues({ days, hours, minutes, seconds })
}

const handleCountdowDisplay = () => {
fogosloading.remove()
countdownConteiner.style.display = 'flex'
}

setTimeout(handleCountdowDisplay, 3500)

setInterval(updadeCountdown, 1000)
14 changes: 0 additions & 14 deletions blogs/Racismo.html

This file was deleted.

78 changes: 0 additions & 78 deletions blogs/ajuda.html

This file was deleted.

52 changes: 0 additions & 52 deletions blogs/bullying.html

This file was deleted.

57 changes: 0 additions & 57 deletions blogs/deficiências.html

This file was deleted.

29 changes: 0 additions & 29 deletions blogs/estilos/style.css

This file was deleted.

29 changes: 0 additions & 29 deletions blogs/estilos/style3.css

This file was deleted.

Binary file removed blogs/imagens/306097_66063.43342.218817.775761.pdf
Binary file not shown.
Binary file removed blogs/imagens/Imagens-de-fundo-para-sites.jpg
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed blogs/imagens/micacalala-michi.gif
Binary file not shown.
Binary file removed blogs/imagens/rip-dead.png
Binary file not shown.
Binary file removed blogs/imagens/teste.png.jpg
Binary file not shown.
Binary file removed blogs/imagens/waiting-be-patient.gif
Binary file not shown.
25 changes: 0 additions & 25 deletions blogs/pobresa menstrual.html

This file was deleted.

33 changes: 0 additions & 33 deletions blogs/relato bruna.html

This file was deleted.

Loading

0 comments on commit 9483267

Please sign in to comment.