A modern, professional website for an undergraduate research laboratory, featuring smooth animations, responsive design, and GitHub Pages compatibility.
- Modern Design: Clean, professional aesthetic with a focus on minimalism
- Smooth Animations: Eye-catching scroll animations, fade-ins, and hover effects
- Fully Responsive: Optimized for desktop, tablet, and mobile devices
- Multi-Page Structure: Separate pages for Home, About, Research, Team, Publications, and Contact
- GitHub Pages Ready: Easily deployable to GitHub Pages
- SEO Optimized: Proper meta tags and semantic HTML structure
- Accessible: WCAG compliant with proper ARIA labels
- Performance Optimized: Fast loading with minimal dependencies
abrollab/
βββ index.html # Home page with hero section and overview
βββ about.html # Mission, vision, values, and history
βββ research.html # Research areas and current projects
βββ team.html # Team members, collaborators, and alumni
βββ publications.html # Published research with filtering
βββ contact.html # Contact information and form
βββ css/ # Stylesheets directory
β βββ styles.css # All styles and animations
βββ js/ # JavaScript directory
β βββ script.js # Interactive features and animations
βββ images/ # Images and assets directory
β βββ team/ # Team member photos
β βββ research/ # Research project images
β βββ README.md # Image guidelines
βββ docs/ # Documentation directory
β βββ QUICKSTART.md # 15-minute setup guide
β βββ DEPLOYMENT.md # Deployment checklist
β βββ CUSTOMIZATION_TEMPLATE.md # Content planning
β βββ PROJECT_SUMMARY.md # Project overview
β βββ CUSTOMIZATION_CHEATSHEET.css # Quick reference
βββ README.md # This file (main documentation)
βββ LICENSE # MIT License
βββ .gitignore # Git ignore rules
-
Clone or download this repository
cd /Users/erikserrano/Development/websites/abrollab -
Open in a browser
- Simply open
index.htmlin your web browser - Or use a local server (recommended):
# Python 3 python -m http.server 8000 # Python 2 python -m SimpleHTTPServer 8000 # Node.js (if you have http-server installed) npx http-server
- Simply open
-
View the website
- Navigate to
http://localhost:8000in your browser
- Navigate to
-
Create a GitHub repository
git init git add . git commit -m "Initial commit: Abrol Lab website"
-
Push to GitHub
git remote add origin https://github.com/YOUR-USERNAME/abrollab.git git branch -M main git push -u origin main
-
Enable GitHub Pages
- Go to your repository on GitHub
- Navigate to Settings β Pages
- Under "Source", select main branch
- Click Save
- Your site will be available at:
https://YOUR-USERNAME.github.io/abrollab/
-
Create and push to gh-pages branch
git checkout -b gh-pages git push origin gh-pages
-
Configure GitHub Pages
- In repository settings, select gh-pages as the source branch
- Your site will be published automatically
- Open GitHub Desktop
- Add the repository: File β Add Local Repository
- Commit all changes with a descriptive message
- Click Publish repository
- Go to GitHub.com and enable Pages in repository settings
Update the following in all HTML files:
- Lab Name: Replace "Abrol Lab" with your lab's name
- University Info: Update university name and contact details in footer
- Field of Study: Replace
[Your Field]placeholders with your specific field
Edit the CSS variables in styles.css:
:root {
--primary-color: #2563eb; /* Main brand color */
--primary-dark: #1e40af; /* Darker shade */
--secondary-color: #64748b; /* Secondary elements */
--accent-color: #0ea5e9; /* Accent highlights */
}-
Team Photos
- Add photos to
images/team/directory - Update team member cards in
team.html:
<div class="team-image"> <img src="images/team/member-name.jpg" alt="Member Name"> </div>
- Add photos to
-
Research Images
- Add project images to
images/research/ - Update project cards in
research.html
- Add project images to
-
Favicon
- Create a favicon (16x16 or 32x32 pixels)
- Save as
images/favicon.ico - Add to all HTML files in
<head>:
<link rel="icon" type="image/x-icon" href="images/favicon.ico">
Home Page (index.html)
- Update hero title and subtitle
- Modify research highlights
- Update statistics in stats section
About Page (about.html)
- Customize mission and vision statements
- Update core values
- Modify timeline with your lab's history
Research Page (research.html)
- Add your research areas
- Update current projects
- List collaborations
Team Page (team.html)
- Add PI information and bio
- List graduate students
- Add undergraduate researchers
- Update alumni section
Publications Page (publications.html)
- Add your publications by year
- Update citation counts
- Add DOI links
Contact Page (contact.html)
- Update contact information
- Configure form action (see Form Setup below)
- Add office hours and location
The contact form needs a backend service. Here are options:
Option 1: FormSpree (Easiest)
<form action="https://formspree.io/f/YOUR_FORM_ID" method="POST">Option 2: EmailJS
- Sign up at emailjs.com
- Follow their JavaScript integration guide
Option 3: Netlify Forms
- Add
netlifyattribute to form tag - Deploy on Netlify
Option 4: Google Forms
- Create a Google Form
- Embed or link to it
Replace the map placeholder in contact.html:
<div class="map-container">
<iframe
src="https://www.google.com/maps/embed?pb=YOUR_EMBED_CODE"
width="100%"
height="450"
style="border:0;"
allowfullscreen=""
loading="lazy">
</iframe>
</div>- Fade-in animations: Elements fade in as you scroll
- Hover effects: Cards lift and tilt on mouse hover
- Parallax scrolling: Hero section moves at different speed
- Counter animations: Stats count up when visible
- Smooth transitions: All interactions are smooth and polished
- Desktop (1200px+): Full layout with all features
- Tablet (768px-1199px): Adjusted grid layouts
- Mobile (< 768px): Single column, hamburger menu
- Lazy loading: Images load as needed
- Minimal dependencies: No external frameworks
- Optimized CSS: Efficient selectors and animations
- Debounced events: Smooth scroll performance
- β Chrome (latest)
- β Firefox (latest)
- β Safari (latest)
- β Edge (latest)
β οΈ Internet Explorer 11 (limited support)
The website is fully responsive with:
- Mobile-friendly navigation menu
- Touch-optimized interactions
- Optimized images for smaller screens
- Fast loading on mobile networks
- Clear browser cache
- Wait 5-10 minutes for GitHub to rebuild
- Check repository settings for correct branch
- Check browser console for JavaScript errors
- Ensure
script.jsis loading correctly - Verify IntersectionObserver support (or use polyfill)
- Verify form action URL is correct
- Check FormSpree or EmailJS configuration
- Test with a simple form first
- Verify image paths are correct
- Check file extensions match (case-sensitive on some servers)
- Ensure images are committed to repository
-
Regular Updates
- Update team members each semester
- Add new publications as they're released
- Keep research projects current
-
Content Refresh
- Review and update statistics annually
- Refresh research highlights
- Update alumni career information
-
Performance Monitoring
- Use Google PageSpeed Insights
- Optimize images before uploading
- Monitor loading times
To contribute improvements:
- Fork the repository
- Create a feature branch (
git checkout -b feature/improvement) - Commit changes (
git commit -m 'Add improvement') - Push to branch (
git push origin feature/improvement) - Open a Pull Request
This project is open source and available under the MIT License.
- Keep it updated: Regular updates keep visitors engaged
- High-quality images: Use professional photos of team and research
- Clear writing: Keep descriptions concise and accessible
- Mobile-first: Many visitors will view on mobile devices
- SEO optimization: Use descriptive titles and meta descriptions
- Analytics: Add Google Analytics to track visitors
- Accessibility: Ensure all images have alt text
If you're an undergraduate looking at this site:
- Browse the Research page to see active projects
- Check the Team page to learn about current members
- Read Publications to understand the lab's impact
- Use Contact page to express interest in joining
For questions or issues:
- Check the GitHub Issues page
- Review the documentation above
- Contact the lab via the Contact page
- Fonts: Google Fonts - Inter
- Icons: Inline SVG icons for performance
- Inspiration: Modern academic lab websites
Built with β€οΈ for undergraduate research labs
Last updated: October 2025