From bc89a114697273d0ef0aa7324ab152186af3ce8d Mon Sep 17 00:00:00 2001 From: valdezdata Date: Mon, 3 Mar 2025 06:27:20 -0700 Subject: [PATCH] update colors --- _includes/base.njk | 3 +- _site/blog/data-terms/index.html | 3 +- .../index.html | 3 +- _site/css/style.css | 5 +++ _site/index.html | 3 +- _site/js/back-to-top.js | 41 +++++++++++++++++++ _site/tags/career/index.html | 3 +- _site/tags/data-architect/index.html | 3 +- _site/tags/data-architecture/index.html | 3 +- _site/tags/data-engineering/index.html | 3 +- _site/tags/data-governance/index.html | 3 +- _site/tags/data-management/index.html | 3 +- _site/tags/data-roles/index.html | 3 +- _site/tags/data-terminology/index.html | 3 +- _site/tags/index.html | 3 +- _site/usos/index.html | 3 +- _site/whoami/index.html | 6 +-- css/style.css | 5 +++ whoami/index.md | 3 +- 19 files changed, 83 insertions(+), 19 deletions(-) create mode 100644 _site/js/back-to-top.js diff --git a/_includes/base.njk b/_includes/base.njk index 656ac93..65c1090 100644 --- a/_includes/base.njk +++ b/_includes/base.njk @@ -51,6 +51,7 @@
  • > whoami
  • > usos
  • > tags
  • +
  • > shop
  • > rss
  • @@ -64,7 +65,7 @@ - + diff --git a/_site/blog/data-terms/index.html b/_site/blog/data-terms/index.html index b2c607a..c49a82a 100644 --- a/_site/blog/data-terms/index.html +++ b/_site/blog/data-terms/index.html @@ -51,6 +51,7 @@
  • > whoami
  • > usos
  • > tags
  • +
  • > shop
  • > rss
  • @@ -376,7 +377,7 @@

    Data Architect

    - + diff --git a/_site/blog/por-que-ser-arquitecto-de-datos/index.html b/_site/blog/por-que-ser-arquitecto-de-datos/index.html index 9d74494..1352ed2 100644 --- a/_site/blog/por-que-ser-arquitecto-de-datos/index.html +++ b/_site/blog/por-que-ser-arquitecto-de-datos/index.html @@ -51,6 +51,7 @@
  • > whoami
  • > usos
  • > tags
  • +
  • > shop
  • > rss
  • @@ -244,7 +245,7 @@

    > cat outro.txt

    - + diff --git a/_site/css/style.css b/_site/css/style.css index 8aef9dd..cc9befd 100644 --- a/_site/css/style.css +++ b/_site/css/style.css @@ -18,6 +18,11 @@ box-sizing: border-box; } +h2 { + color: var(--success-color) !important; + /* Other important properties */ +} + body { font-family: "JetBrains Mono", monospace; background-color: #16161e; diff --git a/_site/index.html b/_site/index.html index 5b0b60c..cb83a14 100644 --- a/_site/index.html +++ b/_site/index.html @@ -51,6 +51,7 @@
  • > whoami
  • > usos
  • > tags
  • +
  • > shop
  • > rss
  • @@ -144,7 +145,7 @@

    - + diff --git a/_site/js/back-to-top.js b/_site/js/back-to-top.js new file mode 100644 index 0000000..f10a1a8 --- /dev/null +++ b/_site/js/back-to-top.js @@ -0,0 +1,41 @@ +document.addEventListener("DOMContentLoaded", function () { + const backToTopButton = document.getElementById("back-to-top"); + + // Don't show the button on very short pages + if (document.body.scrollHeight <= window.innerHeight + 300) { + backToTopButton.style.display = "none"; + return; + } + + // Show button only when user scrolls down 300px + window.addEventListener("scroll", function () { + if (window.pageYOffset > 300) { + backToTopButton.classList.add("show"); + } else { + backToTopButton.classList.remove("show"); + } + }); + + // Initial check - don't show on page load + backToTopButton.classList.remove("show"); + + // Scroll to top when button is clicked + backToTopButton.addEventListener("click", function () { + // Add a terminal-like command output + const commandOutput = document.createElement("div"); + commandOutput.classList.add("command-output"); + commandOutput.innerHTML = '$ cd ~'; + + // Only append to content if it exists + const contentDiv = document.querySelector(".content"); + if (contentDiv) { + contentDiv.appendChild(commandOutput); + } + + // Scroll to top with animation + window.scrollTo({ + top: 0, + behavior: "smooth", + }); + }); +}); diff --git a/_site/tags/career/index.html b/_site/tags/career/index.html index 0586a38..913a512 100644 --- a/_site/tags/career/index.html +++ b/_site/tags/career/index.html @@ -51,6 +51,7 @@
  • > whoami
  • > usos
  • > tags
  • +
  • > shop
  • > rss
  • @@ -118,7 +119,7 @@

    - + diff --git a/_site/tags/data-architect/index.html b/_site/tags/data-architect/index.html index ef89378..73c04c8 100644 --- a/_site/tags/data-architect/index.html +++ b/_site/tags/data-architect/index.html @@ -51,6 +51,7 @@
  • > whoami
  • > usos
  • > tags
  • +
  • > shop
  • > rss
  • @@ -118,7 +119,7 @@

    - + diff --git a/_site/tags/data-architecture/index.html b/_site/tags/data-architecture/index.html index 12c557e..727866f 100644 --- a/_site/tags/data-architecture/index.html +++ b/_site/tags/data-architecture/index.html @@ -51,6 +51,7 @@
  • > whoami
  • > usos
  • > tags
  • +
  • > shop
  • > rss
  • @@ -118,7 +119,7 @@

    - + diff --git a/_site/tags/data-engineering/index.html b/_site/tags/data-engineering/index.html index 98750ec..6202849 100644 --- a/_site/tags/data-engineering/index.html +++ b/_site/tags/data-engineering/index.html @@ -51,6 +51,7 @@
  • > whoami
  • > usos
  • > tags
  • +
  • > shop
  • > rss
  • @@ -118,7 +119,7 @@

    - + diff --git a/_site/tags/data-governance/index.html b/_site/tags/data-governance/index.html index 3fe7cdf..e68e989 100644 --- a/_site/tags/data-governance/index.html +++ b/_site/tags/data-governance/index.html @@ -51,6 +51,7 @@
  • > whoami
  • > usos
  • > tags
  • +
  • > shop
  • > rss
  • @@ -110,7 +111,7 @@

    - + diff --git a/_site/tags/data-management/index.html b/_site/tags/data-management/index.html index 52a8ff9..3e967d1 100644 --- a/_site/tags/data-management/index.html +++ b/_site/tags/data-management/index.html @@ -51,6 +51,7 @@
  • > whoami
  • > usos
  • > tags
  • +
  • > shop
  • > rss
  • @@ -110,7 +111,7 @@

    - + diff --git a/_site/tags/data-roles/index.html b/_site/tags/data-roles/index.html index da3c134..fce5680 100644 --- a/_site/tags/data-roles/index.html +++ b/_site/tags/data-roles/index.html @@ -51,6 +51,7 @@
  • > whoami
  • > usos
  • > tags
  • +
  • > shop
  • > rss
  • @@ -118,7 +119,7 @@

    - + diff --git a/_site/tags/data-terminology/index.html b/_site/tags/data-terminology/index.html index 8433643..8edb476 100644 --- a/_site/tags/data-terminology/index.html +++ b/_site/tags/data-terminology/index.html @@ -51,6 +51,7 @@
  • > whoami
  • > usos
  • > tags
  • +
  • > shop
  • > rss
  • @@ -110,7 +111,7 @@

    - + diff --git a/_site/tags/index.html b/_site/tags/index.html index a88a29e..7bff9d9 100644 --- a/_site/tags/index.html +++ b/_site/tags/index.html @@ -51,6 +51,7 @@
  • > whoami
  • > usos
  • > tags
  • +
  • > shop
  • > rss
  • @@ -106,7 +107,7 @@

    > ls -la tags/

    - + diff --git a/_site/usos/index.html b/_site/usos/index.html index 4e3b6c6..00725fa 100644 --- a/_site/usos/index.html +++ b/_site/usos/index.html @@ -51,6 +51,7 @@
  • > whoami
  • > usos
  • > tags
  • +
  • > shop
  • > rss
  • @@ -94,7 +95,7 @@

    Theme

    - + diff --git a/_site/whoami/index.html b/_site/whoami/index.html index 7830903..6e3552f 100644 --- a/_site/whoami/index.html +++ b/_site/whoami/index.html @@ -51,13 +51,14 @@
  • > whoami
  • > usos
  • > tags
  • +
  • > shop
  • > rss
  • > whoami

    -
    - User: valdezdata
    +
    - User: Omar Valdez
      - Role: Data Architect
      - Location: /home/valdezdata
     
    @@ -96,7 +97,6 @@

    > cat contact.txt

    Para proyectos, colaboraciones o simplemente conversar sobre datos:

    echo "Te agradezco por leer mi blog" > /dev/stdout
    @@ -107,7 +107,7 @@

    > cat contact.txt

    - + diff --git a/css/style.css b/css/style.css index 8aef9dd..cc9befd 100644 --- a/css/style.css +++ b/css/style.css @@ -18,6 +18,11 @@ box-sizing: border-box; } +h2 { + color: var(--success-color) !important; + /* Other important properties */ +} + body { font-family: "JetBrains Mono", monospace; background-color: #16161e; diff --git a/whoami/index.md b/whoami/index.md index 7aee2a9..f70b3b5 100644 --- a/whoami/index.md +++ b/whoami/index.md @@ -6,7 +6,7 @@ title: whoami ## > whoami ``` -- User: valdezdata +- User: Omar Valdez - Role: Data Architect - Location: /home/valdezdata ``` @@ -60,7 +60,6 @@ Mi misiĆ³n es desbloquear el potencial de los datos para impulsar decisiones bas Para proyectos, colaboraciones o simplemente conversar sobre datos: - Email: [valdezdata@tuta.io](mailto:valdezdata@tuta.io) -- LinkedIn: [valdezdata](https://linkedin.com/in/valdezdata) ```bash echo "Te agradezco por leer mi blog" > /dev/stdout