File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -70,10 +70,10 @@ export const BUBBLETEAVIZ_STATUS = 'Active';
7070
7171
7272export const MENU_ITEMS = [
73- { name : 'Industrial Collaborations' , route : '. /industrial-collabs' } ,
74- { name : 'SEiGS 2025' , route : '. /seigs25' } ,
75- { name : 'Projects & Tools' , route : '. /projects' } ,
76- { name : 'Knowledge Hub' , route : '. /knowledge-hub' } ,
77- { name : 'News' , route : '. /news' } ,
78- { name : 'Contact us' , route : '. /contacts' }
73+ { name : 'Industrial Collaborations' , route : '@app /industrial-collabs' } ,
74+ { name : 'SEiGS 2025' , route : '@app /seigs25' } ,
75+ { name : 'Projects & Tools' , route : '@app /projects' } ,
76+ { name : 'Knowledge Hub' , route : '@app /knowledge-hub' } ,
77+ { name : 'News' , route : '@app /news' } ,
78+ { name : 'Contact us' , route : '@app /contacts' }
7979] ;
Original file line number Diff line number Diff line change @@ -10,11 +10,9 @@ import { KevinContact } from '@/app/person-constants';
1010import { MENU_ITEMS as menuItems } from '../../constants' ;
1111
1212import ECSImage from '../../../public/knowledge-hub/ECS/ECS.jpg' ;
13+ import ECSHTML from '../../../public/knowledge-hub/ECS/paper.html' ;
1314
1415
15- // Prefix for where the assets live under /public
16- const SRC = '/knowledge-hub/ECS/paper.html' ;
17-
1816export default function Home ( ) {
1917 const iframeRef = useRef < HTMLIFrameElement | null > ( null ) ;
2018 // Auto-resize iframe height after it loads (same-origin, so allowed)
@@ -59,19 +57,21 @@ export default function Home() {
5957 alt = "Full-width image"
6058 style = { { width : 'auto' , height : 'auto' } }
6159 />
62- < a href = "https://doi.org/10.1016/j.simpat.2020.102243" > Vico: An entity-component-system based co-simulation framework</ a >
60+ < a href = "https://doi.org/10.1016/j.simpat.2020.102243" >
61+ Vico: An entity-component-system based co-simulation framework
62+ </ a >
6363
64- < iframe
65- ref = { iframeRef }
66- src = { SRC }
67- title = "Paper"
68- style = { {
69- width : '100%' ,
70- height : '80vh' , // initial height; will auto-resize
71- border : 'none' ,
72- background : 'transparent' ,
73- } }
74- />
64+ < iframe
65+ ref = { iframeRef }
66+ src = { ECSHTML . src }
67+ title = "Paper"
68+ style = { {
69+ width : '100%' ,
70+ height : '80vh' , // initial height; will auto-resize
71+ border : 'none' ,
72+ background : 'transparent' ,
73+ } }
74+ />
7575
7676 { /* Contact Section */ }
7777 < div className = "border-t mt-4 pt-4" >
You can’t perform that action at this time.
0 commit comments