Move more components into $lib

This commit is contained in:
Mattias Granlund 2024-01-29 14:41:54 +01:00
parent 8d878ee96c
commit 1eb0ba432a
17 changed files with 5 additions and 5 deletions

View File

@ -1,10 +1,10 @@
<script lang="ts">
import BaseBranchCard from './BaseBranchCard.svelte';
import Branches from './Branches.svelte';
import DomainButton from './DomainButton.svelte';
import Footer from './Footer.svelte';
import Header from './Header.svelte';
import ProjectSelector from './ProjectSelector.svelte';
import BaseBranchCard from '$lib/components/BaseBranchCard.svelte';
import Resizer from '$lib/components/Resizer.svelte';
import Tag from '$lib/components/Tag.svelte';
import { persisted } from '$lib/persisted/persisted';

View File

@ -1,8 +1,8 @@
<script lang="ts">
import ProjectSetup from './ProjectSetup.svelte';
import Navigation from './navigation/Navigation.svelte';
import { syncToCloud } from '$lib/backend/cloud';
import { handleMenuActions } from '$lib/backend/menu_actions';
import Navigation from '$lib/components/Navigation.svelte';
import NotOnGitButlerBranch from '$lib/components/NotOnGitButlerBranch.svelte';
import ProblemLoadingRepo from '$lib/components/ProblemLoadingRepo.svelte';
import { subscribe as menuSubscribe } from '$lib/menu';

View File

@ -3,10 +3,10 @@
import DetailsForm from './DetailsForm.svelte';
import KeysForm from './KeysForm.svelte';
import PreferencesForm from './PreferencesForm.svelte';
import ScrollableContainer from '$lib/components/ScrollableContainer.svelte';
import Spacer from '$lib/components/Spacer.svelte';
import Button from '$lib/components/Button.svelte';
import Modal from '$lib/components/Modal.svelte';
import ScrollableContainer from '$lib/components/ScrollableContainer.svelte';
import Spacer from '$lib/components/Spacer.svelte';
import * as toasts from '$lib/utils/toasts';
import type { UserError } from '$lib/backend/ipc';
import type { Key, Project } from '$lib/backend/projects';

View File

@ -2,6 +2,7 @@
import ThemeSelector from './ThemeSelector.svelte';
import { deleteAllData } from '$lib/backend/data';
import Button from '$lib/components/Button.svelte';
import GithubIntegration from '$lib/components/GithubIntegration.svelte';
import IconButton from '$lib/components/IconButton.svelte';
import Link from '$lib/components/Link.svelte';
import Login from '$lib/components/Login.svelte';
@ -16,7 +17,6 @@
import { invoke } from '@tauri-apps/api/tauri';
import type { PageData } from './$types';
import { goto } from '$app/navigation';
import GithubIntegration from '$lib/components/GithubIntegration.svelte';
export let data: PageData;
const { cloud, user$, userService } = data;