This commit is contained in:
parent
6dd3d1cdd3
commit
8aea061498
5 changed files with 14 additions and 8 deletions
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "pdsmanager",
|
"name": "pdsmanager",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "0.1.0",
|
"version": "0.2.0",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "astro dev",
|
"dev": "astro dev",
|
||||||
"build": "astro build",
|
"build": "astro build",
|
||||||
|
|
|
@ -37,8 +37,9 @@ export default function LoginForm({ onLogin }: LoginFormProps) {
|
||||||
<h1 className="card-title text-2xl font-bold text-center">
|
<h1 className="card-title text-2xl font-bold text-center">
|
||||||
BlueSky PDS Manager
|
BlueSky PDS Manager
|
||||||
</h1>
|
</h1>
|
||||||
<p className="text-center text-base-content/70 mb-4">
|
<p className="text-base-content/70 mb-4">
|
||||||
Enter your PDS credentials to get started
|
Enter your PDS credentials to get started. All credentials are
|
||||||
|
stored and encrypyted locally (in-browser).
|
||||||
</p>
|
</p>
|
||||||
{error && (
|
{error && (
|
||||||
<div className="alert alert-error shadow-lg mb-4">
|
<div className="alert alert-error shadow-lg mb-4">
|
||||||
|
|
|
@ -290,7 +290,7 @@ export default function UserList() {
|
||||||
<div className="card bg-base-100 shadow-xl">
|
<div className="card bg-base-100 shadow-xl">
|
||||||
<div className="card-body">
|
<div className="card-body">
|
||||||
<div className="flex justify-between items-center mb-4">
|
<div className="flex justify-between items-center mb-4">
|
||||||
<h1 className="card-title text-2xl">BlueSky Users</h1>
|
<h1 className="card-title text-2xl">Users</h1>
|
||||||
<button
|
<button
|
||||||
onClick={() => fetchUsers()}
|
onClick={() => fetchUsers()}
|
||||||
disabled={loading}
|
disabled={loading}
|
||||||
|
|
|
@ -1,7 +1,12 @@
|
||||||
|
---
|
||||||
|
import pkg from "../../../package.json";
|
||||||
|
const { version } = pkg;
|
||||||
|
---
|
||||||
|
|
||||||
<footer class="footer footer-center p-4 bg-base-300 text-base-content">
|
<footer class="footer footer-center p-4 bg-base-300 text-base-content">
|
||||||
<aside>
|
<aside>
|
||||||
<p class="text-sm">
|
<p class="text-sm">
|
||||||
Made by
|
Build with ❤️ by
|
||||||
<a
|
<a
|
||||||
href="https://atri.dad"
|
href="https://atri.dad"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
|
@ -10,8 +15,8 @@
|
||||||
>
|
>
|
||||||
Atridad Lahiji
|
Atridad Lahiji
|
||||||
</a>
|
</a>
|
||||||
<span class="mx-2">•</span>
|
<span class="mx-2">-</span>
|
||||||
<span class="opacity-75">All rights reserved</span>
|
<span class="opacity-75">v{version}</span>
|
||||||
</p>
|
</p>
|
||||||
</aside>
|
</aside>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
|
@ -12,7 +12,7 @@ import Footer from "../components/navigation/Footer.astro";
|
||||||
href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><text y='.9em' font-size='90'>🦋</text></svg>"
|
href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><text y='.9em' font-size='90'>🦋</text></svg>"
|
||||||
/>
|
/>
|
||||||
<meta name="generator" content={Astro.generator} />
|
<meta name="generator" content={Astro.generator} />
|
||||||
<title>PDS Manager</title>
|
<title>BlueSky PDS Manager</title>
|
||||||
</head>
|
</head>
|
||||||
<body class="min-h-screen flex flex-col bg-base-200">
|
<body class="min-h-screen flex flex-col bg-base-200">
|
||||||
<slot />
|
<slot />
|
||||||
|
|
Loading…
Add table
Reference in a new issue