Skip to content

Commit

Permalink
simplified file names
Browse files Browse the repository at this point in the history
  • Loading branch information
onderonur committed Nov 20, 2024
1 parent b852169 commit 4d39b12
Show file tree
Hide file tree
Showing 13 changed files with 10 additions and 14 deletions.
3 changes: 1 addition & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,5 @@
// https://marketplace.visualstudio.com/items?itemName=bradlc.vscode-tailwindcss
"editor.quickSuggestions": {
"strings": "on"
},
"todo-tree.tree.scanMode": "workspace"
}
}
2 changes: 1 addition & 1 deletion src/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { APP_TITLE } from '@/core/core.utils';
import { Layout } from '@/core/layouts/components/layout';
import { APP_TITLE } from '@/core/shared/utils';
import '@/core/styles/globals.css';
import { BaseToastContainer } from '@/core/ui/components/base-toast-container';
import type { Viewport } from 'next';
Expand Down
2 changes: 1 addition & 1 deletion src/core/layouts/components/hero.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { APP_TITLE } from '@/core/core.utils';
import { APP_TITLE } from '@/core/shared/utils';

export function Hero() {
return (
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/core/ui/components/radio-group.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { createContext, use } from 'react';
import { twMerge } from 'tailwind-merge';
import { useFocusVisible } from '../ui.hooks';
import { useFocusVisible } from '../hooks';

type RadioGroupContextValue = {
name: string;
Expand Down
2 changes: 1 addition & 1 deletion src/core/ui/components/ranger.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { twMerge } from 'tailwind-merge';
import type { Omit } from '../../core.types';
import type { Omit } from '../../shared/types';

type RangerProps = Omit<React.ComponentPropsWithoutRef<'input'>, 'type'>;

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/features/editor/components/editor.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { ThemeName } from '@/features/editor/editor.types';
import type { ThemeName } from '@/features/editor/types';
import type { Extension } from '@codemirror/state';
import { EditorView } from '@codemirror/view';
import type { LanguageName } from '@uiw/codemirror-extensions-langs';
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as themes from '@uiw/codemirror-themes-all';
import type { ThemeName } from './editor.types';
import type { ThemeName } from './types';

export const themeNames = Object.keys(themes)
.filter((themeName) => !themeName.endsWith('Init'))
Expand Down
5 changes: 1 addition & 4 deletions src/features/exportable-editor/components/settings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,7 @@ import { Checkbox } from '@/core/ui/components/checkbox';
import { Divider } from '@/core/ui/components/divider';
import { Label } from '@/core/ui/components/label';
import { Ranger } from '@/core/ui/components/ranger';
import type {
LanguageOption,
ThemeOption,
} from '@/features/editor/editor.types';
import type { LanguageOption, ThemeOption } from '@/features/editor/types';
import { BackgroundRadioGroup } from '@/features/exportable-editor/components/background-radio-group';
import { LanguageSelect } from '@/features/exportable-editor/components/language-select';
import { ThemeSelect } from '@/features/exportable-editor/components/theme-select';
Expand Down
4 changes: 2 additions & 2 deletions src/features/exportable-editor/components/theme-select.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import type { BaseSelectProps } from '@/core/ui/components/base-select';
import { BaseSelect } from '@/core/ui/components/base-select';
import { Editor } from '@/features/editor/components/editor';
import type { ThemeOption } from '@/features/editor/editor.types';
import { themeNames } from '@/features/editor/editor.utils';
import type { ThemeOption } from '@/features/editor/types';
import { themeNames } from '@/features/editor/utils';
import type { OptionProps } from 'react-select';
import { components } from 'react-select';

Expand Down

0 comments on commit 4d39b12

Please sign in to comment.