Published!
{uri && props.record ? (
diff --git a/app/globals.css b/app/globals.css
index 24130b0a..cdbf1a57 100644
--- a/app/globals.css
+++ b/app/globals.css
@@ -215,20 +215,35 @@
.pageScrollWrapper h2,
.pageScrollWrapper h3,
.pageScrollWrapper h4 {
- font-family: var(--theme-heading-font, var(--theme-font, var(--font-quattro)));
+ font-family: var(
+ --theme-heading-font,
+ var(--theme-font, var(--font-quattro))
+ );
}
/* Scale heading sizes relative to the custom base font size */
- .pageScrollWrapper h1 { font-size: 2em; }
- .pageScrollWrapper h2 { font-size: 1.625em; }
- .pageScrollWrapper h3 { font-size: 1.125em; }
- .pageScrollWrapper h4 { font-size: 1em; }
+ .pageScrollWrapper h1 {
+ font-size: 2em;
+ }
+ .pageScrollWrapper h2 {
+ font-size: 1.625em;
+ }
+ .pageScrollWrapper h3 {
+ font-size: 1.125em;
+ }
+ .pageScrollWrapper h4 {
+ font-size: 1em;
+ }
/* Scale text size classes relative to the custom base font size.
Tailwind's text-sm/text-base/text-lg compile to fixed rem values
which ignore the custom base size set on .pageScrollWrapper. */
- .pageScrollWrapper .textSizeSmall { font-size: 0.875em; }
- .pageScrollWrapper .textSizeLarge { font-size: 1.125em; }
+ .pageScrollWrapper .textSizeSmall {
+ font-size: 0.875em;
+ }
+ .pageScrollWrapper .textSizeLarge {
+ font-size: 1.125em;
+ }
.pageScrollWrapper pre {
font-family: var(--theme-font, var(--font-quattro));
@@ -243,7 +258,10 @@
.pubWrapper h2,
.pubWrapper h3,
.pubWrapper h4 {
- font-family: var(--theme-heading-font, var(--theme-font, var(--font-quattro)));
+ font-family: var(
+ --theme-heading-font,
+ var(--theme-font, var(--font-quattro))
+ );
}
/*END FONT STYLING*/
@@ -446,13 +464,20 @@ pre.shiki {
@apply ml-2;
}
+.container {
+ @apply border;
+ @apply border-border-light;
+ @apply rounded-md;
+ background: rgba(var(--bg-page), var(--bg-page-alpha));
+}
+
.transparent-container {
@apply border;
@apply border-border-light;
@apply rounded-md;
}
-.container {
+.frosted-container {
background: rgba(var(--bg-page), 0.75);
@apply border;
@apply border-bg-page;
@@ -571,7 +596,9 @@ pre.shiki {
.footnote-side-item {
max-height: 4.5em;
overflow: hidden;
- transition: max-height 200ms ease, mask-image 200ms ease;
+ transition:
+ max-height 200ms ease,
+ mask-image 200ms ease;
}
.footnote-side-item.has-overflow {
mask-image: linear-gradient(to bottom, white 50%, transparent 100%);
diff --git a/app/lish/[did]/[publication]/dashboard/PublishedPostsLists.tsx b/app/lish/[did]/[publication]/dashboard/PublishedPostsLists.tsx
index 1de03e91..83a12aea 100644
--- a/app/lish/[did]/[publication]/dashboard/PublishedPostsLists.tsx
+++ b/app/lish/[did]/[publication]/dashboard/PublishedPostsLists.tsx
@@ -9,7 +9,10 @@ import {
} from "./PublicationSWRProvider";
import { Fragment } from "react";
import { useParams } from "next/navigation";
-import { getPublicationURL, getDocumentURL } from "app/lish/createPub/getPublicationURL";
+import {
+ getPublicationURL,
+ getDocumentURL,
+} from "app/lish/createPub/getPublicationURL";
import { SpeedyLink } from "components/SpeedyLink";
import { InteractionPreview } from "components/InteractionsPreview";
import { useLocalizedDate } from "src/hooks/useLocalizedDate";
@@ -27,7 +30,7 @@ export function PublishedPostsList(props: {
if (!publication) return null;
if (!documents || documents.length === 0)
return (
-
+
Nothing's been published yet...
);
@@ -85,11 +88,7 @@ function PublishedPostItem(props: {
}}
>
-
+
{doc.record.title}
diff --git a/app/lish/[did]/[publication]/dashboard/settings/PostSettings.tsx b/app/lish/[did]/[publication]/dashboard/settings/PostSettings.tsx
index c0ed9d9e..b1c68a5b 100644
--- a/app/lish/[did]/[publication]/dashboard/settings/PostSettings.tsx
+++ b/app/lish/[did]/[publication]/dashboard/settings/PostSettings.tsx
@@ -13,39 +13,38 @@ export function PostSettings(props: {
setShowInDiscover: (v: boolean) => void;
}) {
return (
-
- Post Settings
-
- Discovery
- props.setShowInDiscover(!props.showInDiscover)}
- >
-
-
Make Public
-
- Your posts will appear in{" "}
-
- Leaflet Reader
- {" "}
- and show up in search and tags.
+ <>
+
+
Discovery
+
props.setShowInDiscover(!props.showInDiscover)}
+ >
+
+
Make Public
+
+ Your posts will appear in{" "}
+
+ Leaflet Reader
+ {" "}
+ and show up in search and tags.
+
-
-
-
+
+
-
Layout
+
Post Layout
props.setShowPrevNext(!props.showPrevNext)}
>
- Show Prev/Next Buttons
+ Show Prev/Next Buttons on Post
-
Interactions
+
Post Interactions
-
+ >
);
}
diff --git a/app/lish/[did]/[publication]/dashboard/settings/SettingsContent.tsx b/app/lish/[did]/[publication]/dashboard/settings/SettingsContent.tsx
index f83277c3..cfc0311e 100644
--- a/app/lish/[did]/[publication]/dashboard/settings/SettingsContent.tsx
+++ b/app/lish/[did]/[publication]/dashboard/settings/SettingsContent.tsx
@@ -15,6 +15,7 @@ import { PubThemeSetter } from "components/ThemeManager/PubThemeSetter";
import { GeneralSettings } from "./GeneralSettings";
import { PostSettings } from "./PostSettings";
import { ThemeSettings } from "./ThemeSettings";
+import { useCardBorderHidden } from "components/Pages/useCardBorderHidden";
type SettingsView = "all" | "theme";
@@ -164,3 +165,17 @@ function SettingsForm(props: { onOpenTheme: () => void }) {
);
}
+
+export const DashboardContainer = (props: {
+ children: React.ReactNode;
+ className?: string;
+}) => {
+ let cardBorderHidden = useCardBorderHidden();
+ return (
+
+ {props.children}
+
+ );
+};
diff --git a/app/lish/[did]/[publication]/subscribeSuccess/page.tsx b/app/lish/[did]/[publication]/subscribeSuccess/page.tsx
index b0d572cd..deb03a81 100644
--- a/app/lish/[did]/[publication]/subscribeSuccess/page.tsx
+++ b/app/lish/[did]/[publication]/subscribeSuccess/page.tsx
@@ -4,7 +4,7 @@ import { RSSSmall } from "components/Icons/RSSSmall";
export default function SubscribeSuccess() {
return (
-
+
You've Subscribed!
Add this custom feed to your Bluesky to get the updates from this and
diff --git a/app/lish/createPub/page.tsx b/app/lish/createPub/page.tsx
index bb33a11a..f4d4d510 100644
--- a/app/lish/createPub/page.tsx
+++ b/app/lish/createPub/page.tsx
@@ -9,7 +9,7 @@ export default async function CreatePub() {
return (