Skip to content

Commit beac751

Browse files
authored
Merge pull request #65 from brainhack-vandy/hosts-section
added hosts logos
2 parents e8dbfe2 + 47c015f commit beac751

File tree

6 files changed

+91
-1
lines changed

6 files changed

+91
-1
lines changed

public/assets/neurdy_logo.png

10.3 KB
Loading
18 KB
Loading

public/assets/vandyhacks_logo.png

9.48 KB
Loading

src/components/Home/Home.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@ import { Container, Row, Col } from "react-bootstrap";
33
import Particle from "../Particle";
44
import Introduction from "./Introduction";
55
import Location from "./Location";
6-
import ProjectPitch from "./ProjectPitch";
6+
// import ProjectPitch from "./ProjectPitch";
77
import Type from "./Type";
8+
import Hosts from "./Hosts";
89
import SponsorSection from "./Sponsors";
910

1011
const Home = () => {
@@ -64,6 +65,7 @@ const Home = () => {
6465
</Container>
6566

6667
<Introduction />
68+
<Hosts />
6769
{/* <ProjectPitch /> */}
6870
<SponsorSection />
6971
<Location />

src/components/Home/Hosts.js

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
import React from "react";
2+
import { Container, Row, Col } from "react-bootstrap";
3+
import './home.css'
4+
5+
function Hosts() {
6+
return (
7+
<Container fluid className="hosts-section" id="hosts">
8+
<Container>
9+
<div className="d-flex justify-content-center">
10+
<Row className="align-items-center host-row">
11+
<Col className="text-end">
12+
<span className="host-text">Brought to you by</span>
13+
</Col>
14+
<Col xs="auto">
15+
<img
16+
src="/assets/neurdy_logo_color.png"
17+
alt="NEURDY Lab Logo"
18+
className="host-logo"
19+
/>
20+
</Col>
21+
<Col className="text-end">
22+
<span className="host-text">co-hosted with</span>
23+
</Col>
24+
<Col xs="auto">
25+
<img
26+
src="/assets/vandyhacks_logo.png"
27+
alt="VandyHacks Logo"
28+
className="host-logo"
29+
/>
30+
</Col>
31+
</Row>
32+
</div>
33+
</Container>
34+
</Container>
35+
);
36+
}
37+
38+
export default Hosts;

src/components/Home/home.css

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -388,6 +388,56 @@
388388
}
389389
}
390390

391+
/* ---------
392+
Hosts Section styles
393+
--------- */
394+
.hosts-section {
395+
padding: 4rem 0;
396+
background-color: rgba(98, 54, 134, 0.3);
397+
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
398+
}
399+
400+
.host-row {
401+
gap: 1.5rem;
402+
}
403+
404+
.host-text {
405+
color: white;
406+
font-size: 1.2em;
407+
white-space: nowrap;
408+
}
409+
410+
.host-logo {
411+
width: 220px;
412+
height: 120px;
413+
object-fit: contain;
414+
transition: transform 0.3s ease;
415+
}
416+
417+
.host-logo:hover {
418+
transform: translateY(-5px);
419+
}
420+
421+
@media (max-width: 767px) {
422+
.host-row {
423+
flex-direction: column;
424+
gap: 1rem;
425+
text-align: center;
426+
}
427+
428+
.host-text {
429+
font-size: 1.1em;
430+
}
431+
432+
.host-logo {
433+
width: 140px;
434+
height: 60px;
435+
}
436+
437+
.text-end {
438+
text-align: center !important;
439+
}
440+
}
391441

392442
/* ---------
393443
Sponsor Section styles

0 commit comments

Comments
 (0)