various: update copy

This commit is contained in:
Liam Fitzgerald 2021-09-24 14:12:11 +10:00
parent 88f20e2208
commit 2680e4512d
14 changed files with 43 additions and 50 deletions

View File

@ -1,6 +1,6 @@
:~
title+'Bitcoin'
info+'BTC wallet for Urbit. Testing'
info+'A Bitcoin Wallet that lets you send and receive Bitcoin directly to and from other Urbit users'
color+0xf9.8e40
glob-http+['https://bootstrap.urbit.org/glob-0v4.ghaim.of1as.9ucee.uj93f.a9nbs.glob' 0v4.ghaim.of1as.9ucee.uj93f.a9nbs]
image+'https://urbit.ewr1.vultrobjects.com/hastuc-dibtux/2021.8.24..02.57.38-bitcoin.svg'

View File

@ -1,5 +1,5 @@
:~ title+'Garden'
info+'An app launcher for Urbit. '
:~ title+'System'
info+'An app launcher for Urbit.'
color+0xee.5432
glob-http+['https://bootstrap.urbit.org/glob-0v2.dne76.9hibl.1o442.h6l11.cn7os.glob' 0v2.dne76.9hibl.1o442.h6l11.cn7os]
glob-http+['https://bootstrap.urbit.org/glob-0v7.1jqf3.5gao8.67i4k.64c49.i6kr8.glob' 0v7.1jqf3.5gao8.67i4k.64c49.i6kr8]

View File

@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Landscape Home</title>
<title>Urbit Home</title>
<meta name="theme-color" content="#ffffff" />
<link rel="icon" href="/src/assets/favicon.svg" sizes="any" type="image/svg+xml" />
<link rel="mask-icon" href="/src/assets/safari-pinned-tab.svg" color="#000000" />

View File

@ -915,6 +915,23 @@
"eslint-visitor-keys": "^2.0.0"
}
},
"@urbit/vite-plugin-urbit": {
"version": "0.2.0",
"resolved": "https://registry.npmjs.org/@urbit/vite-plugin-urbit/-/vite-plugin-urbit-0.2.0.tgz",
"integrity": "sha512-plYJnjdLw/KAIP8w7ER9lgBNKDSEVhI9Oka6s4rOZDOOudqjzpP5Fh7iFapaWtIDAZ6MKla/Cu+JZiw95jEDkg==",
"dev": true,
"requires": {
"vite-plugin-html-config": "^1.0.6"
},
"dependencies": {
"vite-plugin-html-config": {
"version": "1.0.6",
"resolved": "https://registry.npmjs.org/vite-plugin-html-config/-/vite-plugin-html-config-1.0.6.tgz",
"integrity": "sha512-cEC4AT96Bmq60wgDiR90zvIlArCZFoaHhO4DoCmvsN22I2Y5azFatGvH1lG3EStssDQExX9OuTmJN5CsD9/AWA==",
"dev": true
}
}
},
"@vitejs/plugin-react-refresh": {
"version": "1.3.6",
"resolved": "https://registry.npmjs.org/@vitejs/plugin-react-refresh/-/plugin-react-refresh-1.3.6.tgz",

View File

@ -51,6 +51,7 @@
"@types/react-router-dom": "^5.1.8",
"@typescript-eslint/eslint-plugin": "^4.26.1",
"@typescript-eslint/parser": "^4.26.1",
"@urbit/vite-plugin-urbit": "^0.3.0",
"@vitejs/plugin-react-refresh": "^1.3.1",
"autoprefixer": "^10.3.1",
"eslint": "^7.28.0",

View File

@ -6,17 +6,6 @@ export const Help = () => {
<div className="flex flex-col items-center px-4 py-8 md:px-8 md:py-16 space-y-8 md:space-y-16">
<img className="w-52 h-auto" src={helpAndSupport} alt="" />
<div className="h4 space-y-4 md:space-y-8">
<div>
<h2>User Help Docs</h2>
<a
className="text-blue-400"
href="mailto:support@tlon.io"
target="_blank"
rel="noreferrer"
>
tlon.io/help
</a>
</div>
<div>
<h2>For general help, ask the community</h2>
<a
@ -32,11 +21,11 @@ export const Help = () => {
<h2>For all other issues:</h2>
<a
className="text-blue-400"
href="mailto:support@tlon.io"
href="mailto:support@urbit.org"
target="_blank"
rel="noreferrer"
>
support@tlon.io
support@urbit.org
</a>
</div>
</div>

View File

@ -234,13 +234,13 @@ export const Leap = React.forwardRef(
!selection && 'sr-only'
)}
>
{selection || 'Search Landscape'}
{selection || 'Search'}
</label>
<input
id="leap"
type="text"
ref={inputRef}
placeholder={selection ? '' : 'Search Landscape'}
placeholder={selection ? '' : 'Search'}
className="flex-1 w-full h-full px-2 h4 text-base rounded-full bg-transparent outline-none"
value={rawInput}
onClick={toggleSearch}

View File

@ -24,7 +24,7 @@ function getHash(vat: Vat): string {
export const SystemMenu = ({ className, open, subMenuOpen, shouldDim }: SystemMenuProps) => {
const { push } = useHistory();
const [copied, setCopied] = useState(false);
const garden = useVat('garden');
const garden = useVat(window.desk);
const hash = garden ? getHash(garden) : null;
const isMobile = useMedia('(max-width: 639px)');
@ -116,12 +116,12 @@ export const SystemMenu = ({ className, open, subMenuOpen, shouldDim }: SystemMe
</DropdownMenu.Item>
<DropdownMenu.Item
as={Link}
to="/app/garden"
to={`/app/${window.desk}`}
className="flex items-center p-2 mb-2 space-x-2 focus:bg-blue-200 focus:outline-none rounded"
onSelect={handleDropdownLink()}
>
<span className="w-5 h-5 bg-gray-100 rounded-full" />
<span className="h4">About Landscape</span>
<span className="h4">About</span>
</DropdownMenu.Item>
{hash && (
<DropdownMenu.Item

View File

@ -8,21 +8,21 @@ import { getDarkColor } from '../../state/util';
const cards: OnboardingCardProps[] = [
{
title: 'Terminal',
body: "Install a web terminal to access your Urbit's command line",
body: "A web interface to your Urbit's command line (the dojo).",
button: 'Install',
color: '#9CA4B1',
href: '/leap/search/direct/apps/~zod/webterm'
},
{
title: 'Landscape',
body: 'Install Landscape, a suite of social software to communicate with other urbit users',
body: 'A suite of applications to communicate on Urbit',
button: 'Install',
color: '#D1DDD3',
href: '/leap/search/direct/apps/~zod/landscape'
},
{
title: 'Bitcoin',
body: 'Install a bitcoin wallet. You can send bitcoin to any btc address, or even another ship',
body: ' A Bitcoin Wallet that lets you send and receive Bitcoin directly to and from other Urbit users',
button: 'Install',
color: '#F6EBDB',
href: '/leap/search/direct/apps/~zod/bitcoin'
@ -91,10 +91,10 @@ export const OnboardingNotification = ({ unread }: OnboardingNotificationProps)
<header id="system-updates-blocked" className="relative space-y-2">
<div className="flex space-x-2">
<span className="inline-block w-6 h-6 bg-orange-500 rounded" />
<span className="font-semibold">Grid</span>
<span className="font-semibold">Home</span>
</div>
<div className="flex space-x-2">
<h2 id="runtime-lag">Hello there, welcome to Grid!</h2>
<h2 id="runtime-lag">Hello there, and welcome!</h2>
</div>
</header>
<div className="grid sm:grid-cols-2 md:grid-cols-3 gap-4">

View File

@ -55,7 +55,7 @@ export const BaseBlockedNotification = () => {
<header id="system-updates-blocked" className="relative -left-8 space-y-2">
<div className="flex space-x-2">
<span className="inline-block w-6 h-6 bg-orange-400 rounded-full" />
<span className="font-medium">Landscape</span>
<span className="font-medium">System</span>
</div>
<div className="flex space-x-2">
<Elbow className="w-6 h-6 text-gray-300" />

View File

@ -37,8 +37,8 @@ export const NotificationPrefs = () => {
disabled={doNotDisturb && !secure}
>
<p>
Block visual desktop notifications whenever Urbit software produces an in-Landscape
notification badge.
Block visual desktop notifications whenever Urbit software produces a notification
badge.
</p>
<p>
Turning this &quot;off&quot; will prompt your browser to ask if you&apos;d like to

View File

@ -35,7 +35,7 @@ export const mockTreaties: Treaties = {
'~zod/garden': {
ship: '~zod',
desk: 'garden',
title: 'Landscape',
title: 'System',
info: 'Your Urbit Home',
href: makeHref('garden'),
color: '#E2C050',

View File

@ -2,13 +2,9 @@ import { loadEnv, defineConfig } from 'vite';
import analyze from 'rollup-plugin-analyzer';
import { visualizer } from 'rollup-plugin-visualizer';
import reactRefresh from '@vitejs/plugin-react-refresh';
import htmlPlugin from 'vite-plugin-html-config';
import urbitPlugin from '@urbit/vite-plugin-urbit';
import { execSync } from 'child_process';
const htmlPluginOpt = {
headScripts: [{ src: '/apps/grid/desk.js' }, { src: '/session.js' }]
};
// using current commit until release
const GIT_DESC = execSync('git rev-parse --short HEAD', { encoding: 'utf8' }).trim();
process.env.VITE_SHORTHASH = GIT_DESC;
@ -24,17 +20,7 @@ export default ({ mode }) => {
server:
mode === 'mock'
? undefined
: {
https: true,
proxy: {
'^/apps/grid/desk.js': {
target: SHIP_URL
},
'^((?!/apps/grid).)*$': {
target: SHIP_URL
}
}
},
: { https: true },
build:
mode !== 'profile'
? undefined
@ -48,6 +34,6 @@ export default ({ mode }) => {
]
}
},
plugins: [htmlPlugin(htmlPluginOpt), reactRefresh()]
plugins: [urbitPlugin({ base: 'grid', target: SHIP_URL }), reactRefresh()]
});
};

View File

@ -1,5 +1,5 @@
:~ title+'Web Terminal'
info+'A web interface for dill, through herm.'
:~ title+'Terminal'
info+'A web interface to your Urbit\'s command line (the dojo).'
color+0x2e.4347
glob-http+['https://bootstrap.urbit.org/glob-0v4.8ui32.ui10d.t0v4d.n9g1s.1ftua.glob' 0v4.8ui32.ui10d.t0v4d.n9g1s.1ftua]
base+'webterm'