1
0
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:
2024-09-11 23:53:26 +02:00
parent 6853ac6884
commit 386f407f21
98 changed files with 2355 additions and 2682 deletions

View File

@@ -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

View File

@@ -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",

View File

@@ -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 {}

View File

@@ -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