Leave copy + root route copy

Returning underline to buttons
This commit is contained in:
Matilde Park 2019-08-21 01:03:24 -04:00
parent 768c07a3f6
commit 632359df7b
4 changed files with 11 additions and 8 deletions

File diff suppressed because one or more lines are too long

View File

@ -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';
}

View File

@ -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>

View File

@ -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";
}