-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #575 from research-software-directory/461-pinned-p…
…rojects feat: pinned projects use icons instead of color
- Loading branch information
Showing
7 changed files
with
75 additions
and
90 deletions.
There are no files selected for viewing
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,29 @@ | ||
// SPDX-FileCopyrightText: 2022 Dusan Mijatovic (dv4all) | ||
// SPDX-FileCopyrightText: 2022 dv4all | ||
// | ||
// SPDX-License-Identifier: Apache-2.0 | ||
|
||
// import UpcomingIcon from '@mui/icons-material/Upcoming' | ||
// import WbSunnyOutlinedIcon from '@mui/icons-material/WbSunnyOutlined' | ||
// import StarsOutlinedIcon from '@mui/icons-material/StarsOutlined' | ||
// import StarsIcon from '@mui/icons-material/Stars' | ||
// import MilitaryTechIcon from '@mui/icons-material/MilitaryTech' | ||
// import FlareIcon from '@mui/icons-material/Flare' | ||
// import CampaignIcon from '@mui/icons-material/Campaign' | ||
import AutoAwesome from '@mui/icons-material/AutoAwesome' | ||
|
||
export default function FeaturedIcon(){ | ||
return ( | ||
<span | ||
title="Featured item" | ||
> | ||
<AutoAwesome | ||
sx={{ | ||
width: '3rem', | ||
height: '3rem', | ||
opacity: '0.9' | ||
}} | ||
/> | ||
</span> | ||
) | ||
} |
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 @@ | ||
// SPDX-FileCopyrightText: 2022 Dusan Mijatovic (dv4all) | ||
// SPDX-FileCopyrightText: 2022 dv4all | ||
// | ||
// SPDX-License-Identifier: Apache-2.0 | ||
|
||
import VisibilityOffIcon from '@mui/icons-material/VisibilityOff' | ||
|
||
export default function NotPublishedIcon(){ | ||
return ( | ||
<span | ||
title="Not published" | ||
> | ||
<VisibilityOffIcon | ||
sx={{ | ||
width: '2.5rem', | ||
height: '2.5rem', | ||
}} | ||
/> | ||
</span> | ||
) | ||
} |
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
Oops, something went wrong.