Skip to content

Commit

Permalink
feat(app): begin porting content
Browse files Browse the repository at this point in the history
  • Loading branch information
rektdeckard committed Jan 6, 2025
1 parent 3f780bc commit aa36c74
Show file tree
Hide file tree
Showing 68 changed files with 1,622 additions and 505 deletions.
1 change: 0 additions & 1 deletion .github/FUNDING.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
github: [rektdeckard]

5 changes: 2 additions & 3 deletions .github/workflows/dreamhost-preview-static.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
name: Build and deploy preview site

on:
push
on: push

jobs:
deploy:
Expand All @@ -19,7 +18,7 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'pnpm'
cache: "pnpm"

- name: Install dependencies
run: pnpm install
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dreamhost-static.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'pnpm'
cache: "pnpm"

- name: Install dependencies
run: pnpm install
Expand Down
4 changes: 1 addition & 3 deletions .prettierrc.mts → .prettierrc.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import type { Config } from "prettier";

export default {
plugins: ["prettier-plugin-astro"],
overrides: [
Expand All @@ -10,4 +8,4 @@ export default {
},
},
],
} satisfies Config;
};
48 changes: 0 additions & 48 deletions README.md

This file was deleted.

Binary file removed _assets/cert-warning.webp
Binary file not shown.
Binary file removed _assets/cockpit-gauges.webp
Binary file not shown.
Binary file removed _assets/cockpit.webp
Binary file not shown.
Binary file removed _assets/helenazhang-spec.png
Binary file not shown.
Binary file removed _assets/phosphor-site.webp
Binary file not shown.
Binary file removed _assets/phosphor_site.webp
Binary file not shown.
31 changes: 20 additions & 11 deletions _data/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,16 @@ export interface Project {
content?: ReactNode;
}

const IconCount = lazy(
() => fetch("https://script.google.com/macros/s/AKfycbyFtNDr2e26aHumtDOu780zD1O7ANfRqITkdBc-G3nG2tVG7Qat96Ac7hnsi4XYhDWXkQ/exec?proc=count", { redirect: "follow" })
const IconCount = lazy(() =>
fetch(
"https://script.google.com/macros/s/AKfycbyFtNDr2e26aHumtDOu780zD1O7ANfRqITkdBc-G3nG2tVG7Qat96Ac7hnsi4XYhDWXkQ/exec?proc=count",
{ redirect: "follow" },
)
.then((res) => res.json())
.then((data) => ({ default: () => <>{(data.count * 6).toLocaleString()}</> }))
.catch(() => ({ default: () => <>{9000..toLocaleString()}</> }))
.then((data) => ({
default: () => <>{(data.count * 6).toLocaleString()}</>,
}))
.catch(() => ({ default: () => <>{(9000).toLocaleString()}</> })),
);

export const projects: ReadonlyArray<Project> = [
Expand Down Expand Up @@ -976,12 +981,15 @@ createRoot(document.getElementById('root')!).render(<App />);\
<p>
When working with large component libraries, it's important to factor
out sources of human error. Mistakes crop up inevitably at scale, and
with <Suspense fallback={9072..toLocaleString()}><IconCount /></Suspense> icons and their corresponding implementations —
packages in 5 javascript frameworks, a Figma plugin and library, and
other things I'm forgetting — we had a lot of complexity to manage by
hand. This led me to build custom internal tooling to support our
efforts from the design process all the way through to production,
including:
with{" "}
<Suspense fallback={(9072).toLocaleString()}>
<IconCount />
</Suspense>{" "}
icons and their corresponding implementations — packages in 5
javascript frameworks, a Figma plugin and library, and other things
I'm forgetting — we had a lot of complexity to manage by hand. This
led me to build custom internal tooling to support our efforts from
the design process all the way through to production, including:
</p>
<ul>
<li>
Expand Down Expand Up @@ -1085,7 +1093,8 @@ createRoot(document.getElementById('root')!).render(<App />);\
support more use-cases for developers and designers alike. A{" "}
<a href="https://github.com/phosphor-icons/flutter">
Flutter library
</a>, along with a number of other third-party ports, have since been
</a>
, along with a number of other third-party ports, have since been
added, and we have plans for more down the road.
</p>
</>
Expand Down
Loading

0 comments on commit aa36c74

Please sign in to comment.