-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14 from xyhomi3/dev
Feature: visualizer, fortmats
- Loading branch information
Showing
38 changed files
with
1,587 additions
and
237 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
'@omi3/audio': patch | ||
'@omi3/utils': patch | ||
'@omi3/tailwind': patch | ||
'@omi3/ui': patch | ||
'@omi3/site': patch | ||
--- | ||
|
||
optmisation |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
'@omi3/audio': patch | ||
'@omi3/utils': patch | ||
'@omi3/tailwind': patch | ||
'@omi3/ui': patch | ||
'@omi3/site': patch | ||
--- | ||
|
||
formating |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
name: PR Check | ||
|
||
on: | ||
pull_request: | ||
branches: [main] | ||
|
||
permissions: | ||
contents: write | ||
|
||
jobs: | ||
check: | ||
name: Check Changes | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Configure Git | ||
run: | | ||
git config --global user.name 'github-actions[bot]' | ||
git config --global user.email 'github-actions[bot]@users.noreply.github.com' | ||
- name: Setup repository | ||
run: | | ||
git fetch origin main:main | ||
git branch -a | ||
- name: Debug info | ||
run: | | ||
git status | ||
git log --oneline -n 5 | ||
git branch -a | ||
- uses: pnpm/action-setup@v2 | ||
with: | ||
version: 9.1.1 | ||
|
||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 'lts/*' | ||
cache: 'pnpm' | ||
|
||
- name: Install dependencies | ||
run: pnpm install --frozen-lockfile | ||
|
||
- name: Check Changesets | ||
run: pnpm changeset status | ||
|
||
- name: Dry Run Version Update | ||
run: pnpm changeset version --dry-run --verbose | ||
|
||
- name: Debug Git status after changeset | ||
if: failure() | ||
run: | | ||
git status | ||
git diff |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import { ReactNode } from 'react'; | ||
import { StoreProvider } from './store'; | ||
|
||
type Props = { | ||
children: ReactNode; | ||
}; | ||
|
||
export async function Providers({ children }: Props) { | ||
return <StoreProvider>{children}</StoreProvider>; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
"use client"; | ||
|
||
import { Provider } from "jotai"; | ||
|
||
export function StoreProvider({ children }: { children: React.ReactNode }) { | ||
return <Provider>{children}</Provider>; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,42 @@ | ||
import { ImageResponse } from "next/og"; | ||
import { ImageResponse } from 'next/og'; | ||
|
||
export const runtime = "edge"; | ||
export const alt = "Ouest Labs"; | ||
export const runtime = 'edge'; | ||
export const alt = 'Ouest Labs'; | ||
export const size = { | ||
width: 1200, | ||
height: 630, | ||
}; | ||
|
||
export default async function Image() { | ||
|
||
return new ImageResponse( | ||
( | ||
<div | ||
style={{ | ||
height: "100%", | ||
width: "100%", | ||
display: "flex", | ||
textAlign: "center", | ||
alignItems: "center", | ||
justifyContent: "center", | ||
flexDirection: "column", | ||
flexWrap: "nowrap", | ||
backgroundColor: "#111903", | ||
height: '100%', | ||
width: '100%', | ||
display: 'flex', | ||
textAlign: 'center', | ||
alignItems: 'center', | ||
justifyContent: 'center', | ||
flexDirection: 'column', | ||
flexWrap: 'nowrap', | ||
backgroundColor: '#111903', | ||
}} | ||
> | ||
|
||
<svg width={280} height={80} viewBox="0 0 14 4" fill="none" xmlns="http://www.w3.org/2000/svg"> | ||
<path | ||
d="M1.375 4V3.375H0.75V1.5H1.375V0.875H2.625V1.5H3.25V3.375H2.625V4H1.375ZM1.375 3.35H2.625V1.525H1.375V3.35ZM4.5 4V0.875H5.125V1.5H5.75V2.125H6.375V2.75H5.75V2.125H5.125V4H4.5ZM7 4V2.125H6.375V1.5H7V0.875H7.625V4H7ZM8.875 4V0.875H9.5V4H8.875Z" | ||
fill="white" | ||
/> | ||
<path | ||
d="M12.625 2.125V1.5H10.75V0.875H12.625V1.5H13.25V2.125H12.625ZM12.625 3.375V2.75H11.375V2.125H12.625V2.75H13.25V3.375H12.625ZM10.75 4V3.375H12.625V4H10.75Z" | ||
fill="#B0FC31" | ||
fill="white" | ||
/> | ||
<path | ||
d="M12.625 2.125V1.5H10.75V0.875H12.625V1.5H13.25V2.125H12.625ZM12.625 3.375V2.75H11.375V2.125H12.625V2.75H13.25V3.375H12.625ZM10.75 4V3.375H12.625V4H10.75Z" | ||
fill="#B0FC31" | ||
/> | ||
</svg> | ||
</div> | ||
), | ||
{ | ||
...size | ||
} | ||
...size, | ||
}, | ||
); | ||
} | ||
} |
Oops, something went wrong.