Skip to content
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
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,15 @@
*.html text eol=lf
*.ini text eol=lf
*.js text eol=lf
*.jsx text eol=lf
*.json text eol=lf
*.md text eol=lf
*.mdx text eol=lf
*.mjs text eol=lf
*.svg text eol=lf
*.toml text eol=lf
*.ts text eol=lf
*.tsx text eol=lf
*.txt text eol=lf
*.vue text eol=lf
*.xml text eol=lf
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@
"check:astro": "npx astro check",
"check:worker": "npx tsc --noEmit -p ./worker/tsconfig.json",
"dev": "npx astro dev",
"format": "npm run format:core && npm run format:data",
"format:core": "npx prettier --write \"**/*.{js,jsx,ts,tsx,mjs,css}\"",
"format": "npm run format:core:fix && npm run format:data",
"format:core": "npx prettier \"**/*.{js,jsx,ts,tsx,mjs,css}\"",
"format:core:check": "npm run format:core -- --check",
"format:core:fix": "npm run format:core -- --write",
"format:content": "npx prettier --write \"**/*.{md,mdx,astro}\"",
"format:data": "npx prettier --write \"**/*.{json,yaml,yml}\"",
"postinstall": "npm run sync",
Expand Down
4 changes: 2 additions & 2 deletions src/components/FeedbackPrompt.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ function Buttons({
}}
className="cursor-pointer bg-transparent"
>
<MdOutlineThumbUp className="text-sl text-2xl hover:text-accent" />
<MdOutlineThumbUp className="text-2xl text-sl hover:text-accent" />
</button>
<button
onClick={() => {
Expand All @@ -46,7 +46,7 @@ function Buttons({
}}
className="cursor-pointer bg-transparent"
>
<MdOutlineThumbDown className="text-sl text-2xl hover:text-accent" />
<MdOutlineThumbDown className="text-2xl text-sl hover:text-accent" />
</button>
</>
);
Expand Down
2 changes: 1 addition & 1 deletion src/components/models/ModelInfo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const ModelInfo = ({ model }: { model: WorkersAIModelsSchema }) => {
const author =
authorData[model.name.split("/")[1]]?.name ?? model.name.split("/")[1];
return (
<span className="text-gray-400 !block mt-2 leading-5">
<span className="mt-2 !block leading-5 text-gray-400">
{model.task.name} • {author}
</span>
);
Expand Down
2 changes: 1 addition & 1 deletion worker/worker-configuration.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ interface Env {
declare module "*/_redirects" {
const value: string;
export default value;
}
}