Skip to content

Commit 3a7c1e1

Browse files
committed
added X link & font-family fix
1 parent 06ba681 commit 3a7c1e1

3 files changed

Lines changed: 17 additions & 6 deletions

File tree

app/globals.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
}
88
html {
99
scroll-behavior: smooth;
10+
@apply font-main;
1011
}
1112

1213
/*TYPE*/

components/core/Footer.jsx

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import Text from "../ui/Text";
1010
import Link from 'next/link';
1111
import { YouTube } from "@mui/icons-material";
1212
import { GitHub } from "@mui/icons-material";
13+
import { X } from "@mui/icons-material";
1314
import { Button, ButtonVariants } from "@/components/ui/button";
1415
import ArticleIcon from '@mui/icons-material/Article';
1516

@@ -37,10 +38,10 @@ export default function Footer(props) {
3738
<div className="flex flex-row">
3839
<EmailOutlinedIcon className="mr-2 mt-0.5" sx={{ fontSize: 20 }}/>
3940
<Text className=" text-[14px] flex gap-1">
40-
<b>{t("footer.email")} </b>
41+
{t("footer.email")}
4142
</Text>
4243
</div>
43-
<Text className=""> gi.internetng@upm.es</Text>
44+
<Text className="font-semibold"> gi.internetng@upm.es</Text>
4445
</div>
4546
</div>
4647

@@ -85,7 +86,7 @@ export default function Footer(props) {
8586
variant: "default",
8687
size: "icon_sm",
8788
radius: "rounded_full",
88-
}) + " bg-blue-600 hover:bg-blue-600 mr-2"}>
89+
}) + " bg-teal-600 hover:bg-teal-600 mr-2"}>
8990
<ArticleIcon sx={{ fontSize: 18 }}/>
9091

9192
</Button>
@@ -101,11 +102,20 @@ export default function Footer(props) {
101102
</Button>
102103
<p> Github</p>
103104
</Link>
104-
105+
<Link target="_blank" href="https://x.com/GING_UPM" className={"text-left mb-1 lg:mb-1.5 hover:underline flex flex-row items-center cursor-pointer"}>
106+
<Button href="#" className={ButtonVariants({
107+
variant: "default",
108+
size: "icon_sm",
109+
radius: "rounded_full",
110+
}) + " bg-blue-700 hover:bg-blue-700 mr-2"}>
111+
<X sx={{ fontSize: 18 }} />
112+
</Button>
113+
<p> X (Twitter)</p>
114+
</Link>
105115
</ul>
106116
</nav>
107117
<div className="font-sm flex flex-col max-w-[20ch]">
108-
<small className="mb-[1rem]">2024 © </small>
118+
<small className="mb-[1rem]">2025 © </small>
109119
<small className="mb-[1rem]"> Department of Telematic Systems Engineering </small>
110120
<small >ETSI Telecomunicación UPM</small>
111121
</div>

components/ui/Heading.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ const Heading = ({ level = "h1", children, className = "" }) => {
7373
highlight: "h4", "title-sm": "h6", subtitle: "h5",
7474
}[level] || "h1";
7575

76-
const baseClasses = "text-text font-title text-balance";
76+
const baseClasses = "text-text font-main text-balance";
7777
const sizeClasses = {
7878
h1: "text-36 sm:text-40 mb-6 font-medium",
7979
h2: "text-32 sm:text-36 mb-4 font-medium",

0 commit comments

Comments
 (0)