Skip to content

Commit 8d4b6d8

Browse files
committed
Fix funding sources.
1 parent 7995ccc commit 8d4b6d8

File tree

12 files changed

+123
-220
lines changed

12 files changed

+123
-220
lines changed

.github/FUNDING.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
github: [Uh-little-less-dum, igloo1505]
1+
github: [Uh-little-less-dum, igloo1505, FlusterIO]
22
patreon: uhlittlelessdum
3-
custom: ["https://www.paypal.com/donate/?hosted_button_id=W22RTUJ2RPZDU", "https://ulld.vercel.app/sponsor"]
3+
custom: ["https://www.paypal.com/donate/?hosted_button_id=W22RTUJ2RPZDU", "https://fluster-one.vercel.app/sponsor"]

apps/fluster/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@
106106
"redux-persist": "^6.0.0",
107107
"rehype-autolink-headings": "7.1.0",
108108
"rehype-mathjax": "7.1.0",
109+
"rehype-mermaid": "^3.0.0",
109110
"rehype-pretty-code": "0.14.1",
110111
"rehype-sanitize": "6.0.0",
111112
"rehype-slug": "6.0.0",

apps/fluster/src-tauri/src/features/embedded_docs/embedded_docs/my_work/full_model.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,6 @@ This model draws some bold conclusions, but it is entirely physically and experi
119119
In short, the model is accurate... but don't ever call me a physicist. The pseudo-science in modern physics is _nauseating_ and the egos are repugnant.
120120

121121

122-
### Citations
123122

124-
[^1]: Determining the motion of the Solar system relative to the cosmic microwave background using Type Ia supernovae
123+
[^1]: C. Gordon, K. Land, and A. Slosar, “Determining the motion of the Solar system relative to the cosmic microwave background using Type Ia supernovae,” Monthly Notices of the Royal Astronomical Society 387(1), 371–376 (2008).
124+

apps/fluster/src/App.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@ import { useGlobalKeymap } from "#/keymap/state/hooks/use_global_keymap";
33
import { getBrowserRouter } from "#/router/data/main_router_routes";
44
import { RouterProvider } from "react-router";
55
import { ResourceRoutes } from "#/router/data/app_routes";
6+
import mermaid from "mermaid";
67

78
const App = (): ReactNode => {
9+
mermaid.initialize({ startOnLoad: true });
810
window.MathJax = {
911
/* @ts-expect-error -- Not sure if this is working but I'm leaving it until all math is rendering properly. */
1012
"HTML-CSS": { linebreaks: { automatic: true } },

apps/fluster/src/core/lib/get_existing_taggables.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { commands, SharedTaggableModel, AllTaggableData } from "./bindings";
22

3-
export const getExistingTaggables = async (): AllTaggableData => {
3+
export const getExistingTaggables = async (): Promise<AllTaggableData> => {
44
const existingTaggables = await commands.getExistingTaggables();
55
return {
66
tags: existingTaggables.tags.map((t: SharedTaggableModel) => {

apps/fluster/src/core/lib/sync_database.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,11 @@ import { getExistingTaggables } from "./get_existing_taggables.ts";
1010
export const sync = async (
1111
opts: Omit<
1212
SyncFilesystemDirectoryOptions,
13-
"dir_path" | "bib_path" | "n_threads" | "use_git_ignore"
13+
| "dir_path"
14+
| "bib_path"
15+
| "n_threads"
16+
| "use_git_ignore"
17+
| "existing_taggables"
1418
> & {
1519
showSuccessToast?: boolean;
1620
}

apps/fluster/src/features/bibliography/presentation/bib_page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const BibliographyPage = (): ReactNode => {
1212
className="h-full min-h-[calc(100vh-4rem)] flex flex-col justify-center items-center overflow-y-auto"
1313
>
1414
<BibTableProvider>
15-
<div className="w-full px-8 mt-8 flex flex-col justify-start items-center max-w-[1440px]">
15+
<div className="w-full px-8 py-8 flex flex-col justify-start items-center max-w-[1440px]">
1616
<BibTableTitleBar />
1717
<BibTableFilterRow />
1818
<BibliographyTable />

apps/fluster/src/features/mdx/data/parse/mdx_to_jsx.ts

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ import rehypePrettyCode from "rehype-pretty-code";
99
import emoji from "remark-emoji";
1010
import rehypeSlug from "rehype-slug";
1111
import rehypeVideo from "rehype-video";
12+
import rehypeMermaid from "rehype-mermaid";
13+
1214
import {
1315
mathOptions,
1416
MermaidConfigType,
@@ -22,12 +24,14 @@ export const mermaidConfig: MermaidConfigType = {
2224
output: "svg",
2325
/* theme: { light: 'dark', dark: 'dark' }, */
2426
mermaid: {
27+
background: "hsl(var(--background))",
2528
themeVariables: mermaidTheme.dark,
2629
theme: "base",
2730
},
2831
};
2932

3033
const rehypePlugins = (): CompileOptions["rehypePlugins"] => {
34+
const darkMode = document.body.classList.contains("dark");
3135
// let shikiTransformers = await getShikiTransformers(config)
3236
const state: AppState = store.getState();
3337
return [
@@ -76,6 +80,15 @@ const rehypePlugins = (): CompileOptions["rehypePlugins"] => {
7680
},
7781
],
7882
rehypeSlug,
83+
[
84+
rehypeMermaid,
85+
{
86+
strategy: "img-svg",
87+
dark: darkMode,
88+
colorScheme: darkMode ? "dark" : "light",
89+
mermaidConfig,
90+
},
91+
],
7992
/* [ */
8093
/* rehypeImgSize, */
8194
/* { dir: "" } */

apps/website/src/features/resume/resume_data.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ const resumeDataSchema = z.object({
3030
intro: z.string().max(1000),
3131
github: z.string().url().default("https://github.com/igloo1505"),
3232
email: z.string().email().default("aiglinski414@gmail.com"),
33-
homepage: z.string().url().default("https://ulld.vercel.app"),
33+
homepage: z.string().url().default("https://fluster-one.vercel.app"),
3434
linkedIn: z.string().url().optional(),
3535
dob: z.string().default("4/19/1988"),
3636
avatar: z

cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ members = [
1212
version = "0.0.1"
1313
authors = ["Andrew Iglinski"]
1414
description = "Be less dum."
15-
documentation = "ulld.vercel.app"
15+
documentation = "fluster-one.vercel.app"
1616
edition = "2021"
1717

1818
[workspace.lints.rust]

0 commit comments

Comments
 (0)