mirror of
https://github.com/theoludwig/theoludwig.git
synced 2025-05-29 22:37:44 +02:00
chore: simplify TypeScript config
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
import type { Meta, StoryObj } from "@storybook/react"
|
||||
|
||||
import { About as AboutComponent } from "./About"
|
||||
import { About as AboutComponent } from "./About.tsx"
|
||||
|
||||
const meta = {
|
||||
title: "Home/About",
|
||||
|
@ -1,9 +1,9 @@
|
||||
import { Section, SectionContent } from "../../Layout/Section/Section"
|
||||
import { AboutDescription } from "./AboutDescription"
|
||||
import { AboutIntroduction } from "./AboutIntroduction"
|
||||
import { AboutList } from "./AboutList/AboutList"
|
||||
import { AboutLogo } from "./AboutLogo"
|
||||
import { SocialMediaList } from "./SocialMediaList/SocialMediaList"
|
||||
import { Section, SectionContent } from "../../Layout/Section/Section.tsx"
|
||||
import { AboutDescription } from "./AboutDescription.tsx"
|
||||
import { AboutIntroduction } from "./AboutIntroduction.tsx"
|
||||
import { AboutList } from "./AboutList/AboutList.tsx"
|
||||
import { AboutLogo } from "./AboutLogo.tsx"
|
||||
import { SocialMediaList } from "./SocialMediaList/SocialMediaList.tsx"
|
||||
|
||||
export interface AboutProps {}
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { useTranslations } from "next-intl"
|
||||
import { Button } from "../../Design/Button/Button"
|
||||
import { Typography } from "../../Design/Typography/Typography"
|
||||
import { Button } from "../../Design/Button/Button.tsx"
|
||||
import { Typography } from "../../Design/Typography/Typography.tsx"
|
||||
|
||||
export interface AboutDescriptionProps {}
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { useTranslations } from "next-intl"
|
||||
import { Typography } from "../../Design/Typography/Typography"
|
||||
import { Typography } from "../../Design/Typography/Typography.tsx"
|
||||
|
||||
export interface AboutIntroductionProps {}
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { useTranslations } from "next-intl"
|
||||
import { AboutItem } from "./AboutItem"
|
||||
import { BirthDate } from "./BirthDate"
|
||||
import { AboutItem } from "./AboutItem.tsx"
|
||||
import { BirthDate } from "./BirthDate.tsx"
|
||||
|
||||
export interface AboutListProps {}
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { Icon } from "./Icon"
|
||||
import { Icon } from "./Icon.tsx"
|
||||
|
||||
export const EmailIcon: React.FC<React.SVGProps<SVGSVGElement>> = (props) => {
|
||||
return (
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { Icon } from "./Icon"
|
||||
import { Icon } from "./Icon.tsx"
|
||||
|
||||
export const GitHubIcon: React.FC<React.SVGProps<SVGSVGElement>> = (props) => {
|
||||
return (
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { Icon } from "./Icon"
|
||||
import { Icon } from "./Icon.tsx"
|
||||
|
||||
export const GitLabIcon: React.FC<React.SVGProps<SVGSVGElement>> = (props) => {
|
||||
return (
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { Icon } from "./Icon"
|
||||
import { Icon } from "./Icon.tsx"
|
||||
|
||||
export const NPMIcon: React.FC<React.SVGProps<SVGSVGElement>> = (props) => {
|
||||
return (
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { Icon } from "./Icon"
|
||||
import { Icon } from "./Icon.tsx"
|
||||
|
||||
export const TwitchIcon: React.FC<React.SVGProps<SVGSVGElement>> = (props) => {
|
||||
return (
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { Icon } from "./Icon"
|
||||
import { Icon } from "./Icon.tsx"
|
||||
|
||||
export const TwitterIcon: React.FC<React.SVGProps<SVGSVGElement>> = (props) => {
|
||||
return (
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { Icon } from "./Icon"
|
||||
import { Icon } from "./Icon.tsx"
|
||||
|
||||
export const YouTubeIcon: React.FC<React.SVGProps<SVGSVGElement>> = (props) => {
|
||||
return (
|
||||
|
@ -1,11 +1,11 @@
|
||||
import { EmailIcon } from "./SocialMediaIcons/EmailIcon"
|
||||
import { GitHubIcon } from "./SocialMediaIcons/GitHubIcon"
|
||||
import { GitLabIcon } from "./SocialMediaIcons/GitLabIcon"
|
||||
import { NPMIcon } from "./SocialMediaIcons/NPMIcon"
|
||||
import { TwitchIcon } from "./SocialMediaIcons/TwitchIcon"
|
||||
import { TwitterIcon } from "./SocialMediaIcons/TwitterIcon"
|
||||
import { YouTubeIcon } from "./SocialMediaIcons/YouTubeIcon"
|
||||
import { SocialMediaItem } from "./SocialMediaItem"
|
||||
import { EmailIcon } from "./SocialMediaIcons/EmailIcon.tsx"
|
||||
import { GitHubIcon } from "./SocialMediaIcons/GitHubIcon.tsx"
|
||||
import { GitLabIcon } from "./SocialMediaIcons/GitLabIcon.tsx"
|
||||
import { NPMIcon } from "./SocialMediaIcons/NPMIcon.tsx"
|
||||
import { TwitchIcon } from "./SocialMediaIcons/TwitchIcon.tsx"
|
||||
import { TwitterIcon } from "./SocialMediaIcons/TwitterIcon.tsx"
|
||||
import { YouTubeIcon } from "./SocialMediaIcons/YouTubeIcon.tsx"
|
||||
import { SocialMediaItem } from "./SocialMediaItem.tsx"
|
||||
|
||||
export interface SocialMediaListProps {}
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { Typography } from "../../Design/Typography/Typography"
|
||||
import { Typography } from "../../Design/Typography/Typography.tsx"
|
||||
|
||||
export interface InterestItemProps {
|
||||
title: string
|
||||
|
@ -1,6 +1,6 @@
|
||||
import type { Meta, StoryObj } from "@storybook/react"
|
||||
|
||||
import { Interests as InterestsComponent } from "./Interests"
|
||||
import { Interests as InterestsComponent } from "./Interests.tsx"
|
||||
|
||||
const meta = {
|
||||
title: "Home/Interests",
|
||||
|
@ -1,13 +1,13 @@
|
||||
import { GIT_REPO_LINK } from "@repo/utils/constants"
|
||||
import { useTranslations } from "next-intl"
|
||||
import { FaGit, FaMicrochip } from "react-icons/fa"
|
||||
import { Link } from "../../Design/Link/Link"
|
||||
import { Link } from "../../Design/Link/Link.tsx"
|
||||
import {
|
||||
Section,
|
||||
SectionContent,
|
||||
SectionTitle,
|
||||
} from "../../Layout/Section/Section"
|
||||
import { InterestItem } from "./InterestItem"
|
||||
} from "../../Layout/Section/Section.tsx"
|
||||
import { InterestItem } from "./InterestItem.tsx"
|
||||
|
||||
export interface InterestsProps {}
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
import type { Meta, StoryObj } from "@storybook/react"
|
||||
|
||||
import { OpenSource as OpenSourceComponent } from "./OpenSource"
|
||||
import { OpenSource as OpenSourceComponent } from "./OpenSource.tsx"
|
||||
|
||||
const meta = {
|
||||
title: "Home/OpenSource",
|
||||
|
@ -3,8 +3,8 @@ import {
|
||||
Section,
|
||||
SectionDescription,
|
||||
SectionTitle,
|
||||
} from "../../Layout/Section/Section"
|
||||
import { Repository } from "./Repository"
|
||||
} from "../../Layout/Section/Section.tsx"
|
||||
import { Repository } from "./Repository.tsx"
|
||||
|
||||
export interface OpenSourceProps {}
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { Typography } from "../../Design/Typography/Typography"
|
||||
import { SectionContent } from "../../Layout/Section/Section"
|
||||
import { GitHubIcon } from "../About/SocialMediaList/SocialMediaIcons/GitHubIcon"
|
||||
import { Typography } from "../../Design/Typography/Typography.tsx"
|
||||
import { SectionContent } from "../../Layout/Section/Section.tsx"
|
||||
import { GitHubIcon } from "../About/SocialMediaList/SocialMediaIcons/GitHubIcon.tsx"
|
||||
|
||||
export interface RepositoryProps {
|
||||
name: string
|
||||
|
@ -1,6 +1,6 @@
|
||||
import type { Meta, StoryObj } from "@storybook/react"
|
||||
|
||||
import { Portfolio as PortfolioComponent } from "./Portfolio"
|
||||
import { Portfolio as PortfolioComponent } from "./Portfolio.tsx"
|
||||
|
||||
const meta = {
|
||||
title: "Home/Portfolio",
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { useTranslations } from "next-intl"
|
||||
import { Section, SectionTitle } from "../../Layout/Section/Section"
|
||||
import { PortfolioItem, type PortfolioProject } from "./PortfolioItem"
|
||||
import { Section, SectionTitle } from "../../Layout/Section/Section.tsx"
|
||||
import { PortfolioItem, type PortfolioProject } from "./PortfolioItem.tsx"
|
||||
|
||||
export interface PortfolioProps {}
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
import Image from "next/image"
|
||||
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 PortfolioProject {
|
||||
id: string
|
||||
|
@ -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