Skip to content

Commit

Permalink
fix updown integration
Browse files Browse the repository at this point in the history
  • Loading branch information
ManuCastrillonM committed Dec 3, 2023
1 parent e4b7963 commit 89d3221
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/footer/footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export default class Footer extends React.Component {
}

getServerStatus() {
const upDownUrl = `https://updown.io/api/checks?api-key=${process.env.GATSBY_UPDOWN_READ_ONLY_API_KEY}`
const upDownUrl = `https://updown.io/api/checks?api-key=ro-6ZC3Xjeu1TbqzoMJuBGk`
fetch(upDownUrl)
.then((response) => response.json())
.then((data) => {
Expand Down
16 changes: 16 additions & 0 deletions src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,20 @@ const IndexPage = () => (
</Layout>
)

console.log(
`%c
⠀⠀⠀⢀⣀⣠⣄⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⣀⣀⣀⠀⠀⠀⠀
⠀⢀⣴⣿⣿⣿⣿⣿⣿⣆⠀⠀⠀⠀⠀⣰⣿⣿⣿⣿⣿⣿⣦⡀⠀
⢠⣿⣿⣿⣿⣿⣿⣿⣿⣿⠀⠀⠀⠀⠀⣿⣿⣿⣿⣿⣿⣿⣿⣿⡄
⢸⣿⣿⣿⣿⣿⣿⣿⣿⣿⣶⣶⣶⣶⣶⣿⣿⣿⣿⣿⣿⣿⣿⣿⡇
⠘⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⠁
⠀⠀⠉⠛⠛⣻⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡟⠛⠛⠉⠀⠀ Hello Dev Friends!
⠀⠀⠀⠀⠀⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⢹⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠏⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠙⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⠋⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠙⠻⠿⣿⣿⡿⠿⠟⠋⠀⠀⠀⠀⠀⠀⠀⠀
`,
'color: red; background: white; font-size: 14px'
)
export default IndexPage

0 comments on commit 89d3221

Please sign in to comment.