mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-11-28 11:40:11 +03:00
Leave copy + root route copy
Returning underline to buttons
This commit is contained in:
parent
768c07a3f6
commit
632359df7b
File diff suppressed because one or more lines are too long
@ -83,7 +83,7 @@ export class MemberScreen extends Component {
|
||||
);
|
||||
|
||||
|
||||
let inviteButtonClasses = "label-regular black btn-font pointer";
|
||||
let inviteButtonClasses = "label-regular black underline btn-font pointer";
|
||||
if (!this.state.error) {
|
||||
inviteButtonClasses = inviteButtonClasses + ' black';
|
||||
}
|
||||
|
@ -1,5 +1,5 @@
|
||||
import React, { Component } from 'react';
|
||||
import { BrowserRouter, Route } from "react-router-dom";
|
||||
import { BrowserRouter, Route, Link } from "react-router-dom";
|
||||
import classnames from 'classnames';
|
||||
import _ from 'lodash';
|
||||
|
||||
@ -107,10 +107,13 @@ export class Root extends Component {
|
||||
return (
|
||||
<Skeleton
|
||||
sidebar={renderChannelsSidebar(props)}>
|
||||
<div className="w-100 h-100 fr" style={{ flexGrow: 1 }}>
|
||||
<div className="dt w-100 h-100">
|
||||
<div className="dtc center v-mid w-100 h-100 bg-white">
|
||||
</div>
|
||||
<div className="h-100 w-100 overflow-x-hidden flex flex-column">
|
||||
<div className="pl3 pr3 pt2 pb3">
|
||||
<h2>Home</h2>
|
||||
<p className="body-regular-400 pt3">
|
||||
Select a chat from the sidebar
|
||||
or <Link to="/~chat/new">create a new one</Link>.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</Skeleton>
|
||||
|
@ -67,7 +67,7 @@ export class SettingsScreen extends Component {
|
||||
|
||||
if (state.host !== `~${window.ship}`) {
|
||||
titleText = "Leave Chat"
|
||||
descriptionText = "Leave this chat."
|
||||
descriptionText = "You will no longer have access to this chat."
|
||||
buttonText = "-> Leave";
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user