From f426caeb1ed1ff9c3c1cf46f6a0e800ca86bbc69 Mon Sep 17 00:00:00 2001 From: Jose Date: Sun, 16 Nov 2025 00:48:03 +0100 Subject: [PATCH] refactor: update card component styles and links, enhance license attribution --- public/config/settings.json | 28 ++++++++++++++++++++++------ src/components/Card.jsx | 18 +++++++++--------- src/components/License.jsx | 2 +- src/css/Card.css | 26 ++++++++++++++++++++++---- 4 files changed, 54 insertions(+), 20 deletions(-) diff --git a/public/config/settings.json b/public/config/settings.json index c3a338e..7e704fd 100644 --- a/public/config/settings.json +++ b/public/config/settings.json @@ -4,20 +4,36 @@ "link": "https://jose.miarma.net" }, { - "title": "mpaste", - "link": "https://paste.miarma.net" + "title": "MiarmaGit", + "link": "https://git.miarma.net" }, { - "title": "Docs", - "link": "https://docs.miarma.net" + "title": "MiarmaPaste", + "link": "https://paste.miarma.net" }, { "title": "ETSIIMC", "link": "https://miarma.net/etsiimc" }, { - "title": "MiarmaGit", - "link": "https://git.miarma.net" + "title": "Status", + "link": "https://status.miarma.net" + }, + { + "title": "Panel", + "link": "https://Panel.miarma.net" + }, + { + "title": "MiarmaDrive", + "link": "https://drive.miarma.net" + }, + { + "title": "Multimedia", + "link": "https://cine.miarma.net" + }, + { + "title": "Docs", + "link": "https://docs.miarma.net" }, { "title": "Huertos Bellavista", diff --git a/src/components/Card.jsx b/src/components/Card.jsx index 103c603..da56161 100644 --- a/src/components/Card.jsx +++ b/src/components/Card.jsx @@ -19,17 +19,17 @@ export default function Card({ title, link }) { return (
-
- -
{title}
- +
+
{title}
+
+
+ {title} +
+
+ - Ir + Link -
diff --git a/src/components/License.jsx b/src/components/License.jsx index edb30ff..c8827cb 100644 --- a/src/components/License.jsx +++ b/src/components/License.jsx @@ -6,7 +6,7 @@ const License = ({ work, workLink }) => { return ( <> {work} © {currentYear} by{' '} - Gallardo7761 (Jose) is licensed under{' '} + Gallardo7761 (Jose) is licensed under{' '} CC BY-NC-ND 4.0 diff --git a/src/css/Card.css b/src/css/Card.css index c6c20e7..0a92c7d 100644 --- a/src/css/Card.css +++ b/src/css/Card.css @@ -17,15 +17,33 @@ } .btn-primary { - background: #1e1e1e; + position: relative; + overflow: hidden; + background: var(--orange-dark) !important; border-radius: 0px; padding: 10px 20px; color: var(--text-light); font-weight: bold; border: none; + z-index: 1; +} + +.btn-primary::after { + content: ""; + position: absolute; + top: 0; + left: -100%; + width: 100%; + height: 100%; + background: var(--blue-dark) !important; + transition: left 0.5s ease; /* velocidad */ + z-index: -1; +} + +.btn-primary:hover::after { + left: 0; } .btn-primary:hover { - background: #3e3e3e; - color: var(--text-light) -} \ No newline at end of file + color: var(--text-light); +}