Skip to content

Commit 888a5c9

Browse files
authored
Merge pull request #1 from Unity-Lab-AI/feature/react2html5
Added mills work to get finished
2 parents 3bca25c + e079d00 commit 888a5c9

File tree

4 files changed

+83
-0
lines changed

4 files changed

+83
-0
lines changed

MillsWork/Footer.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import React from 'react';
2+
3+
const Footer = () => (
4+
<footer className="text-center text-light bg-dark py-4">
5+
<p>&copy; 2024 Unity AI Lab. All rights reserved.</p>
6+
<a href="/privacy" className="text-light">Privacy Policy</a>
7+
</footer>
8+
);
9+
10+
export default Footer;

MillsWork/Gallery.js

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
import React from 'react';
2+
3+
const Gallery = () => (
4+
<div className="container my-5">
5+
<h2 className="text-light">Gallery</h2>
6+
<div className="row">
7+
{Array.from({ length: 6 }).map((_, index) => (
8+
<div className="col-md-4 mb-4" key={index}>
9+
<div className="card bg-dark text-light">
10+
<img src={`https://via.placeholder.com/300?text=Image+${index + 1}`} alt={`Placeholder ${index + 1}`} className="card-img-top" />
11+
<div className="card-body">
12+
<h5 className="card-title">Placeholder {index + 1}</h5>
13+
<p className="card-text">Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
14+
<a href="#" className="btn btn-outline-light">View</a>
15+
</div>
16+
</div>
17+
</div>
18+
))}
19+
</div>
20+
</div>
21+
);
22+
23+
export default Gallery;

MillsWork/Hero.js

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
import React from 'react';
2+
import './styles.css';
3+
4+
const Hero = () => (
5+
<div
6+
className="hero"
7+
style={{
8+
backgroundImage: 'url("https://via.placeholder.com/1920x400")',
9+
}}
10+
>
11+
<div className="hero-overlay"></div>
12+
<div className="hero-content">
13+
<h1>Welcome to Unity AI Lab</h1>
14+
<p>Exploring the boundaries of creativity and intelligence.</p>
15+
<a className="btn btn-primary" href="/learn-more">
16+
Learn More
17+
</a>
18+
</div>
19+
</div>
20+
);
21+
22+
export default Hero;

MillsWork/Navbar.js

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
import React from 'react';
2+
import { Link } from 'react-router-dom';
3+
4+
const Navbar = () => (
5+
<nav className="navbar navbar-expand-lg navbar-dark bg-dark">
6+
<div className="container">
7+
<a className="navbar-brand" href="/">Unity AI Lab</a>
8+
<button className="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav">
9+
<span className="navbar-toggler-icon"></span>
10+
</button>
11+
<div className="collapse navbar-collapse" id="navbarNav">
12+
<ul className="navbar-nav ms-auto">
13+
<li className="nav-item">
14+
<Link className="nav-link" to="/">Home</Link>
15+
</li>
16+
<li className="nav-item">
17+
<Link className="nav-link" to="/gallery">Gallery</Link>
18+
</li>
19+
<li className="nav-item">
20+
<Link className="nav-link" to="/contact">Contact</Link>
21+
</li>
22+
</ul>
23+
</div>
24+
</div>
25+
</nav>
26+
);
27+
28+
export default Navbar;

0 commit comments

Comments
 (0)