-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
19 changed files
with
64 additions
and
104 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
html, | ||
body { | ||
font-family: 'Space Grotesk', sans-serif; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
.card { | ||
width: 26rem; | ||
margin: 1rem; | ||
padding: 1rem; | ||
border: 1px solid black; | ||
border-radius: 0.5rem; | ||
} | ||
|
||
.card-top { | ||
padding-top: 1rem; | ||
} | ||
|
||
.card-btns { | ||
width: 0.5rem; | ||
display: inline-block; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
.footer { | ||
background: #f0f0f0; | ||
padding: 2rem; | ||
text-align: center; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
.header { | ||
background: #091a23; | ||
display: flex; | ||
justify-content: space-between; | ||
align-items: center; | ||
padding: 2.25rem; | ||
} | ||
|
||
.header-logo { | ||
height: 2rem; | ||
} | ||
|
||
.header-icon-link { | ||
height: 1.5rem; | ||
width: 1.5rem; | ||
margin-right: 1rem; | ||
} | ||
|
||
.header-cta { | ||
background: #dcff1e; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,85 +1,33 @@ | ||
import React, { useState } from 'react'; | ||
import { Navbar, Container, NavDropdown, Nav } from 'react-bootstrap'; | ||
import { BASE_URL } from "../config"; | ||
import { useNavigate } from 'react-router-dom'; | ||
|
||
interface Props { | ||
} | ||
import '../styles/Header.css'; | ||
|
||
|
||
/* eslint-disable jsx-a11y/anchor-is-valid */ | ||
export const Header = (props: Props) => { | ||
const [searchText, setText] = useState(""); | ||
const Navigate = useNavigate(); | ||
|
||
// This function is called when the input changes | ||
// const inputHandler = (event: React.ChangeEvent<HTMLInputElement>) => { | ||
// const enteredText = event.target.value; | ||
// setText(enteredText); | ||
// }; | ||
|
||
export const Header = () => { | ||
return ( | ||
<header> | ||
<div style={{ background: "#091a23", display: "flex", justifyContent: "space-between", alignItems: "center", padding: "25px" }}> | ||
<div className="header"> | ||
<img | ||
src={BASE_URL + `/data/redis-logo.png`} | ||
alt="Redis Logo" | ||
style={{ | ||
height: '2rem', | ||
}}> | ||
className="header-logo"> | ||
</img> | ||
<div> | ||
<a href='https://x.com/Redisinc'> | ||
<img | ||
src={"x-logo.svg"} | ||
style={{ height: "1.5rem", width: "1.5rem", marginRight: "1rem" }} | ||
className="header-icon-link" | ||
></img> | ||
</a> | ||
<a href='https://github.com/redis-developer/redis-arXiv-search'> | ||
<img | ||
src={"github-mark-white.svg"} | ||
style={{ height: "1.5rem", width: "1.5rem", marginRight: "1rem" }} | ||
className="header-icon-link" | ||
></img> | ||
</a> | ||
<a className="btn" style={{ background: "#dcff1e" }}>Talk with us!</a> | ||
<a className="btn header-cta">Talk with us!</a> | ||
</div> | ||
</div> | ||
|
||
{/* <Navbar expand="lg" bg="dark" variant="dark" style={{ padding: '25px' }} > | ||
<Container fluid> | ||
<Navbar.Brand style={{ marginRight: "-30rem" }} href="#"> | ||
</Navbar.Brand> | ||
<Navbar.Toggle aria-controls="navbarScroll" /> | ||
<Navbar.Collapse id="navbarScroll" style={{top: "5px"}}> | ||
<Nav | ||
className="me-auto my-2 my-lg-0" | ||
style={{ maxHeight: '175px'}} | ||
navbarScroll | ||
> | ||
<NavDropdown title="About" id="navbarScrollingDropdown"> | ||
<NavDropdown.Item href="https://github.com/RedisVentures/redis-arXiv-search">Code</NavDropdown.Item> | ||
<NavDropdown.Item href="https://datasciencedojo.com/blog/ai-powered-document-search/">Blog</NavDropdown.Item> | ||
<NavDropdown.Item href="https://github.com/RedisVentures/redis-ai-resources">Redis AI Resources List</NavDropdown.Item> | ||
<NavDropdown.Item href="https://redis.com/vss-meeting/" target="_blank">Talk With Us</NavDropdown.Item> | ||
<NavDropdown.Divider /> | ||
<NavDropdown.Item href="https://redis.io/docs/interact/search-and-query/advanced-concepts/vectors/"> | ||
Vector Search Docs | ||
</NavDropdown.Item> | ||
</NavDropdown> | ||
</Nav> | ||
<Nav> | ||
<Nav.Link className="btn btn-primary m-2" href="https://redis.com/vss-meeting/" target="_blank"> | ||
Talk With Us! | ||
</Nav.Link> | ||
</Nav> | ||
</Navbar.Collapse> | ||
<Nav> | ||
<Nav.Link href="https://redis.com/vss-meeting/" target="_blank"> | ||
Talk With Us! | ||
</Nav.Link> | ||
</Nav> | ||
</Container> | ||
</Navbar> */} | ||
</header> | ||
); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters