feat: improve structure and error handling
This commit is contained in:
17
components/Header/LanguageSwitcher/index.tsx
Normal file
17
components/Header/LanguageSwitcher/index.tsx
Normal file
@@ -0,0 +1,17 @@
|
||||
import Image from "@/components/Image"
|
||||
|
||||
import styles from "./language.module.css"
|
||||
|
||||
export default function LanguageSwitcher() {
|
||||
return (
|
||||
<div className={styles.switcher}>
|
||||
<Image
|
||||
alt="Swedish flag"
|
||||
height={21}
|
||||
src="/_static/icons/sweden.svg"
|
||||
width={21}
|
||||
/>
|
||||
<span>SV / SEK</span>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user