Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨ Update website ✨ #492

Merged
merged 4 commits into from
Dec 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/pr-merged.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: PR Merged

on:
pull_request:
pull_request_target:
types: [closed]
branches:
- next
Expand All @@ -21,6 +21,8 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
ref: "${{ github.event.pull_request.merge_commit_sha }}"

- name: Install pnpm
uses: pnpm/action-setup@v4
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/pr-updated.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: PR Updated

on:
pull_request:
pull_request_target:
branches:
- next

Expand All @@ -21,6 +21,8 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
ref: "${{ github.event.pull_request.head.sha }}"

- name: Install pnpm
uses: pnpm/action-setup@v4
Expand Down
4 changes: 2 additions & 2 deletions apps/web/demos/focus/code.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ export function CodeContainer({ code }: { code: HighlightedCode }) {
}}
handlers={[focus]}
/>
<div className="p-2 mt-auto font-light text-center">
<div className="p-2 mt-auto font-light text-center text-white">
You can also change the focus annotations on a rendered codeblock:
</div>
<div className="flex justify-center gap-2 pb-4">
<div className="flex justify-center gap-2 pb-4 text-white">
<button
onClick={() => setFocused("lorem")}
disabled={focused === "lorem"}
Expand Down
2 changes: 1 addition & 1 deletion apps/web/demos/hover/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export default function Page() {

function HoverContainer(props: { children: React.ReactNode }) {
return (
<div className="bg-zinc-900/80 px-2 rounded hover-container">
<div className="bg-zinc-900/80 px-2 rounded hover-container text-white">
{props.children}
</div>
)
Expand Down
Loading