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)
|
||||
- Tailwind CSS. This is my first project using it, after using SCSS Modules for many years
|
||||
- @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
|
||||
- Telegram Bot API (via [node-telegram-bot-api]) for parsing failure notifications
|
||||
- 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 { LastUpdateAt } from '@/entities/last-update-at'
|
||||
import { groups } from '@/shared/data/groups'
|
||||
import Head from 'next/head'
|
||||
|
||||
type PageProps = NextSerialized<{
|
||||
schedule: Day[]
|
||||
parsedAt: Date
|
||||
groupName: string
|
||||
}>
|
||||
|
||||
export default function HomePage(props: PageProps) {
|
||||
const { schedule, parsedAt, groupName } = nextDeserializer(props)
|
||||
const { schedule, parsedAt } = nextDeserializer(props)
|
||||
|
||||
return (
|
||||
<>
|
||||
@@ -47,8 +45,7 @@ export async function getServerSideProps(context: GetServerSidePropsContext<{ gr
|
||||
return {
|
||||
props: nextSerialized({
|
||||
schedule: schedule,
|
||||
parsedAt: parsedAt,
|
||||
groupName: 'fucking slaves'
|
||||
parsedAt: parsedAt
|
||||
})
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user