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() {
|
render() {
|
||||||
const { props } = this;
|
const { props } = this;
|
||||||
const contact = props.contacts?.['/~/default']?.[window.ship];
|
|
||||||
const sigilColor = contact?.color
|
|
||||||
? `#${uxToHex(contact.color)}`
|
|
||||||
: props.dark
|
|
||||||
? '#FFFFFF'
|
|
||||||
: '#000000';
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
@ -58,15 +52,6 @@ export default class LaunchApp extends React.Component {
|
|||||||
</Row>
|
</Row>
|
||||||
</Box>
|
</Box>
|
||||||
</Tile>
|
</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
|
||||||
tiles={props.launch.tiles}
|
tiles={props.launch.tiles}
|
||||||
tileOrdering={props.launch.tileOrdering}
|
tileOrdering={props.launch.tileOrdering}
|
||||||
|
Loading…
Reference in New Issue
Block a user