diff --git a/config.ts b/config.ts
index a507eb3..b8284a6 100644
--- a/config.ts
+++ b/config.ts
@@ -6,7 +6,7 @@ export class Config {
* The base URL of the PDS (Personal Data Server)
* @default "https://pds.witchcraft.systems"
*/
- static readonly PDS_URL: string = "https://ap.brid.gy";
+ static readonly PDS_URL: string = "https://pds.witchcraft.systems";
/**
* The base URL of the frontend service for linking to replies
@@ -18,5 +18,11 @@ export class Config {
* Maximum number of posts to fetch from the PDS per user
* @default 10
*/
- static readonly MAX_POSTS_PER_USER: number = 1;
+ static readonly MAX_POSTS_PER_USER: number = 22;
+
+ /**
+ * Footer text for the dashboard
+ * @default "Astrally projected from witchcraft.systems"
+ */
+ static readonly FOOTER_TEXT: string = "Astrally projected from witchcraft.systems";
}
\ No newline at end of file
diff --git a/src/App.svelte b/src/App.svelte
index c5a024c..fbf59f1 100644
--- a/src/App.svelte
+++ b/src/App.svelte
@@ -2,6 +2,7 @@
import PostComponent from "./lib/PostComponent.svelte";
import AccountComponent from "./lib/AccountComponent.svelte";
import { fetchAllPosts, Post, getAllMetadataFromPds } from "./lib/pdsfetch";
+ import { Config } from "../config";
const postsPromise = fetchAllPosts();
const accountsPromise = getAllMetadataFromPds();
@@ -19,6 +20,7 @@
{@html Config.FOOTER_TEXT}
{:catch error}Error: {error.message}
@@ -74,6 +76,7 @@ background-color: #0d0620; height: 80vh; padding: 20px; + margin-left: 20px; } #accountsList { display: flex; diff --git a/src/app.css b/src/app.css index 988c405..05a51fd 100644 --- a/src/app.css +++ b/src/app.css @@ -40,6 +40,7 @@ a { } a:hover { color: #535bf2; + text-decoration: underline; } body { diff --git a/src/lib/PostComponent.svelte b/src/lib/PostComponent.svelte index b240c95..fc24700 100644 --- a/src/lib/PostComponent.svelte +++ b/src/lib/PostComponent.svelte @@ -1,7 +1,58 @@