Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/improsocial/impro
An extensible Bluesky client for web impro.social
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031323334353637383940import { html, render } from "/js/lib/lit-html.js";import { headerTemplate } from "/js/templates/header.template.js";import { pageEffect, bindPageTitle } from "/js/router.js";
export default async function accountNotFoundView({ root, params, router }) { bindPageTitle(root, () => "Not Found");
pageEffect(root, () => { const canGoBack = router.previousRoute !== null; render( html`<div id="account-not-found-view"> ${headerTemplate({ title: "Not found", })} <main> <div class="error-state" data-testid="account-not-found"> <h3>Account not found</h3> <div>@${params.handleOrDid} couldn't be found</div> ${canGoBack ? html`<button class="rounded-button rounded-button-secondary-inverted" data-testid="go-back-button" @click=${() => router.back()} > Go back </button>` : html`<a href="/" class="rounded-button rounded-button-secondary-inverted" data-testid="go-home-link" >Go home</a >`} </div> </main> </div>`, root, ); });}