5 Commits

Author SHA1 Message Date
zyachel
0aea2f47da fix(error): fix incorrect 'view on IMDb' link on error page
the error was due to a faulty logic. 'useRouter' was being used to detect pathname, which doesn't
keep original url on 404 page.
this commit fixes that.
this commit also makes it easy to go to
IMDb by adding a clear link on error page.

closes https://github.com/zyachel/libremdb/issues/50
2023-06-03 22:12:54 +05:30
zyachel
18ca98fd4a refactor: make components more modular
would help in implementing name route

also did some stylistic changes
2023-04-15 20:58:09 +05:30
zyachel
505ff4d839 refactor: replace relative paths with absolute ones in import statements 2023-01-28 22:09:27 +05:30
zyachel
5cc2ef02ce feat: add error boundary
makes crashes graceful
2023-01-22 21:14:46 +05:30
zyachel
57b050f196 refactor: refactor code a bit
make a hook to abstarct logic from page
changes to .prettierrc
changes to a couple of imports/exports
bunch of screen reader tweaks
2022-12-31 22:02:48 +05:30