File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -29,8 +29,8 @@ export default function RootPage() {
2929 gap : "20px" ,
3030 } }
3131 >
32- < TitlePage > Redirecting to home...</ TitlePage >
3332 < SpinnerLoad />
33+ < TitlePage > Redirecting to home...</ TitlePage >
3434 { /* Opcional: Enlaces manuales por si falla JS */ }
3535 < a href = "/es" > Español</ a >
3636 < a href = "/en" > English</ a >
Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ export default async function About({ params }) {
112112 rel = "noopener noreferrer"
113113 >
114114 < FaSquareXTwitter />
115- Twitter / X
115+ Twitter
116116 </ IconLink >
117117 </ LinkList >
118118 </ AboutWrapper >
Original file line number Diff line number Diff line change @@ -18,7 +18,6 @@ import Link from "next/link";
1818import { useTranslations } from "next-intl" ;
1919import { FaFontAwesome } from "react-icons/fa" ;
2020import H2Header from "@/app/components/MdCompos/H2Header" ;
21- import H3Header from "@/app/components/MdCompos/H3Header" ;
2221
2322const LogosContainer = styled . div `
2423 display: flex;
@@ -27,37 +26,25 @@ const LogosContainer = styled.div`
2726 flex-flow: row wrap;
2827
2928 justify-content: space-around;
30- /* @media (min-width: 2080px) {
31- flex-direction: column;
32- } */
3329` ;
3430
3531const LogosBox = styled . div `
3632 display: flex;
3733 flex-direction: row;
38- /* max-width: 90%; */
3934 margin: 1rem auto;
4035 flex-wrap: wrap;
41- /* @media (min-width: 1080px) {
42- width: 60%;
43- border: 1px dashed var(--accent);
44- }
45- @media (max-width: 880px) {
46- max-width: 80%;
47- border: 1px dashed red;
48- } */
49-
5036 font-size: small;
5137 color: var(--accent);
5238 background-color: var(--quote-bg);
53- width: 32%;
54- @media (max-width: 729px ) {
39+
40+ @media (max-width: 390px ) {
5541 width: 45%;
5642 }
57- @media (min-width: 730px) {
58- width: 43%;
43+
44+ @media (600px <= width < 1080px) {
45+ width: 49%;
5946 }
60- @media (min-width: 900px ) {
47+ @media (min-width: 1080px ) {
6148 width: 32%;
6249 }
6350` ;
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ import ScrollDiv from "../components/navigation/ScrollDiv";
1717import { getAllPosts } from "../lib/api" ;
1818import { getTranslations , setRequestLocale } from "next-intl/server" ;
1919import BackgroundDots from "../components/BgMovingDots" ;
20+ import SpinnerLoad from "../components/SpinnerLoad" ;
2021export default async function Home ( { params } ) {
2122 // 1. Obtener idioma
2223 const { locale } = await params ;
Original file line number Diff line number Diff line change 22import React , { useState } from "react" ;
33import styled from "styled-components" ;
44import SpinnerLoad from "../SpinnerLoad" ;
5+ import { SiFifa } from "react-icons/si" ;
56
67// ==========================================
78// STYLED COMPONENTS
@@ -21,10 +22,11 @@ const Header = styled.div`
2122` ;
2223
2324const Title = styled . h1 `
24- font-size: 2.5rem ;
25+ font-size: x-large ;
2526 font-weight: bold;
2627 color: var(--accent);
2728 display: flex;
29+ flex-direction: column;
2830 align-items: center;
2931 justify-content: center;
3032 gap: 1rem;
@@ -618,9 +620,8 @@ export default function SorteoMundialGA(props) {
618620 < Container >
619621 < Header >
620622 < Title >
621- < TrophyIcon />
622623 { t . title }
623- < TrophyIcon />
624+ < SiFifa style = { { fontSize : "65px" } } />
624625 </ Title >
625626 < Subtitle > { t . subtitle } </ Subtitle >
626627 </ Header >
Original file line number Diff line number Diff line change 1+ "use client" ;
12import React from "react" ;
23import styled from "styled-components" ;
34
45const SpinnerLoad = ( ) => (
5- < StyledSpinner viewBox = "0 0 50 50 " >
6+ < StyledSpinner viewBox = "0 0 100 100 " >
67 < circle
78 className = "path"
8- cx = "25 "
9- cy = "25 "
10- r = "20 "
9+ cx = "50 "
10+ cy = "50 "
11+ r = "30 "
1112 fill = "none"
1213 strokeWidth = "4"
1314 />
1415 </ StyledSpinner >
1516) ;
1617
1718const StyledSpinner = styled . svg `
19+ z-index: 1000;
1820 animation: rotate 2s linear infinite;
1921 margin: -25px 0 0 -25px;
20- width: 50px ;
21- height: 50px ;
22+ width: 150px ;
23+ height: 150px ;
2224
2325 & .path {
2426 stroke: var(--accent);
Original file line number Diff line number Diff line change @@ -23,10 +23,13 @@ const FooterIcons = styled.div`
2323 display: flex;
2424 flex-direction: row;
2525 justify-content: space-between;
26- @media (max-width: 660px) {
26+
27+ @media (0 <=width <= 390px) {
2728 flex-direction: column;
2829 margin-top: 2rem;
30+ font-size: xx-small;
2931 }
32+ /* border: 1px solid blue; */
3033` ;
3134
3235const FooterLinks = styled . div `
@@ -39,10 +42,14 @@ const FooterTextBox = styled.div`
3942 margin: 0;
4043 display: flex;
4144 flex-direction: column;
45+
46+ width: 50%;
47+ @media (min-width: 400px) {
48+ width: auto;
49+ }
4250` ;
4351const FooterText = styled . p `
4452 font-size: smaller;
45- /* border: 1px solid red; */
4653` ;
4754const FoooterLink = styled . a `
4855 padding: 2px 5px;
Original file line number Diff line number Diff line change 5959
6060 --primary-border: #DEE2E6;
6161 --box-border-hover: #0077FF;
62+ --gray-light: #919ca2ff;
6263 }
6364
6465 [data-theme='dark'] {
102103
103104 --primary-border: #004966;
104105 --box-border-hover: #FF3366;
106+ --gray-light: #919ca2ff;
105107 }
106108
107109 /* Utilidades */
Original file line number Diff line number Diff line change @@ -37,26 +37,39 @@ export const MainPageBg = styled.div`
3737 max-width: 100%;
3838 text-align: justify;
3939 padding: 1rem 1rem;
40- @media (min-width: 660px) {
41- font-size: large;
42- max-width: 70%;
43- margin: 0 auto;
44- /* border: 1px solid orange; */
40+ margin: 0 auto;
41+
42+ @media (0px <= width < 390px) {
43+ width: 99%;
4544 }
46- @media (min-width: 1300px) {
47- font-size: large;
48- width: 50%;
49- margin: 0 auto;
50- /* border: 1px solid var(--accent); */
45+ @media (min-width: 390px) {
46+ width: 95%;
47+ }
48+
49+ @media (600px <= width < 780px) {
50+ min-width: 80%;
51+ padding: 5px;
52+ box-shadow: none;
53+ font-size: small;
54+ }
55+ @media (min-width: 1080px) {
56+ width: 65%;
57+ }
58+ @media (min-width: 1280px) {
59+ width: 65%;
5160 }
61+ @media (min-width: 1440px) {
62+ width: 60%;
63+ }
64+ /* border: 2px solid orange; */
5265` ;
5366
5467export const HomePageCover = styled . div `
5568 height: 15vh;
5669 display: flex;
5770 flex-direction: row;
5871 @media (max-width: 660px) {
59- height: 65vh ;
72+ height: 5vh ;
6073 }
6174` ;
6275export const HomePageCoverText = styled . div `
@@ -78,11 +91,13 @@ export const CoverTitle = styled.h1`
7891` ;
7992export const TitlePage = styled . h1 `
8093 color: var(--fg);
94+ font-size: x-large;
95+
8196 @media (max-width: 728px) {
8297 text-align: justify;
8398 /* padding: 1rem 1rem; */
8499 }
85- font-size: x-large;
100+
86101 @media (min-width: 660px) {
87102 font-size: xx-large;
88103 }
Original file line number Diff line number Diff line change @@ -7,7 +7,8 @@ export const MdParagraph = styled.div`
77 @media (min-width: 660px) {
88 font-size: large;
99 }
10- /* border: 1px solid red; */
10+ z-index: 1000;
11+ background-color: var(--bg);
1112` ;
1213
1314export const MdListItem = styled . li `
You can’t perform that action at this time.
0 commit comments