mirror of
https://github.com/urbit/shrub.git
synced 2024-12-25 21:12:56 +03:00
launch: remove sigil tile
This commit is contained in:
parent
e279b08049
commit
47dc4cd889
@ -20,12 +20,6 @@ export default class LaunchApp extends React.Component {
|
||||
|
||||
render() {
|
||||
const { props } = this;
|
||||
const contact = props.contacts?.['/~/default']?.[window.ship];
|
||||
const sigilColor = contact?.color
|
||||
? `#${uxToHex(contact.color)}`
|
||||
: props.dark
|
||||
? '#FFFFFF'
|
||||
: '#000000';
|
||||
|
||||
return (
|
||||
<>
|
||||
@ -58,15 +52,6 @@ export default class LaunchApp extends React.Component {
|
||||
</Row>
|
||||
</Box>
|
||||
</Tile>
|
||||
<Tile
|
||||
borderColor={adjustHex(sigilColor, -40)}
|
||||
bg={sigilColor}
|
||||
to="/~profile"
|
||||
>
|
||||
<Center height="100%">
|
||||
<Sigil ship={`~${window.ship}`} size={80} color={sigilColor} />
|
||||
</Center>
|
||||
</Tile>
|
||||
<Tiles
|
||||
tiles={props.launch.tiles}
|
||||
tileOrdering={props.launch.tileOrdering}
|
||||
|
Loading…
Reference in New Issue
Block a user