mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2025-01-04 15:53:30 +03:00
Move more components into $lib
This commit is contained in:
parent
8d878ee96c
commit
1eb0ba432a
@ -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';
|
@ -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';
|
||||
|
@ -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';
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user