1
0
Fork 0

refactor: use @ prefixed imports

This allows to get rid of the path `./../` and use a common way to import components or anything from `src/` directory.

IMHO this improves readability by a mile.
This commit is contained in:
Vojtěch Mareš 2022-12-03 19:30:30 +01:00
parent bcc4219124
commit 8280fb59d6
Signed by: vojtech.mares
GPG key ID: C6827B976F17240D
9 changed files with 25 additions and 25 deletions

View file

@ -1,9 +1,9 @@
import Link from 'next/link'
import { Container } from './../components/Container'
import { Container } from '@/components/Container'
// import { Logo } from '@/components/Logo'
import { NavLink } from './../components/NavLink'
import { Button } from './../components/Button'
// import { NavLink } from '@/components/NavLink'
import { Button } from '@/components/Button'
export function Footer() {
return (