|
import React from "react"; |
|
import { Box, Typography } from "@mui/material"; |
|
import OpenInNewIcon from "@mui/icons-material/OpenInNew"; |
|
|
|
const ExternalLinks = () => { |
|
return ( |
|
<Box |
|
sx={{ |
|
position: "fixed", |
|
top: 24, |
|
right: 24, |
|
display: "flex", |
|
gap: 2, |
|
alignItems: "center", |
|
zIndex: 1000, |
|
}} |
|
> |
|
<Typography |
|
variant="body2" |
|
sx={{ |
|
display: "flex", |
|
gap: 2, |
|
alignItems: "center", |
|
}} |
|
> |
|
<a |
|
href="https://github.com/huggingface/yourbench" |
|
target="_blank" |
|
rel="noopener noreferrer" |
|
style={{ textDecoration: "none", color: "inherit" }} |
|
> |
|
GitHub |
|
<OpenInNewIcon sx={{ fontSize: "0.75rem", ml: 0.5, opacity: 0.6 }} /> |
|
</a> |
|
<Typography component="span" sx={{ opacity: 0.5 }}> |
|
• |
|
</Typography> |
|
<a |
|
href="https://huggingface.co/datasets/sumuks/tempora" |
|
target="_blank" |
|
rel="noopener noreferrer" |
|
style={{ textDecoration: "none", color: "inherit" }} |
|
> |
|
Dataset |
|
<OpenInNewIcon sx={{ fontSize: "0.75rem", ml: 0.5, opacity: 0.6 }} /> |
|
</a> |
|
<Typography component="span" sx={{ opacity: 0.5 }}> |
|
• |
|
</Typography> |
|
<a |
|
href="https://github.com/huggingface/yourbench/tree/main/docs" |
|
target="_blank" |
|
rel="noopener noreferrer" |
|
style={{ textDecoration: "none", color: "inherit" }} |
|
> |
|
Documentation |
|
<OpenInNewIcon sx={{ fontSize: "0.75rem", ml: 0.5, opacity: 0.6 }} /> |
|
</a> |
|
</Typography> |
|
</Box> |
|
); |
|
}; |
|
|
|
export default ExternalLinks; |
|
|