postmerge

This commit is contained in:
Untone 2024-05-04 20:17:47 +03:00
parent b1cd3d917b
commit b36e39edf0
4 changed files with 14 additions and 7 deletions

View File

@ -129,7 +129,7 @@
"typograf": "7.3.0",
"uniqolor": "1.1.0",
"vike": "0.4.148",
"vite": "5.2.10",
"vite": "5.2.11",
"vite-plugin-mkcert": "^1.17.3",
"vite-plugin-node-polyfills": "0.21.0",
"vite-plugin-sass-dts": "^1.3.17",

View File

@ -57,7 +57,7 @@ export const HeaderAuth = (props: Props) => {
toggleEditorPanel()
}
const handleSaveClick = () => {
const _handleSaveClick = () => {
const hasTopics = form.selectedTopics?.length > 0
if (hasTopics) {
saveShout(form)

View File

@ -45,9 +45,11 @@
.info {
@include font-size(1.4rem);
border: none;
//display: flex;
//flex-direction: column;
// display: flex;
// flex-direction: column;
&:hover {
background: unset;
@ -61,11 +63,13 @@
.title {
@include font-size(2.2rem);
font-weight: bold;
}
.description {
@include font-size(1.6rem);
line-height: 1.4;
margin: 0.8rem 0;
-webkit-line-clamp: 2;
@ -103,6 +107,7 @@
.title {
@include font-size(1.4rem);
font-weight: 500;
line-height: 1em;
color: var(--blue-500);
@ -111,7 +116,9 @@
.description {
color: var(--black-400);
@include font-size(1.2rem);
font-weight: 500;
margin: 0;
}

View File

@ -1,7 +1,7 @@
import type { PageContextBuiltInClientWithClientRouting } from 'vike/types'
import type { PageContext } from './types'
import * as Sentry from '@sentry/browser'
import { init as SentryInit, replayIntegration } from '@sentry/browser'
import i18next from 'i18next'
import HttpApi from 'i18next-http-backend'
import ICU from 'i18next-icu'
@ -21,10 +21,10 @@ export const render = async (pageContext: PageContextBuiltInClientWithClientRout
const searchParams = Object.fromEntries(new URLSearchParams(search))
initRouter(pathname, searchParams)
Sentry.init({
SentryInit({
dsn: GLITCHTIP_DSN,
tracesSampleRate: 0.01,
integrations: [Sentry.replayIntegration()],
integrations: [replayIntegration()],
// Session Replay
replaysSessionSampleRate: 0.1, // This sets the sample rate at 10%. You may want to change it to 100% while in development and then sample at a lower rate in production.
replaysOnErrorSampleRate: 1.0, // If you're not already sampling the entire session, change the sample rate to 100% when sampling sessions where errors occur.