Fixed tech stack in README
This commit is contained in:
@@ -15,7 +15,7 @@ Reskin of https://lk.ks.psuti.ru/ since it lacks mobile support and is generally
|
|||||||
- React with Next.js v13.5 (pages router)
|
- React with Next.js v13.5 (pages router)
|
||||||
- Tailwind CSS. This is my first project using it, after using SCSS Modules for many years
|
- Tailwind CSS. This is my first project using it, after using SCSS Modules for many years
|
||||||
- @shadcn/ui components (built with Radix UI)
|
- @shadcn/ui components (built with Radix UI)
|
||||||
- node-html-parser for scraping, rehydration strategy for cache
|
- JSDOM for parsing scraped pages, rehydration strategy for cache
|
||||||
- TypeScript with types for each package
|
- TypeScript with types for each package
|
||||||
- Telegram Bot API (via [node-telegram-bot-api]) for parsing failure notifications
|
- Telegram Bot API (via [node-telegram-bot-api]) for parsing failure notifications
|
||||||
- Custom [js parser for teachers' photos](https://gist.github.com/VityaSchel/28f1a360ee7798511765910b39c6086c)
|
- Custom [js parser for teachers' photos](https://gist.github.com/VityaSchel/28f1a360ee7798511765910b39c6086c)
|
||||||
|
|||||||
@@ -6,16 +6,14 @@ import { NextSerialized, nextDeserializer, nextSerialized } from '@/app/utils/da
|
|||||||
import { NavBar } from '@/widgets/navbar'
|
import { NavBar } from '@/widgets/navbar'
|
||||||
import { LastUpdateAt } from '@/entities/last-update-at'
|
import { LastUpdateAt } from '@/entities/last-update-at'
|
||||||
import { groups } from '@/shared/data/groups'
|
import { groups } from '@/shared/data/groups'
|
||||||
import Head from 'next/head'
|
|
||||||
|
|
||||||
type PageProps = NextSerialized<{
|
type PageProps = NextSerialized<{
|
||||||
schedule: Day[]
|
schedule: Day[]
|
||||||
parsedAt: Date
|
parsedAt: Date
|
||||||
groupName: string
|
|
||||||
}>
|
}>
|
||||||
|
|
||||||
export default function HomePage(props: PageProps) {
|
export default function HomePage(props: PageProps) {
|
||||||
const { schedule, parsedAt, groupName } = nextDeserializer(props)
|
const { schedule, parsedAt } = nextDeserializer(props)
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
@@ -47,8 +45,7 @@ export async function getServerSideProps(context: GetServerSidePropsContext<{ gr
|
|||||||
return {
|
return {
|
||||||
props: nextSerialized({
|
props: nextSerialized({
|
||||||
schedule: schedule,
|
schedule: schedule,
|
||||||
parsedAt: parsedAt,
|
parsedAt: parsedAt
|
||||||
groupName: 'fucking slaves'
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user