@@ -7,6 +7,7 @@ import { useTranslation } from "react-i18next";
77import { Button , ButtonVariants } from "@/components/ui/button" ;
88import Heading from "@/components/ui/Heading" ;
99import { Divider , DividerVariants } from "@/components/ui/divider" ;
10+ import { newsEvents } from "@/constants/newsEvents" ;
1011
1112import ArrowForwardIcon from "@mui/icons-material/ArrowForward" ;
1213import EventIcon from "@mui/icons-material/Event" ;
@@ -15,6 +16,7 @@ import PlaceIcon from "@mui/icons-material/Place";
1516import FileDownloadOutlinedIcon from "@mui/icons-material/FileDownloadOutlined" ;
1617import { FileDownloadOutlined } from "@mui/icons-material" ;
1718
19+ import NewsEventsCard from "@/components/cards/NewsEventsCard" ;
1820import ResearchLineCard from "@/components/cards/ResearchLineCard" ;
1921import Text from "@/components/ui/Text" ;
2022import Image from "@/components/ui/image" ;
@@ -33,8 +35,6 @@ import {
3335
3436// UI
3537export default function Page ( ) {
36- //const [projects, setProjects] = useState(myprojectCards);
37-
3838 const { t, i18n } = useTranslation ( ) ;
3939 const currentLang = i18n . language ;
4040 // useEffect(() => {
@@ -74,113 +74,6 @@ export default function Page() {
7474 </ Link >
7575 </ BannerContent >
7676 </ Banner >
77-
78- < section className = "padding_group_description" style = { { backgroundImage : "linear-gradient(to right, #948CFFDD, #2c2e33)" } } >
79- < Divider size = "lg" className = "hidden md:flex" > </ Divider >
80- < Divider size = "sm" > </ Divider >
81- < Heading level = "h1" > 40 Aniversario de internet en España</ Heading >
82- < div className = "flex gap-4" >
83- < Mybadge variant = "event" >
84- < Heading level = "subtitle" className = "flex items-center gap-1 line !mb-0" > < AccessTimeIcon className = "mt-0.5" sx = { { fontSize : 22 } } /> 12:30</ Heading >
85- </ Mybadge >
86- < Mybadge variant = "event" >
87- < Heading level = "subtitle" className = "flex items-center gap-1 line !mb-0" > < EventIcon className = "mt-0.5" sx = { { fontSize : 22 } } /> 2 de diciembre</ Heading >
88- </ Mybadge >
89- < Mybadge variant = "event" >
90- < Heading level = "subtitle" className = "flex items-center gap-1 line !mb-0" > < PlaceIcon className = "mt-0.5" sx = { { fontSize : 22 } } /> Salón de actos del Edificio C de la ETSIT</ Heading >
91- </ Mybadge >
92- </ div >
93- < Divider />
94- < Text
95- type = "p"
96- className = "mb-1"
97- > La primera conexión a internet en España fue realizada en 1985 desde la Escuela Técnica Superior de Ingenieros de Telecomunicación (ETSIT) de la Universidad Politécnica de Madrid (UPM). El envío de un email de prueba por una red TCP/IP conectada al servicio de correo electrónico de internet a través de EUnet, cuya transcendencia histórica ignoraban sus propios protagonistas, marcó el comienzo de la expansión en nuestro país de la que acabaría siendo en poco tiempo la red de redes. El acto para conmemorar este hito incluirá la participación por videoconferencia de los estadounidenses Vinton Cerf y Robert Kahn, considerados los padres de internet.</ Text >
98- < div className = "grid grid-cols-[3rem_1fr] gap-x-4 mt-8" >
99- < Text type = "p" className = "mb-1" >
100- 12:30
101- </ Text >
102- < Text type = "p" className = "mb-1" >
103- Apertura institucional presidida por el rector de la UPM, Óscar
104- García.
105- </ Text >
106- < Text type = "p" className = "mb-1" >
107- 12:45
108- </ Text >
109- < Text type = "p" className = "mb-1" >
110- Charla del profesor emérito Juan Quemada sobre los primeros pasos en
111- el despliegue de internet en España.
112- </ Text >
113- < Text type = "p" className = "mb-1" >
114- 13:10
115- </ Text >
116- < Text type = "p" className = "mb-1" >
117- Diálogo por videoconferencia con Vinton Cerf y Robert Kahn, padres
118- de internet, moderado por Juan Quemada.
119- </ Text >
120- < Text type = "p" className = "mb-1" >
121- 13:45
122- </ Text >
123- < Text type = "p" className = "mb-1" >
124- Mesa redonda con pioneros españoles de internet moderada por el
125- profesor emérito Juan Riera.
126- </ Text >
127- < Text type = "small" className = "mb-1 col-start-2 pl-4 text-sm" >
128- José Antonio Mañas, socio fundador de Goya Servicios Telemáticos.
129- </ Text >
130- < Text type = "small" className = "mb-1 col-start-2 pl-4 text-sm" >
131- José Barberá, exdirector de RedIRIS.
132- </ Text >
133- < Text type = "small" className = "mb-1 col-start-2 pl-4 text-sm" >
134- Víctor Castelo, exdirector de RedIRIS.
135- </ Text >
136- < Text type = "small" className = "mb-1 col-start-2 pl-4 text-sm" >
137- Isidoro Padilla, director de Servicios en Infovía (Telefónica).
138- </ Text >
139- < Text type = "p" className = "mb-1" >
140- 14:20
141- </ Text >
142- < Text type = "p" className = "mb-1" >
143- Inauguración de la sección sobre la historia de internet en España
144- en el Museo de Telecomunicación de la ETSIT-UPM.
145- </ Text >
146- < Text type = "p" className = "mb-1" >
147- 14:30
148- </ Text >
149- < Text type = "p" className = "mb-1" >
150- Cóctel.
151- </ Text >
152- </ div >
153-
154- < div className = "flex gap-4 mt-8" >
155- < a
156- href = "https://eventos.upm.es/143851/detail/40o-aniversario-de-internet-en-espana.html"
157- target = "_blank"
158- >
159- < Button
160- variant = "outline"
161- className = "mb-8 gap-1 pb-2.5 flex items-center"
162- >
163- Inscripciones
164- < ArrowForwardIcon className = "h-6" />
165- </ Button >
166- </ a >
167- < a
168- href = "/assets/documents/Articulo_FHT.pdf"
169- download = "Articulo_FHT.pdf"
170- >
171- < Button
172- variant = "outline"
173- className = "mb-8 gap-1 pb-2.5 flex items-center"
174- >
175- Descargar artículo
176- < FileDownloadOutlined className = "h-6" />
177- </ Button >
178- </ a >
179- </ div >
180- { /* <Divider size="md"></Divider> */ }
181- < Divider size = "xxl" className = "hidden md:flex" > </ Divider >
182- </ section >
183-
18477 < section className = "padding_group_description bg-background-200" >
18578 < Divider size = "xl" className = "hidden md:flex" id = "section2" > </ Divider >
18679
@@ -191,19 +84,19 @@ export default function Page() {
19184 < Divider size = "xs" className = "flex md:hidden" > </ Divider >
19285 < div className = "statisticsContainer" >
19386 < div className = "statisticItemContainer" >
194- < h1 className = "numbersFront" > +400</ h1 >
87+ < p className = "numbersFront" > +400</ p >
19588 < p className = "unitFront" > { t ( "front.statistics.papers" ) } </ p >
19689 </ div >
19790 < div className = "statisticItemContainer" >
198- < h1 className = "numbersFront" > +6K</ h1 >
91+ < p className = "numbersFront" > +6K</ p >
19992 < p className = "unitFront" > { t ( "front.statistics.citations" ) } </ p >
20093 </ div >
20194 < div className = "statisticItemContainer" >
202- < h1 className = "numbersFront" > +150</ h1 >
95+ < p className = "numbersFront" > +150</ p >
20396 < p className = "unitFront" > { t ( "front.statistics.projects" ) } </ p >
20497 </ div >
20598 < div className = "statisticItemContainer" >
206- < h1 className = "numbersFront" > 45</ h1 >
99+ < p className = "numbersFront" > 45</ p >
207100 < p className = "unitFront" > H-Index</ p >
208101 </ div >
209102 </ div >
@@ -262,6 +155,63 @@ export default function Page() {
262155
263156 < Divider size = "md" > </ Divider >
264157 </ section >
158+
159+ < section className = "newsArchive padding_group_description bg-background-550" >
160+
161+ < Heading level = "h3" className = "mt-3" > { t ( "newsEvents.title" ) } </ Heading >
162+ < div className = "flex flex-col sm:grid sm:grid-cols-2 lg:grid-cols-3 4xl:grid-cols-4 gap-3" >
163+
164+ { newsEvents . map (
165+ (
166+ {
167+ className,
168+ title_es,
169+ title_en,
170+ description_en,
171+ description_es,
172+ date,
173+ time,
174+ location,
175+ category,
176+ route,
177+ keywords_en,
178+ keywords_es,
179+ img,
180+ type,
181+
182+ } ,
183+ key
184+ ) => {
185+ return (
186+ < NewsEventsCard
187+ type = "compact"
188+ className = { className }
189+ key = { key }
190+ date = { date }
191+ time = { time }
192+ category = { category }
193+ title_en = { title_en }
194+ title_es = { title_es }
195+ description_en = { description_en }
196+ description_es = { description_es }
197+ location = { location }
198+ route = { route }
199+ keywords_en = { keywords_en }
200+ keywords_es = { keywords_es }
201+ img = { img }
202+
203+ > </ NewsEventsCard >
204+ ) ;
205+ }
206+ ) }
207+ </ div >
208+ < Link href = "/newsEvents" className = "flex justify-end" >
209+ < Button variant = "link" className = "mt-4" >
210+ { t ( "newsEvents.button" ) } { " " }
211+ < ArrowForwardIcon className = "mt-0.5" sx = { { fontSize : 22 } } />
212+ </ Button >
213+ </ Link >
214+ </ section >
265215 </ main >
266216 ) ;
267217}
0 commit comments