Skip to content

Commit

Permalink
Merge pull request layer5io#5943 from Kneatrum/dev
Browse files Browse the repository at this point in the history
Add archived-project class for styling archived projects
  • Loading branch information
leecalcote authored Oct 1, 2024
2 parents dfc8170 + 7b1e731 commit 559577a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions src/sections/Community/Handbook/Handbook.style.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,12 @@ export const HandbookWrapper = styled.div`
transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.archived-project {
opacity: 0.3;
background-color: #808080;
// pointer-events: none;
}
.linkscol{
text-align: center;
width:8%;
Expand Down
2 changes: 1 addition & 1 deletion src/sections/Community/Handbook/repository.js
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ const Repository = () => {
const siteIconClasses = smpClass ? "site-icon inline smp-action" : "site-icon inline";
return (
<tbody key={project}>
<tr>
<tr className={accessRequired === "*archived" ? "archived-project" : ""}>
<td>
<img className={siteIconClasses} src={image} alt="project" />&nbsp;{project} </td>
<td>{language}</td>
Expand Down

0 comments on commit 559577a

Please sign in to comment.