This repository contains the website for the Brain and Artificial Intelligence Research Laboratory at the University of Texas at Arlington (BRAINAI@UTA), led by Dr. Xi Zhu.
The BRAINAI@UTA website is a clean, modern, and responsive static website built with HTML, CSS, and minimal JavaScript. It is designed to be easily deployable on GitHub Pages and maintainable by lab members with minimal technical expertise.
The website consists of the following pages:
- Home (
index.html): Landing page with lab overview and latest news - About (
about.html): Detailed information about the lab's mission and research focus - Team (
team.html): Profiles of lab members including faculty, postdocs, and students - Publications (
publications.html): List of research papers organized by year and topic - Projects (
projects.html): Ongoing research projects and tools developed by the lab - Contact (
contact.html): Contact information, form, and opportunities to join the lab
The website doesn't require any build tools or special software to run. You'll only need:
- A text editor (VS Code, Sublime, etc.)
- A modern web browser
- Git (for version control and deployment)
To work on the website locally:
-
Clone this repository to your local machine:
git clone https://github.com/yourusername/brainai-website.git cd brainai-website -
Open
index.htmlin your web browser to view the site. -
Make changes to the HTML, CSS, or JavaScript files as needed.
-
Refresh your browser to see the changes.
-
Create a GitHub repository for the website (e.g.,
brainai-website). -
Push your local repository to GitHub:
git remote add origin https://github.com/yourusername/brainai-website.git git branch -M main git push -u origin main -
In your GitHub repository, go to "Settings" > "Pages".
-
Under "Source", select "main" branch and save.
-
Your site will be published at
https://yourusername.github.io/brainai-website/.
If you have a custom domain for the lab (e.g., brainai.uta.edu):
-
Add a file named
CNAMEto the root of your repository with your domain name:brainai.uta.edu -
Configure your DNS provider:
- Add an
Arecord pointing to GitHub Pages IP addresses:185.199.108.153 185.199.109.153 185.199.110.153 185.199.111.153 - Alternatively, add a
CNAMErecord from your subdomain (e.g.,www) toyourusername.github.io.
- Add an
-
In your GitHub repository settings, add your custom domain and enable HTTPS.
-
Open
team.htmlin your text editor. -
Find the appropriate section (Faculty, Postdocs, Graduate Students, etc.).
-
Copy an existing team member card and update the information:
<div class="team-member"> <div class="member-photo"> <img src="images/new-member.jpg" alt="New Member Name"> </div> <h3>New Member Name</h3> <p class="member-title">Position Title</p> <p class="member-bio"> Brief bio and research interests. </p> <div class="member-links"> <a href="mailto:email@example.com"><i class="fas fa-envelope"></i> Email</a> </div> </div>
-
Add the member's photo to the
imagesfolder.
-
Open
publications.htmlin your text editor. -
Find the appropriate year section or create a new one if needed.
-
Add a new publication item:
<div class="publication-item" data-year="2023" data-topic="topic1 topic2"> <div class="publication-meta"> <span class="publication-date">Month 2023</span> <span class="publication-journal">Journal Name</span> </div> <h3>Publication Title</h3> <p class="publication-authors">Author 1, Author 2, <strong>Zhu X</strong>, Author 3</p> <p class="publication-abstract"> Publication abstract or summary. </p> <div class="publication-links"> <a href="#" target="_blank" class="doi-link"><i class="fas fa-external-link-alt"></i> DOI: 10.xxxx/xxxxx</a> <a href="#" class="pdf-link"><i class="fas fa-file-pdf"></i> PDF</a> </div> </div>
-
Open
projects.htmlin your text editor. -
In the
project-gridsection, add a new project card:<div class="project-card"> <div class="project-header"> <div class="project-icon"> <i class="fas fa-icon-name"></i> </div> <h3>Project Title</h3> </div> <div class="project-content"> <p> Project description. </p> <h4>Key Research Questions:</h4> <ul> <li>Research question 1</li> <li>Research question 2</li> </ul> <div class="project-links"> <a href="#" class="btn secondary-btn">Learn More</a> <a href="project-materials/document.pdf" class="pdf-link"><i class="fas fa-file-pdf"></i> Project Brief</a> </div> </div> </div>
-
Open
contact.htmlin your text editor. -
Update the relevant information in the contact details section.
-
If using the contact form with Formspree, replace
yourformidin the form action with your actual Formspree form ID:<form id="contact-form" class="contact-form" action="https://formspree.io/f/yourformid" method="POST">
The website uses CSS variables for consistent styling. To change the color scheme:
-
Open
css/styles.css. -
Modify the variables in the
:rootselector::root { --primary-color: #0064b1; /* UTA blue */ --secondary-color: #ff5a00; /* UTA orange */ --accent-color: #5c068c; /* Purple accent */ /* Other variables */ }
To add Google Analytics tracking:
-
Get your Google Analytics tracking ID.
-
Add the Google Analytics tracking code to the
<head>section of each HTML file:<!-- Google Analytics --> <script async src="https://www.googletagmanager.com/gtag/js?id=UA-XXXXXXXX-X"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'UA-XXXXXXXX-X'); </script>
- Images not displaying: Ensure image paths are correct and the files exist in the specified folders.
- Styling issues: Check browser developer tools for CSS errors.
- Form submission errors: Verify your Formspree setup is correct and you're using a valid form ID.
This website template is licensed under the MIT License - see the LICENSE file for details.
- Font Awesome for icons
- Google Fonts for typography
- Formspree for contact form processing