chore: restart the repository with a clean history
CI / Docker image (push) Successful in 12s
CI / Server (push) Successful in 25s
CI / CLI (push) Successful in 13s
Development image / Development image (push) Successful in 21s
CI / CLI (windows) (push) Successful in 57s
CI / CLI (linux-arm64, static) (push) Successful in 1m37s
Release / Prepare release (push) Successful in 2s
Release / Server (linux-x64) (push) Successful in 53s
Release / CLI (linux-arm64, static) (push) Successful in 1m32s
Release / Docker image (push) Successful in 2m48s
Release / Server (windows-x64) (push) Successful in 6m20s
Release / CLI (windows-x64) (push) Successful in 6m48s
Release / CLI (linux-x64) (push) Successful in 7m8s
Release / Publish release (push) Successful in 1s
CI / Docker image (push) Successful in 12s
CI / Server (push) Successful in 25s
CI / CLI (push) Successful in 13s
Development image / Development image (push) Successful in 21s
CI / CLI (windows) (push) Successful in 57s
CI / CLI (linux-arm64, static) (push) Successful in 1m37s
Release / Prepare release (push) Successful in 2s
Release / Server (linux-x64) (push) Successful in 53s
Release / CLI (linux-arm64, static) (push) Successful in 1m32s
Release / Docker image (push) Successful in 2m48s
Release / Server (windows-x64) (push) Successful in 6m20s
Release / CLI (windows-x64) (push) Successful in 6m48s
Release / CLI (linux-x64) (push) Successful in 7m8s
Release / Publish release (push) Successful in 1s
Squash the tree into one commit, drop docs/architecture.html, reset the version line to 0.3.0, consolidate the changelog, enable Renovate automerge for non-major updates and add AGENTS.md.
This commit is contained in:
438 files changed
+45070
No files matched your search
@@ -0,0 +1,30 @@
|
||||
import "./styles.sass";
|
||||
import { useParams } from "react-router-dom";
|
||||
import CopyField from "@/common/components/CopyField";
|
||||
import OpenInFrislit from "@/common/components/OpenInFrislit";
|
||||
|
||||
export const Connect = () => {
|
||||
const { code } = useParams();
|
||||
const command = `frislit connect ${window.location.origin}/@frislit/connect/${code}`;
|
||||
|
||||
return (
|
||||
<div className="connect-page">
|
||||
<div className="form-head">
|
||||
<h1>Connect to this port.</h1>
|
||||
<p>The port appears on your own machine, as if it were running there.</p>
|
||||
</div>
|
||||
|
||||
<OpenInFrislit href={`frislit://connect/${encodeURIComponent(code)}?server=${encodeURIComponent(window.location.origin)}`} />
|
||||
|
||||
<div className="connect-command">
|
||||
<span>or run</span>
|
||||
<CopyField value={command} />
|
||||
</div>
|
||||
|
||||
<p className="connect-hint">
|
||||
No frislit yet? <a href="https://git.fristy.net/fristy/frislit/blob/main/docs/installation.md" target="_blank" rel="noreferrer noopener">Install it</a> in one line.
|
||||
You do not need an account to connect.
|
||||
</p>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
@@ -0,0 +1 @@
|
||||
export { Connect as default } from "./Connect.jsx";
|
||||
@@ -0,0 +1,37 @@
|
||||
@use "@/common/styles/colors"
|
||||
|
||||
.connect-page
|
||||
width: 100%
|
||||
|
||||
.copy-field
|
||||
align-items: flex-start
|
||||
|
||||
code
|
||||
overflow: visible
|
||||
text-overflow: clip
|
||||
white-space: pre-wrap
|
||||
word-break: break-all
|
||||
line-height: 1.5
|
||||
|
||||
.connect-hint
|
||||
margin-top: 1rem
|
||||
color: colors.$muted
|
||||
font-size: 0.8125rem
|
||||
line-height: 1.55
|
||||
|
||||
a
|
||||
color: colors.$primary-bright
|
||||
text-decoration: none
|
||||
|
||||
&:hover
|
||||
text-decoration: underline
|
||||
|
||||
.connect-command
|
||||
display: flex
|
||||
flex-direction: column
|
||||
gap: 0.375rem
|
||||
margin-top: 1.25rem
|
||||
|
||||
> span
|
||||
color: colors.$muted
|
||||
font-size: 0.75rem
|
||||
Reference in new issue
Block a user