mirror of
https://github.com/timmypidashev/web.git
synced 2026-04-14 11:03:50 +00:00
Remove prisma db; update comments.css
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
"version": "v1.0.1",
|
"version": "v1.0.1",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "npx prisma generate && astro dev --host",
|
"dev": "astro dev --host",
|
||||||
"build": "astro build",
|
"build": "astro build",
|
||||||
"preview": "astro preview"
|
"preview": "astro preview"
|
||||||
},
|
},
|
||||||
@@ -14,7 +14,6 @@
|
|||||||
"@types/react": "^18.3.20",
|
"@types/react": "^18.3.20",
|
||||||
"@types/react-dom": "^18.3.6",
|
"@types/react-dom": "^18.3.6",
|
||||||
"astro": "^5.7.2",
|
"astro": "^5.7.2",
|
||||||
"prisma": "^6.6.0",
|
|
||||||
"tailwindcss": "^3.4.17"
|
"tailwindcss": "^3.4.17"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
@@ -26,7 +25,6 @@
|
|||||||
"@oslojs/crypto": "^1.0.1",
|
"@oslojs/crypto": "^1.0.1",
|
||||||
"@oslojs/encoding": "^1.1.0",
|
"@oslojs/encoding": "^1.1.0",
|
||||||
"@pilcrowjs/object-parser": "^0.0.4",
|
"@pilcrowjs/object-parser": "^0.0.4",
|
||||||
"@prisma/client": "^6.6.0",
|
|
||||||
"@react-hook/intersection-observer": "^3.1.2",
|
"@react-hook/intersection-observer": "^3.1.2",
|
||||||
"@react-three/drei": "^9.122.0",
|
"@react-three/drei": "^9.122.0",
|
||||||
"@react-three/fiber": "^8.18.0",
|
"@react-three/fiber": "^8.18.0",
|
||||||
|
|||||||
101
src/pnpm-lock.yaml
generated
101
src/pnpm-lock.yaml
generated
@@ -32,9 +32,6 @@ importers:
|
|||||||
'@pilcrowjs/object-parser':
|
'@pilcrowjs/object-parser':
|
||||||
specifier: ^0.0.4
|
specifier: ^0.0.4
|
||||||
version: 0.0.4
|
version: 0.0.4
|
||||||
'@prisma/client':
|
|
||||||
specifier: ^6.6.0
|
|
||||||
version: 6.6.0(prisma@6.6.0(typescript@5.7.3))(typescript@5.7.3)
|
|
||||||
'@react-hook/intersection-observer':
|
'@react-hook/intersection-observer':
|
||||||
specifier: ^3.1.2
|
specifier: ^3.1.2
|
||||||
version: 3.1.2(react@18.3.1)
|
version: 3.1.2(react@18.3.1)
|
||||||
@@ -102,9 +99,6 @@ importers:
|
|||||||
astro:
|
astro:
|
||||||
specifier: ^5.7.2
|
specifier: ^5.7.2
|
||||||
version: 5.7.2(jiti@1.21.7)(rollup@4.40.0)(typescript@5.7.3)(yaml@2.7.1)
|
version: 5.7.2(jiti@1.21.7)(rollup@4.40.0)(typescript@5.7.3)(yaml@2.7.1)
|
||||||
prisma:
|
|
||||||
specifier: ^6.6.0
|
|
||||||
version: 6.6.0(typescript@5.7.3)
|
|
||||||
tailwindcss:
|
tailwindcss:
|
||||||
specifier: ^3.4.17
|
specifier: ^3.4.17
|
||||||
version: 3.4.17
|
version: 3.4.17
|
||||||
@@ -594,36 +588,6 @@ packages:
|
|||||||
resolution: {integrity: sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==}
|
resolution: {integrity: sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==}
|
||||||
engines: {node: '>=14'}
|
engines: {node: '>=14'}
|
||||||
|
|
||||||
'@prisma/client@6.6.0':
|
|
||||||
resolution: {integrity: sha512-vfp73YT/BHsWWOAuthKQ/1lBgESSqYqAWZEYyTdGXyFAHpmewwWL2Iz6ErIzkj4aHbuc6/cGSsE6ZY+pBO04Cg==}
|
|
||||||
engines: {node: '>=18.18'}
|
|
||||||
peerDependencies:
|
|
||||||
prisma: '*'
|
|
||||||
typescript: '>=5.1.0'
|
|
||||||
peerDependenciesMeta:
|
|
||||||
prisma:
|
|
||||||
optional: true
|
|
||||||
typescript:
|
|
||||||
optional: true
|
|
||||||
|
|
||||||
'@prisma/config@6.6.0':
|
|
||||||
resolution: {integrity: sha512-d8FlXRHsx72RbN8nA2QCRORNv5AcUnPXgtPvwhXmYkQSMF/j9cKaJg+9VcUzBRXGy9QBckNzEQDEJZdEOZ+ubA==}
|
|
||||||
|
|
||||||
'@prisma/debug@6.6.0':
|
|
||||||
resolution: {integrity: sha512-DL6n4IKlW5k2LEXzpN60SQ1kP/F6fqaCgU/McgaYsxSf43GZ8lwtmXLke9efS+L1uGmrhtBUP4npV/QKF8s2ZQ==}
|
|
||||||
|
|
||||||
'@prisma/engines-version@6.6.0-53.f676762280b54cd07c770017ed3711ddde35f37a':
|
|
||||||
resolution: {integrity: sha512-JzRaQ5Em1fuEcbR3nUsMNYaIYrOT1iMheenjCvzZblJcjv/3JIuxXN7RCNT5i6lRkLodW5ojCGhR7n5yvnNKrw==}
|
|
||||||
|
|
||||||
'@prisma/engines@6.6.0':
|
|
||||||
resolution: {integrity: sha512-nC0IV4NHh7500cozD1fBoTwTD1ydJERndreIjpZr/S3mno3P6tm8qnXmIND5SwUkibNeSJMpgl4gAnlqJ/gVlg==}
|
|
||||||
|
|
||||||
'@prisma/fetch-engine@6.6.0':
|
|
||||||
resolution: {integrity: sha512-Ohfo8gKp05LFLZaBlPUApM0M7k43a0jmo86YY35u1/4t+vuQH9mRGU7jGwVzGFY3v+9edeb/cowb1oG4buM1yw==}
|
|
||||||
|
|
||||||
'@prisma/get-platform@6.6.0':
|
|
||||||
resolution: {integrity: sha512-3qCwmnT4Jh5WCGUrkWcc6VZaw0JY7eWN175/pcb5Z6FiLZZ3ygY93UX0WuV41bG51a6JN/oBH0uywJ90Y+V5eA==}
|
|
||||||
|
|
||||||
'@react-hook/intersection-observer@3.1.2':
|
'@react-hook/intersection-observer@3.1.2':
|
||||||
resolution: {integrity: sha512-mWU3BMkmmzyYMSuhO9wu3eJVP21N8TcgYm9bZnTrMwuM818bEk+0NRM3hP+c/TqA9Ln5C7qE53p1H0QMtzYdvQ==}
|
resolution: {integrity: sha512-mWU3BMkmmzyYMSuhO9wu3eJVP21N8TcgYm9bZnTrMwuM818bEk+0NRM3hP+c/TqA9Ln5C7qE53p1H0QMtzYdvQ==}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
@@ -1287,11 +1251,6 @@ packages:
|
|||||||
esast-util-from-js@2.0.1:
|
esast-util-from-js@2.0.1:
|
||||||
resolution: {integrity: sha512-8Ja+rNJ0Lt56Pcf3TAmpBZjmx8ZcK5Ts4cAzIOjsjevg9oSXJnl6SUQ2EevU8tv3h6ZLWmoKL5H4fgWvdvfETw==}
|
resolution: {integrity: sha512-8Ja+rNJ0Lt56Pcf3TAmpBZjmx8ZcK5Ts4cAzIOjsjevg9oSXJnl6SUQ2EevU8tv3h6ZLWmoKL5H4fgWvdvfETw==}
|
||||||
|
|
||||||
esbuild-register@3.6.0:
|
|
||||||
resolution: {integrity: sha512-H2/S7Pm8a9CL1uhp9OvjwrBh5Pvx0H8qVOxNu8Wed9Y7qv56MPtq+GGM8RJpq6glYJn9Wspr8uw7l55uyinNeg==}
|
|
||||||
peerDependencies:
|
|
||||||
esbuild: '>=0.12 <1'
|
|
||||||
|
|
||||||
esbuild@0.25.2:
|
esbuild@0.25.2:
|
||||||
resolution: {integrity: sha512-16854zccKPnC+toMywC+uKNeYSv+/eXkevRAfwRD/G9Cleq66m8XFIrigkbvauLLlCfDL45Q2cWegSg53gGBnQ==}
|
resolution: {integrity: sha512-16854zccKPnC+toMywC+uKNeYSv+/eXkevRAfwRD/G9Cleq66m8XFIrigkbvauLLlCfDL45Q2cWegSg53gGBnQ==}
|
||||||
engines: {node: '>=18'}
|
engines: {node: '>=18'}
|
||||||
@@ -2072,16 +2031,6 @@ packages:
|
|||||||
potpack@1.0.2:
|
potpack@1.0.2:
|
||||||
resolution: {integrity: sha512-choctRBIV9EMT9WGAZHn3V7t0Z2pMQyl0EZE6pFc/6ml3ssw7Dlf/oAOvFwjm1HVsqfQN8GfeFyJ+d8tRzqueQ==}
|
resolution: {integrity: sha512-choctRBIV9EMT9WGAZHn3V7t0Z2pMQyl0EZE6pFc/6ml3ssw7Dlf/oAOvFwjm1HVsqfQN8GfeFyJ+d8tRzqueQ==}
|
||||||
|
|
||||||
prisma@6.6.0:
|
|
||||||
resolution: {integrity: sha512-SYCUykz+1cnl6Ugd8VUvtTQq5+j1Q7C0CtzKPjQ8JyA2ALh0EEJkMCS+KgdnvKW1lrxjtjCyJSHOOT236mENYg==}
|
|
||||||
engines: {node: '>=18.18'}
|
|
||||||
hasBin: true
|
|
||||||
peerDependencies:
|
|
||||||
typescript: '>=5.1.0'
|
|
||||||
peerDependenciesMeta:
|
|
||||||
typescript:
|
|
||||||
optional: true
|
|
||||||
|
|
||||||
prismjs@1.30.0:
|
prismjs@1.30.0:
|
||||||
resolution: {integrity: sha512-DEvV2ZF2r2/63V+tK8hQvrR2ZGn10srHbXviTlcv7Kpzw8jWiNTqbVgjO3IY8RxrrOUF8VPMQQFysYYYv0YZxw==}
|
resolution: {integrity: sha512-DEvV2ZF2r2/63V+tK8hQvrR2ZGn10srHbXviTlcv7Kpzw8jWiNTqbVgjO3IY8RxrrOUF8VPMQQFysYYYv0YZxw==}
|
||||||
engines: {node: '>=6'}
|
engines: {node: '>=6'}
|
||||||
@@ -3341,39 +3290,6 @@ snapshots:
|
|||||||
'@pkgjs/parseargs@0.11.0':
|
'@pkgjs/parseargs@0.11.0':
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
'@prisma/client@6.6.0(prisma@6.6.0(typescript@5.7.3))(typescript@5.7.3)':
|
|
||||||
optionalDependencies:
|
|
||||||
prisma: 6.6.0(typescript@5.7.3)
|
|
||||||
typescript: 5.7.3
|
|
||||||
|
|
||||||
'@prisma/config@6.6.0':
|
|
||||||
dependencies:
|
|
||||||
esbuild: 0.25.2
|
|
||||||
esbuild-register: 3.6.0(esbuild@0.25.2)
|
|
||||||
transitivePeerDependencies:
|
|
||||||
- supports-color
|
|
||||||
|
|
||||||
'@prisma/debug@6.6.0': {}
|
|
||||||
|
|
||||||
'@prisma/engines-version@6.6.0-53.f676762280b54cd07c770017ed3711ddde35f37a': {}
|
|
||||||
|
|
||||||
'@prisma/engines@6.6.0':
|
|
||||||
dependencies:
|
|
||||||
'@prisma/debug': 6.6.0
|
|
||||||
'@prisma/engines-version': 6.6.0-53.f676762280b54cd07c770017ed3711ddde35f37a
|
|
||||||
'@prisma/fetch-engine': 6.6.0
|
|
||||||
'@prisma/get-platform': 6.6.0
|
|
||||||
|
|
||||||
'@prisma/fetch-engine@6.6.0':
|
|
||||||
dependencies:
|
|
||||||
'@prisma/debug': 6.6.0
|
|
||||||
'@prisma/engines-version': 6.6.0-53.f676762280b54cd07c770017ed3711ddde35f37a
|
|
||||||
'@prisma/get-platform': 6.6.0
|
|
||||||
|
|
||||||
'@prisma/get-platform@6.6.0':
|
|
||||||
dependencies:
|
|
||||||
'@prisma/debug': 6.6.0
|
|
||||||
|
|
||||||
'@react-hook/intersection-observer@3.1.2(react@18.3.1)':
|
'@react-hook/intersection-observer@3.1.2(react@18.3.1)':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@react-hook/passive-layout-effect': 1.2.1(react@18.3.1)
|
'@react-hook/passive-layout-effect': 1.2.1(react@18.3.1)
|
||||||
@@ -4096,13 +4012,6 @@ snapshots:
|
|||||||
esast-util-from-estree: 2.0.0
|
esast-util-from-estree: 2.0.0
|
||||||
vfile-message: 4.0.2
|
vfile-message: 4.0.2
|
||||||
|
|
||||||
esbuild-register@3.6.0(esbuild@0.25.2):
|
|
||||||
dependencies:
|
|
||||||
debug: 4.4.0
|
|
||||||
esbuild: 0.25.2
|
|
||||||
transitivePeerDependencies:
|
|
||||||
- supports-color
|
|
||||||
|
|
||||||
esbuild@0.25.2:
|
esbuild@0.25.2:
|
||||||
optionalDependencies:
|
optionalDependencies:
|
||||||
'@esbuild/aix-ppc64': 0.25.2
|
'@esbuild/aix-ppc64': 0.25.2
|
||||||
@@ -5223,16 +5132,6 @@ snapshots:
|
|||||||
|
|
||||||
potpack@1.0.2: {}
|
potpack@1.0.2: {}
|
||||||
|
|
||||||
prisma@6.6.0(typescript@5.7.3):
|
|
||||||
dependencies:
|
|
||||||
'@prisma/config': 6.6.0
|
|
||||||
'@prisma/engines': 6.6.0
|
|
||||||
optionalDependencies:
|
|
||||||
fsevents: 2.3.3
|
|
||||||
typescript: 5.7.3
|
|
||||||
transitivePeerDependencies:
|
|
||||||
- supports-color
|
|
||||||
|
|
||||||
prismjs@1.30.0: {}
|
prismjs@1.30.0: {}
|
||||||
|
|
||||||
promise-worker-transferable@1.0.4:
|
promise-worker-transferable@1.0.4:
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
onlyBuiltDependencies:
|
onlyBuiltDependencies:
|
||||||
- '@prisma/client'
|
|
||||||
- '@prisma/engines'
|
|
||||||
- esbuild
|
- esbuild
|
||||||
- prisma
|
- sharp
|
||||||
|
|||||||
@@ -1,8 +0,0 @@
|
|||||||
import { PrismaClient } from "@prisma/client";
|
|
||||||
|
|
||||||
declare global {
|
|
||||||
var prisma: PrismaClient | undefined;
|
|
||||||
}
|
|
||||||
|
|
||||||
export const db = globalThis.prisma || new PrismaClient();
|
|
||||||
globalThis.prisma = db;
|
|
||||||
@@ -2,12 +2,12 @@ import { type Article, type Person, type WebSite, type WithContext } from "schem
|
|||||||
import type { CollectionEntry } from 'astro:content';
|
import type { CollectionEntry } from 'astro:content';
|
||||||
|
|
||||||
export const blogWebsite: WithContext<WebSite> = {
|
export const blogWebsite: WithContext<WebSite> = {
|
||||||
'@context': 'https://schema.org',
|
"@context": "https://schema.org",
|
||||||
'@type': 'WebSite',
|
"@type": "WebSite",
|
||||||
url: `${import.meta.env.SITE}/blog/`,
|
url: `${import.meta.env.SITE}/blog/`,
|
||||||
name: 'Dzmitry Kozhukh blog',
|
name: "Timothy Pidsashev - Blog",
|
||||||
description: 'Frontend insights',
|
description: "Timothy Pidsashev's blog",
|
||||||
inLanguage: 'en_US',
|
inLanguage: "en_US",
|
||||||
};
|
};
|
||||||
|
|
||||||
export const mainWebsite: WithContext<WebSite> = {
|
export const mainWebsite: WithContext<WebSite> = {
|
||||||
|
|||||||
@@ -329,3 +329,20 @@ button,
|
|||||||
background-color: #0a0a0a !important;
|
background-color: #0a0a0a !important;
|
||||||
padding: 0.5rem !important;
|
padding: 0.5rem !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Hide the "powered by giscus" text */
|
||||||
|
.gsc-comments .gsc-powered-by {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Alternative approach if the above doesn't work */
|
||||||
|
.gsc-comments footer {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Another approach targeting specifically the text */
|
||||||
|
.gsc-comments .gsc-powered-by a {
|
||||||
|
color: #000000 !important;
|
||||||
|
opacity: 0 !important;
|
||||||
|
visibility: hidden !important;
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user