forked from aeharding/voyager
-
Notifications
You must be signed in to change notification settings - Fork 0
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
51 changed files
with
649 additions
and
176 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
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
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
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,48 @@ | ||
import styled from "@emotion/styled"; | ||
import { IonIcon } from "@ionic/react"; | ||
import { lockClosed } from "ionicons/icons"; | ||
|
||
const Container = styled.div` | ||
display: flex; | ||
align-items: center; | ||
gap: 16px; | ||
margin-top: 8px; | ||
padding-top: 8px; | ||
margin-bottom: -8px; | ||
border-top: 1px solid | ||
var( | ||
--ion-item-border-color, | ||
var(--ion-border-color, var(--ion-color-step-250, #c8c7cc)) | ||
); | ||
`; | ||
|
||
const LockIcon = styled(IonIcon)` | ||
font-size: 32px; | ||
margin-left: 8px; | ||
`; | ||
|
||
const Description = styled.div` | ||
font-size: 0.8725rem; | ||
font-weight: 500; | ||
color: var(--ion-color-medium); | ||
aside { | ||
font-size: 0.8125rem; | ||
font-weight: normal; | ||
opacity: 0.8; | ||
} | ||
`; | ||
|
||
export default function Locked() { | ||
return ( | ||
<Container> | ||
<LockIcon icon={lockClosed} color="success" /> | ||
<Description> | ||
<div>Post Locked</div> | ||
<aside>Moderators have turned off new comments.</aside> | ||
</Description> | ||
</Container> | ||
); | ||
} |
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
Oops, something went wrong.