From 89d3221cd45f7a478292e36a61b1e426374c9301 Mon Sep 17 00:00:00 2001 From: manuCastrillonM <10585946+ManuCastrillonM@users.noreply.github.com> Date: Sun, 3 Dec 2023 19:44:40 +0100 Subject: [PATCH] fix updown integration --- src/components/footer/footer.js | 2 +- src/pages/index.js | 16 ++++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/src/components/footer/footer.js b/src/components/footer/footer.js index 242c4b1..bdb4955 100644 --- a/src/components/footer/footer.js +++ b/src/components/footer/footer.js @@ -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) => { diff --git a/src/pages/index.js b/src/pages/index.js index c2d2b5b..6e400ab 100644 --- a/src/pages/index.js +++ b/src/pages/index.js @@ -13,4 +13,20 @@ const IndexPage = () => ( ) +console.log( + `%c +⠀⠀⠀⢀⣀⣠⣄⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⣀⣀⣀⠀⠀⠀⠀ +⠀⢀⣴⣿⣿⣿⣿⣿⣿⣆⠀⠀⠀⠀⠀⣰⣿⣿⣿⣿⣿⣿⣦⡀⠀ +⢠⣿⣿⣿⣿⣿⣿⣿⣿⣿⠀⠀⠀⠀⠀⣿⣿⣿⣿⣿⣿⣿⣿⣿⡄ +⢸⣿⣿⣿⣿⣿⣿⣿⣿⣿⣶⣶⣶⣶⣶⣿⣿⣿⣿⣿⣿⣿⣿⣿⡇ +⠘⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⠁ +⠀⠀⠉⠛⠛⣻⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡟⠛⠛⠉⠀⠀ Hello Dev Friends! +⠀⠀⠀⠀⠀⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠀⠀⠀⠀⠀ +⠀⠀⠀⠀⠀⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠀⠀⠀⠀⠀ +⠀⠀⠀⠀⠀⢹⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠏⠀⠀⠀⠀⠀ +⠀⠀⠀⠀⠀⠀⠙⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⠋⠀⠀⠀⠀⠀⠀ +⠀⠀⠀⠀⠀⠀⠀⠀⠙⠻⠿⣿⣿⡿⠿⠟⠋⠀⠀⠀⠀⠀⠀⠀⠀ +`, + 'color: red; background: white; font-size: 14px' +) export default IndexPage