This is the Next.js migration of the RENLAB Jekyll website.
- Node.js 18+ and npm/yarn
cd nextjs
npm installRun the development server:
npm run devOpen http://localhost:3000 with your browser to see the result.
npm run buildThis will create an optimized production build in the out/ directory (static export).
- ✅ Next.js project setup
- ✅ TypeScript configuration
- ✅ Data files converted (navigation, labmembers, alumni, socialmedia)
- ✅ Core components (Navigation, Masthead, Footer, Layout)
- ✅ Home page
- ✅ Team page
- ⏳ Publications pages (in progress)
- ⏳ Blog/News pages (in progress)
- ⏳ Markdown processing for posts
- ⏳ Styles migration
- ⏳ Dynamic routes for publications and posts
nextjs/
├── app/ # Next.js 13+ App Router pages
├── components/ # React components
├── data/ # TypeScript data files (converted from YAML)
├── lib/ # Utility functions and config
├── styles/ # Global styles
├── types/ # TypeScript type definitions
└── public/ # Static assets (images, etc.)
- This is a static export setup (
output: 'export') to match Jekyll's behavior - Images should be copied to
public/images/directory - CSS from Jekyll build should be copied to
public/assets/css/initially - JavaScript from Jekyll should be copied to
public/assets/js/
- Copy static assets (images, CSS, JS) from Jekyll
_site/topublic/ - Set up markdown processing for posts and publications
- Create dynamic routes for publications and blog posts
- Migrate remaining pages (research, contact, download, etc.)
- Convert SCSS files to CSS modules or continue using global SCSS
- Test and refine