Skip to content

Commit 308a20c

Browse files
author
Bouwmeester, Kevin
committed
Attempt to add html of overleaf
1 parent 9c81a90 commit 308a20c

5 files changed

Lines changed: 471 additions & 0 deletions

File tree

app/constants.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ export const MENU_ITEMS = [
7373
{ name: 'Industrial Collaborations', route: './industrial-collabs' },
7474
{ name: 'SEiGS 2025', route: './seigs25' },
7575
{ name: 'Projects & Tools', route: './projects' },
76+
{ name: 'Knowledge Hub', route: './knowledge-hub' },
7677
{ name: 'News', route: './news' },
7778
{ name: 'Contact us', route: './contacts' }
7879
];

app/knowledge-hub/ECS/page.tsx

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
'use client';
2+
import Image from 'next/image';
3+
4+
import Navbar from '../../components/Navbar';
5+
import Footer from '../../components/Footer';
6+
import html from '@app/knowledge-hub/ECS/paper.html';
7+
import { KevinContact } from '@/app/person-constants';
8+
import ECSImage from '../../public/knowledge-hub/ECS.jpg'
9+
10+
// const menuItems = [
11+
// { name: 'SEiGS 2025', route: '../seigs25' },
12+
// { name: 'Industrial Projects', route: '../industrial-projects' },
13+
// { name: 'Academic Projects', route: '../projects' },
14+
// { name: 'Positions', route: '../openings' },
15+
// { name: 'Contact us', route: '../contacts' }
16+
// ];
17+
import { MENU_ITEMS as menuItems } from '../../constants';
18+
19+
export default function Home() {
20+
return (
21+
<div>
22+
<Navbar menuItems={menuItems} pageSelected="" />
23+
24+
<div className="flex flex-col items-center justify-center bg-gray-50 min-h-screen" style={{textAlign: 'justify'}}>
25+
<div className="max-w-5xl">
26+
<h1 className="text-3xl font-bold text-red-600 mb-4 pt-4">
27+
{'Entity-Component-System (ECS) Pattern'}
28+
</h1>
29+
<Image
30+
src={ECSImage.src} // Replace with your actual image URL
31+
width={0}
32+
height={0}
33+
alt="Full-width image"
34+
style={{ width: 'auto', height: 'auto' }}
35+
/>
36+
<a href="https://doi.org/10.1016/j.simpat.2020.102243"> Vico: An entity-component-system based co-simulation framework</a>
37+
38+
<object type="text/html" data={html} style={{ width: '100%', height: '800px', border: 'none' }}>
39+
Your browser does not support displaying this content.
40+
</object>
41+
42+
{/* Contact Section */}
43+
<div className="border-t mt-4 pt-4">
44+
<h2 className="text-3xl font-semibold mb-2">Contact</h2>
45+
<div className="flex flex-col flex-wrap gap-6">
46+
<KevinContact />
47+
</div>
48+
</div>
49+
</div>
50+
</div>
51+
<Footer />
52+
</div>
53+
);
54+
}

0 commit comments

Comments
 (0)