mirror of
https://github.com/theoludwig/theoludwig.git
synced 2025-12-12 20:46:52 +01:00
chore: simplify TypeScript config
This commit is contained in:
@@ -2,10 +2,10 @@
|
||||
|
||||
import Image from "next/image"
|
||||
import { useMemo } from "react"
|
||||
import { Link } from "../../Design/Link/Link"
|
||||
import { useTheme } from "../../Layout/Header/SwitchTheme"
|
||||
import type { SkillName } from "./skills"
|
||||
import { SKILLS } from "./skills"
|
||||
import { Link } from "../../Design/Link/Link.tsx"
|
||||
import { useTheme } from "../../Layout/Header/SwitchTheme.tsx"
|
||||
import type { SkillName } from "./skills.ts"
|
||||
import { SKILLS } from "./skills.ts"
|
||||
|
||||
export interface SkillItemProps {
|
||||
skillName: SkillName
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import type { Meta, StoryObj } from "@storybook/react"
|
||||
|
||||
import { Skills as SkillsComponent } from "./Skills"
|
||||
import { Skills as SkillsComponent } from "./Skills.tsx"
|
||||
|
||||
const meta = {
|
||||
title: "Home/Skills",
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import { useTranslations } from "next-intl"
|
||||
import { Section, SectionTitle } from "../../Layout/Section/Section"
|
||||
import { SkillItem } from "./SkillItem"
|
||||
import { SkillsSection } from "./SkillsSection"
|
||||
import { SKILL_CATEGORIES, SKILL_NAMES_BY_CATEGORY } from "./skills"
|
||||
import { Section, SectionTitle } from "../../Layout/Section/Section.tsx"
|
||||
import { SkillItem } from "./SkillItem.tsx"
|
||||
import { SkillsSection } from "./SkillsSection.tsx"
|
||||
import { SKILL_CATEGORIES, SKILL_NAMES_BY_CATEGORY } from "./skills.ts"
|
||||
|
||||
export interface SkillsProps {}
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { Typography } from "../../Design/Typography/Typography"
|
||||
import { SectionContent } from "../../Layout/Section/Section"
|
||||
import { Typography } from "../../Design/Typography/Typography.tsx"
|
||||
import { SectionContent } from "../../Layout/Section/Section.tsx"
|
||||
|
||||
export interface SkillsSectionProps extends React.PropsWithChildren {
|
||||
title: string
|
||||
|
||||
Reference in New Issue
Block a user