Fix hydration error; fix linter reports; fix t.me link
This commit is contained in:
1
.eslintignore
Normal file
1
.eslintignore
Normal file
@@ -0,0 +1 @@
|
||||
src/shadcn
|
||||
@@ -1,11 +1,11 @@
|
||||
/** @type {import('next').NextConfig} */
|
||||
const nextConfig = {
|
||||
reactStrictMode: true,
|
||||
redirects: {
|
||||
redirects: async () => ({
|
||||
permanent: false,
|
||||
destination: '/ps7',
|
||||
source: '/'
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
module.exports = nextConfig
|
||||
|
||||
@@ -1,9 +1,8 @@
|
||||
import { Day } from '@/shared/model/day'
|
||||
import { parsePage } from '@/app/parser/schedule'
|
||||
import contentTypeParser from 'content-type'
|
||||
// import { parse } from 'node-html-parser'
|
||||
import { JSDOM } from 'jsdom'
|
||||
import { content as mockContent } from './mock'
|
||||
// import { content as mockContent } from './mock'
|
||||
import { reportParserError } from '@/app/logger'
|
||||
|
||||
// ПС-7: 146
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -50,7 +50,7 @@ function Popup({ open, onClose }: {
|
||||
Для меня добавить вашу группу это даже не одна строка кода, а одно нажатие клавиши, но я хочу чтобы этот сайт был доступен только самым лучшим и избранным, достойных престижа <Image src={coolEmoji} width={14} height={14} alt='' className='inline align-text-bottom' />
|
||||
</DialogDescription>
|
||||
<DialogFooter className='!justify-start !flex-row mt-3 gap-3'>
|
||||
<Link href='https://t.me/hloth'>
|
||||
<Link href='https://t.me/hlothdev'>
|
||||
<Button tabIndex={-1} className='gap-3'><BsTelegram /> Мой телеграм</Button>
|
||||
</Link>
|
||||
<Link href='https://vk.com/hloth'>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { type ClassValue, clsx } from "clsx"
|
||||
import { twMerge } from "tailwind-merge"
|
||||
import { type ClassValue, clsx } from 'clsx'
|
||||
import { twMerge } from 'tailwind-merge'
|
||||
|
||||
export function cn(...inputs: ClassValue[]) {
|
||||
return twMerge(clsx(inputs))
|
||||
|
||||
@@ -60,7 +60,7 @@ export function Lesson({ lesson, width = 350 }: {
|
||||
}
|
||||
|
||||
return (
|
||||
<Card className={`w-full ${width === 450 ? `md:w-[450px] md:min-w-[450px] md:max-w-[450px]` : `md:w-[350px] md:min-w-[350px] md:max-w-[350px]`} flex flex-col relative overflow-hidden snap-start scroll-ml-16 shrink-0`}>
|
||||
<Card className={`w-full ${width === 450 ? 'md:w-[450px] md:min-w-[450px] md:max-w-[450px]' : 'md:w-[350px] md:min-w-[350px] md:max-w-[350px]'} flex flex-col relative overflow-hidden snap-start scroll-ml-16 shrink-0`}>
|
||||
{lesson.isChange && <div className='absolute top-0 left-0 w-full h-full bg-gradient-to-br from-[#ffc60026] to-[#95620026] pointer-events-none'></div>}
|
||||
<CardHeader>
|
||||
<div className='flex gap-4'>
|
||||
|
||||
Reference in New Issue
Block a user