Stability fixes

This commit is contained in:
Jorge Vargas 2025-02-19 21:07:27 -06:00
parent 69eddc148a
commit 3534a19dd4
10 changed files with 2405 additions and 2497 deletions

View file

@ -24,9 +24,7 @@ export default defineConfig({
icon({ iconDir: 'src/img/icons' }),
react()
],
vite: {
plugins: [tailwindcss()]
},
vite: { plugins: [tailwindcss()] },
image: { domains: ['cdn.sittingonclouds.net'] },
output: 'server',
adapter: node({ mode: 'standalone' }),

View file

@ -1,28 +0,0 @@
import { type CodegenConfig } from '@graphql-codegen/cli'
import { defineConfig } from '@eddeee888/gcg-typescript-resolver-files'
const config: CodegenConfig = {
schema: 'src/graphql/typeDefs/**/*.graphql',
documents: ['src/**/*.{astro,ts,tsx,mts}'],
generates: {
'./src/graphql/__generated__/client/': {
preset: 'client',
plugins: [],
presetConfig: { gqlTagName: 'gql' },
config: { useTypeImports: true }
},
'./src/graphql/__generated__/': defineConfig({
resolverGeneration: 'disabled',
typesPluginsConfig: {
contextType: '../client.ts#ResolverContext',
maybeValue: 'T'
},
add: {
'./types.generated.ts': { content: '// @ts-nocheck' },
},
})
},
ignoreNoDocuments: true
}
export default config

View file

@ -14,17 +14,14 @@
"@astrojs/react": "4.1.3",
"@astrojs/rss": "4.0.11",
"@inlang/paraglide-astro": "^0.2.2",
"@prisma/client": "^6.3.1",
"@prisma/client": "^6.4.0",
"@tailwindcss/vite": "^4.0.7",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"astro": "5.1.5",
"astro": "^5.3.0",
"astro-icon": "^1.1.1",
"better-auth": "^1.1.11",
"clsx": "^2.1.1",
"fast-glob": "^3.3.2",
"fs-extra": "^11.2.0",
"generate-password-ts": "^1.6.5",
"nodemailer": "^6.10.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
@ -46,6 +43,6 @@
"neostandard": "^0.11.6",
"prettier": "^3.3.3",
"prettier-config-standard": "^7.0.0",
"prisma": "^6.3.1"
"prisma": "^6.4.0"
}
}

View file

@ -22,7 +22,8 @@ const { title, href, image, loading = false } = props
<Image
src={`https://cdn.sittingonclouds.net${image}`}
alt={`${title} cover`}
inferSize
height={500}
width={500}
quality='low'
class='rounded-md scale-95 group-hover:scale-100 transition-transform'
/>

View file

@ -6,7 +6,6 @@ import Header from 'components/Header.astro'
import Footer from 'components/Footer.astro'
import 'styles/global.css'
import 'styles/tailwind.css'
---
<html lang={languageTag()} dir={Astro.locals.paraglide.dir} class='h-full'>
@ -15,6 +14,13 @@ import 'styles/tailwind.css'
<meta property='og:type' content='website' />
<meta property='og:site_name' content='Sitting on Clouds' />
<link rel='preconnect' href='https://fonts.googleapis.com' />
<link rel='preconnect' href='https://fonts.gstatic.com' crossorigin />
<link
href='https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap'
rel='stylesheet'
/>
<meta name='theme-color' content='#ffffff' />
<meta property='og:url' content='/' />
<meta property='og:title' content='Sitting on Clouds — High Quality soundtrack library' />

View file

@ -58,7 +58,8 @@ const { currentLocale } = Astro
alt={`${album.title} cover`}
class='rounded-md size-full object-contain absolute'
quality='mid'
inferSize
width={2560}
height={150}
/>
</div>
</div>

View file

@ -1 +1,30 @@
@import 'tailwindcss' source('../../src/');
@theme {
--breakpoint-*: initial;
--breakpoint-md: 880px;
--color-dark: #212529;
--color-dark-hover: #2b3035;
--color-gold: #ffdb37;
--color-btn-gray: rgb(108, 117, 125);
--color-btn-disabled: rgba(108, 117, 125, 0.65);
--color-gray: #3f3f3f;
--color-gray-hover: #4f4f4f;
--color-soc-green: #4b7667;
--color-soc-green-dark: rgba(17, 17, 17, 0.7);
--color-link: rgb(110, 168, 254);
--color-hover-link: #00d4ff;
}
@layer base {
* {
color: white;
font-family: 'Rubik', Sans-serif;
}
hr {
margin-top: 1rem;
margin-bottom: 1rem;
}
}

View file

@ -1,45 +0,0 @@
@import 'tailwindcss';
@theme {
--breakpoint-*: initial;
--breakpoint-md: 880px;
--color-dark: #212529;
--color-dark-hover: #2b3035;
--color-gold: #ffdb37;
--color-btn-gray: rgb(108, 117, 125);
--color-btn-disabled: rgba(108, 117, 125, 0.65);
--color-gray: #3f3f3f;
--color-gray-hover: #4f4f4f;
--color-soc-green: #4b7667;
--color-soc-green-dark: rgba(17, 17, 17, 0.7);
--color-link: rgb(110, 168, 254);
--color-hover-link: #00d4ff;
}
/*
The default border color has changed to `currentColor` in Tailwind CSS v4,
so we've added these compatibility styles to make sure everything still
looks the same as it did with Tailwind CSS v3.
If we ever want to remove these styles, we need to add an explicit border
color utility to any element that depends on these defaults.
*/
@layer base {
*,
::after,
::before,
::backdrop,
::file-selector-button {
border-color: var(--color-gray-200, currentColor);
}
* {
color: white;
font-family: 'Rubik', Sans-serif;
}
hr {
margin-top: 1rem;
margin-bottom: 1rem;
}
}

View file

@ -5,9 +5,6 @@
"compilerOptions": {
"jsx": "react-jsx",
"jsxImportSource": "react",
"baseUrl": "src",
"paths": {
"@/graphql/*": ["graphql/*"]
}
"baseUrl": "src"
}
}

4768
yarn.lock

File diff suppressed because it is too large Load diff