Spaces:
Sleeping
Sleeping
Download frontend/src/components/Header.js from sepidnes/pythonic-rag-FastAPIReact: direct link, hf CLI and curl.
- Browser
- Download file 618 Bytes
-
https://huggingface.co/spaces/sepidnes/pythonic-rag-FastAPIReact/resolve/ea1eada68acec1665c011fa2ddadc0605209b640/frontend/src/components/Header.js
- Command line
-
hf download hf://spaces/sepidnes/pythonic-rag-FastAPIReact@ea1eada68acec1665c011fa2ddadc0605209b640/frontend/src/components/Header.js
-
curl -L -o Header.js https://huggingface.co/spaces/sepidnes/pythonic-rag-FastAPIReact/resolve/ea1eada68acec1665c011fa2ddadc0605209b640/frontend/src/components/Header.js
618 Bytes
| import React from 'react'; | |
| import { Typography, Box, Paper } from '@mui/material'; | |
| const Header = () => { | |
| return ( | |
| <Paper | |
| elevation={3} | |
| sx={{ | |
| p: 3, | |
| mb: 4, | |
| textAlign: 'center', | |
| background: 'linear-gradient(45deg, #1976d2 30%, #21CBF3 90%)', | |
| color: 'white' | |
| }} | |
| > | |
| <Typography variant="h4" component="h1" gutterBottom> | |
| RAG Question Answering System | |
| </Typography> | |
| <Typography variant="subtitle1"> | |
| Upload a document and ask questions about its content | |
| </Typography> | |
| </Paper> | |
| ); | |
| }; | |
| export default Header; |