|
| 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