changed brand logo and style

This commit is contained in:
2025-11-15 03:57:58 +01:00
parent 01b5269dde
commit 5219822ea1
14 changed files with 2457 additions and 4663 deletions

View File

@@ -0,0 +1,8 @@
{
"hash": "00cc7a2f",
"configHash": "29556463",
"lockfileHash": "25098e61",
"browserHash": "cc67abba",
"optimized": {},
"chunks": {}
}

3
.vite/deps/package.json Normal file
View File

@@ -0,0 +1,3 @@
{
"type": "module"
}

View File

@@ -3,7 +3,7 @@
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>miarma.net HUB</title> <title>er çentro</title>
<meta name="twitter:card" content="summary_large_image"> <meta name="twitter:card" content="summary_large_image">
<meta property="og:url" content="https://miarma.net"> <meta property="og:url" content="https://miarma.net">
<meta property="og:title" content="miarma.net HUB"> <meta property="og:title" content="miarma.net HUB">

4498
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,37 +1,30 @@
[ [
{
"title": "Panel de administración",
"description": "Panel de control para los administradores de miarma.net",
"link": "https://panel.miarma.net/"
},
{
"title": "Jellyfin",
"description": "Servidor multimedia privado para ver videitos",
"link": "https://cine.miarma.net/"
},
{
"title": "Miarmacraft",
"description": "Nuestro server de MC Forge 1.20.1",
"link": "https://miarma.net/miarmacraft"
},
{
"title": "Calvaria",
"description": "Nuestro servidor de tModLoader 1.4.4.9",
"link": "https://miarma.net/calvaria"
},
{ {
"title": "Portafolio", "title": "Portafolio",
"description": "Mi portafolio personal (proyectos e info)", "link": "https://jose.miarma.net"
"link": "http://gallardo.dev" },
{
"title": "mpaste",
"link": "https://paste.miarma.net"
},
{
"title": "Docs",
"link": "https://docs.miarma.net"
},
{
"title": "ETSIIMC",
"link": "https://miarma.net/etsiimc"
},
{
"title": "MiarmaGit",
"link": "https://git.miarma.net"
}, },
{ {
"title": "Huertos Bellavista", "title": "Huertos Bellavista",
"description": "Web de la comunidad de huertos urbanos de Bellavista", "link": "https://www.huertosbellavista.es"
"link": "https://www.huertosbellavista.es/"
}, },
{ {
"title": "ContaminUS", "title": "Huertos de Cine",
"description": "Proyecto a presentar en el Hack4Change ETSII 2025", "link": "https://cine.huertosbellavista.es"
"link": "https://contaminus.miarma.net/groups/1/devices/6a6098"
} }
] ]

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 45 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 378 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 375 KiB

View File

@@ -3,7 +3,7 @@ import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
import PropTypes from "prop-types"; import PropTypes from "prop-types";
import { useState, useEffect } from "react"; import { useState, useEffect } from "react";
export default function Card({ title, description, link }) { export default function Card({ title, link }) {
const [image, setImage] = useState(""); const [image, setImage] = useState("");
useEffect(() => { useEffect(() => {
@@ -22,10 +22,9 @@ export default function Card({ title, description, link }) {
<div className={"card-body text-center"}> <div className={"card-body text-center"}>
<img src={image} className={"card-img-top mb-3"}></img> <img src={image} className={"card-img-top mb-3"}></img>
<h5 className={"card-title"}>{title}</h5> <h5 className={"card-title"}>{title}</h5>
<p className={"card-text"}>{description}</p>
<a <a
href={link} href={link}
className={"btn btn-primary text-dark"} className={"btn btn-primary"}
> >
<FontAwesomeIcon icon={faArrowUpRightFromSquare} className={"me-2"} /> <FontAwesomeIcon icon={faArrowUpRightFromSquare} className={"me-2"} />
Ir Ir

View File

@@ -2,7 +2,7 @@ import License from './License';
const Footer = () => { const Footer = () => {
return ( return (
<footer className="mt-5 text-center"> <footer className="text-center">
<License work="miarma.net" workLink="https://miarma.net/" /> <License work="miarma.net" workLink="https://miarma.net/" />
</footer> </footer>
); );

View File

@@ -1,8 +1,8 @@
const Header = () => { const Header = () => {
return ( return (
<h1 className={"text-center my-5 fw-bold"}> <div className="d-flex justify-content-center my-3">
<a href="https://miarma.net/" className="gradient-text">miarma.net</a> hub <img src="/images/logo-with-text.svg" width={192} height={192} />
</h1> </div>
); );
} }

View File

@@ -1,23 +0,0 @@
import {useEffect, useState} from 'react';
export default function ThemeButton() {
const [theme, setTheme] = useState(() => {
return localStorage.getItem("theme") || "light";
});
useEffect(() => {
document.body.classList.remove("light", "dark");
document.body.classList.add(theme);
localStorage.setItem("theme", theme);
}, [theme]);
const toggleTheme = () => {
setTheme((prevTheme) => (prevTheme === "light" ? "dark" : "light"));
};
return (
<button className={"theme-toggle"} onClick={toggleTheme}>
{theme === "dark" ? "☀️" : "🌙"}
</button>
)
}

View File

@@ -1,52 +1,32 @@
.card { .card {
border: none; border-radius: 0px;
border-radius: 30px; color: var(--text-dark);
background: rgba(255, 255, 255, 0.05); background: var(--light);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
box-shadow: 0 4px 5px rgba(0, 0, 0, 0.1);
color: var(--text);
z-index: 1;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
transform: translateY(-10px);
box-shadow: 0 8px 10px rgba(0, 0, 0, 0.2);
} }
.card img { .card img {
border-radius: 15px; border-radius: 0px;
box-shadow: black ;
} }
.card-title { .card-title {
font-weight: 1500 !important; color: var(--text-dark);
color: var(--text);
} }
.card-text { .card-text {
color: var(--text); color: var(--text-dark);
} }
.btn-primary { .btn-primary {
background: var(--accent); background: var(--orange-dark);
background-size: 300% 300%; /* Para la animación */ border-radius: 0px;
border: none;
border-radius: 50px;
padding: 10px 20px; padding: 10px 20px;
color: #000; color: var(--text-dark);
font-weight: bold; font-weight: bold;
transition: background-position 0.3s ease; border: none;
animation: holografico 3s ease infinite;
} }
.btn-primary:hover { .btn-primary:hover {
background: var(--accent-hover); background: var(--blue);
background-size: 300% 300%; color: var(--text-light)
}
@keyframes holografico {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
} }

View File

@@ -26,48 +26,23 @@
src: url('/fonts/ProductSansBold.ttf'); src: url('/fonts/ProductSansBold.ttf');
} }
* {
transition: background-color 0.4s, border-color 0.4s, color 0.4s;
}
:root { :root {
--accent: linear-gradient(45deg, --light: #f6f6f6;
#ff66ff, --white: #ffffff;
#66ffff, --blue: #2F6CA3;
#ffff66, --blue-dark: #0A365E;
#66ff66, --orange: #e3bb9d;
#ff6666 --orange-dark: #c1763c;
);
--accent-hover: linear-gradient(45deg,
#ff99ff,
#99ffff,
#ffff99,
#99ff99,
#ff9999
);
}
.light {
--primary: #bebebe;
--secondary: #ffffff;
--muted: #6c757d; --muted: #6c757d;
--text: #212529; --text-dark: #212529;
--bg: #ffffff; --text-light: #ffffff;
}
.dark {
--primary: #343a40;
--secondary: #212529;
--muted: #adb5bd;
--text: #f8f9fa;
--bg: #212529;
} }
html, html,
body { body {
font-family: "Open Sans", sans-serif; font-family: "Open Sans", sans-serif;
color: var(--text); color: var(--text-dark);
background-color: var(--bg); background-color: var(--white);
} }
/* Tipografía global */ /* Tipografía global */
@@ -79,7 +54,7 @@ span,
a, a,
button { button {
font-family: "Open Sans", sans-serif; font-family: "Open Sans", sans-serif;
color: var(--text); color: var(--text-dark);
} }
h1, h1,
@@ -89,43 +64,21 @@ h4,
h5, h5,
h6 { h6 {
font-family: "Product Sans Bold", sans-serif; font-family: "Product Sans Bold", sans-serif;
color: var(--text); color: var(--text-dark);
} }
main { main {
color: var(--text); color: var(--text-dark);
background-color: var(--bg); background-color: var(--white);
}
.theme-toggle {
position: fixed;
bottom: 20px;
right: 20px;
z-index: 1000;
border: none;
border-radius: 50%;
width: 50px;
height: 50px;
display: flex;
align-items: center;
justify-content: center;
background-color: var(--accent);
color: white;
cursor: pointer;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
} }
a { a {
color: var(--accent); color: var(--blue);
} }
a:hover { a:hover {
color: var(--accent-hover); color: var(--blue-dark);
}
.theme-toggle:hover {
background-color: var(--accent-hover);
} }
footer { footer {
@@ -133,12 +86,3 @@ footer {
text-align: center; text-align: center;
color: var(--muted); color: var(--muted);
} }
.gradient-text {
background: var(--accent);
background-size: 300% 300%;
-webkit-background-clip: text;
background-clip: text;
color: transparent;
animation: holografico 4s ease infinite;
}