refactor: import using style src over @import
This commit is contained in:
@@ -1,6 +1,4 @@
|
|||||||
<style lang="scss">
|
<style lang="scss" src="./BoxCTA.scss"></style>
|
||||||
@import "./BoxCTA";
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import Icon from '$components/atoms/Icon.svelte'
|
import Icon from '$components/atoms/Icon.svelte'
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
<style lang="scss">
|
<style lang="scss" src="./Button.scss"></style>
|
||||||
@import "./Button";
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { cx } from 'classix'
|
import { cx } from 'classix'
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
<style lang="scss">
|
<style lang="scss" src="./ButtonCart.scss"></style>
|
||||||
@import "./ButtonCart";
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { scale } from 'svelte/transition'
|
import { scale } from 'svelte/transition'
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
<style lang="scss">
|
<style lang="scss" src="./ButtonCircle.scss"></style>
|
||||||
@import "./ButtonCircle";
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { cx } from 'classix'
|
import { cx } from 'classix'
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
<style lang="scss">
|
<style lang="scss" src="./SiteTitle.scss"></style>
|
||||||
@import "./SiteTitle";
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import SplitText from '$components/SplitText.svelte'
|
import SplitText from '$components/SplitText.svelte'
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
<style lang="scss">
|
<style lang="scss" src="./PosterLayout.scss"></style>
|
||||||
@import "./PosterLayout";
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { addToCart } from '$utils/functions/shop'
|
import { addToCart } from '$utils/functions/shop'
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
<style lang="scss">
|
<style lang="scss" src="./CartItem.scss"></style>
|
||||||
@import "./CartItem";
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import ButtonCircle from '$components/atoms/ButtonCircle/ButtonCircle.svelte'
|
import ButtonCircle from '$components/atoms/ButtonCircle/ButtonCircle.svelte'
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
<style lang="scss">
|
<style lang="scss" src="./EmailForm.scss"></style>
|
||||||
@import "./EmailForm";
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { fly } from 'svelte/transition'
|
import { fly } from 'svelte/transition'
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
<style lang="scss">
|
<style lang="scss" src="./Heading.scss"></style>
|
||||||
@import "./Heading";
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import SiteTitle from '$components/atoms/SiteTitle/SiteTitle.svelte'
|
import SiteTitle from '$components/atoms/SiteTitle/SiteTitle.svelte'
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
<style lang="scss">
|
<style lang="scss" src="./House.scss"></style>
|
||||||
@import "./House";
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import dayjs from 'dayjs'
|
import dayjs from 'dayjs'
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
<style lang="scss">
|
<style lang="scss" src="./Location.scss"></style>
|
||||||
@import "./Location";
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { PUBLIC_PREVIEW_COUNT } from '$env/static/public'
|
import { PUBLIC_PREVIEW_COUNT } from '$env/static/public'
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
<style lang="scss">
|
<style lang="scss" src="./NewsletterIssue.scss"></style>
|
||||||
@import "./NewsletterIssue";
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import dayjs from 'dayjs'
|
import dayjs from 'dayjs'
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
<style lang="scss">
|
<style lang="scss" src="./NotificationCart.scss"></style>
|
||||||
@import "./NotificationCart";
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { fly } from 'svelte/transition'
|
import { fly } from 'svelte/transition'
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
<style lang="scss">
|
<style lang="scss" src="./Pagination.scss"></style>
|
||||||
@import "./Pagination";
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
let {
|
let {
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
<style lang="scss">
|
<style lang="scss" src="./PhotoCard.scss"></style>
|
||||||
@import "./PhotoCard";
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import Image from '$components/atoms/Image.svelte'
|
import Image from '$components/atoms/Image.svelte'
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
<style lang="scss">
|
<style lang="scss" src="./PostCard.scss"></style>
|
||||||
@import "./PostCard";
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { cx } from 'classix'
|
import { cx } from 'classix'
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
<style lang="scss">
|
<style lang="scss" src="./Poster.scss"></style>
|
||||||
@import "./Poster";
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { addToCart } from '$utils/functions/shop'
|
import { addToCart } from '$utils/functions/shop'
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
<style lang="scss">
|
<style lang="scss" src="./ProcessStep.scss"></style>
|
||||||
@import "./ProcessStep";
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { scale } from 'svelte/transition'
|
import { scale } from 'svelte/transition'
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
<style lang="scss">
|
<style lang="scss" src="./ShopLocationSwitcher.scss"></style>
|
||||||
@import "./ShopLocationSwitcher";
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { goto } from '$app/navigation'
|
import { goto } from '$app/navigation'
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
<style lang="scss">
|
<style lang="scss" src="./Switcher.scss"></style>
|
||||||
@import "./Switcher";
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { page } from '$app/stores'
|
import { page } from '$app/stores'
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
<style lang="scss">
|
<style lang="scss" src="./Toast.scss"></style>
|
||||||
@import "./Toast";
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { fade, fly } from 'svelte/transition'
|
import { fade, fly } from 'svelte/transition'
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
<style lang="scss">
|
<style lang="scss" src="./Banner.scss"></style>
|
||||||
@import "./Banner";
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
// Components
|
// Components
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
<style lang="scss">
|
<style lang="scss" src="./Carousel.scss"></style>
|
||||||
@import "./Carousel";
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { writable } from 'svelte/store'
|
import { writable } from 'svelte/store'
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
<style lang="scss">
|
<style lang="scss" src="./Cart.scss"></style>
|
||||||
@import "./Cart";
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { fade, fly } from 'svelte/transition'
|
import { fade, fly } from 'svelte/transition'
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
<style lang="scss">
|
<style lang="scss" src="./Collage.scss"></style>
|
||||||
@import "./Collage";
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import PhotoCard from '$components/molecules/PhotoCard/PhotoCard.svelte'
|
import PhotoCard from '$components/molecules/PhotoCard/PhotoCard.svelte'
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
<style lang="scss">
|
<style lang="scss" src="./Footer.scss"></style>
|
||||||
@import "./Footer";
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { getContext } from 'svelte'
|
import { getContext } from 'svelte'
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
<style lang="scss">
|
<style lang="scss" src="./InteractiveGlobe.scss"></style>
|
||||||
@import "./InteractiveGlobe";
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { dev } from '$app/environment'
|
import { dev } from '$app/environment'
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
<style lang="scss">
|
<style lang="scss" src="./Locations.scss"></style>
|
||||||
@import "./Locations";
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { getContext } from 'svelte'
|
import { getContext } from 'svelte'
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
<style lang="scss">
|
<style lang="scss" src="./NewsletterModule.scss"></style>
|
||||||
@import "./NewsletterModule";
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { getContext } from 'svelte'
|
import { getContext } from 'svelte'
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
<style lang="scss">
|
<style lang="scss" src="./PostersGrid.scss"></style>
|
||||||
@import "./PostersGrid";
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { getContext } from 'svelte'
|
import { getContext } from 'svelte'
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
<style lang="scss">
|
<style lang="scss" src="./ShopBanner.scss"></style>
|
||||||
@import "./ShopBanner";
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { navigating } from '$app/stores'
|
import { navigating } from '$app/stores'
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
<style lang="scss">
|
<style lang="scss" src="./ShopModule.scss"></style>
|
||||||
@import "./ShopModule";
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { getContext } from 'svelte'
|
import { getContext } from 'svelte'
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
<style lang="scss">
|
<style lang="scss" src="../../../style/pages/shop.scss"></style>
|
||||||
@import "../../../style/pages/shop";
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { setContext } from 'svelte'
|
import { setContext } from 'svelte'
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
<style lang="scss">
|
<style lang="scss" src="../../../../style/pages/location.scss"></style>
|
||||||
@import "../../../../style/pages/location";
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { PUBLIC_LIST_INCREMENT } from '$env/static/public'
|
import { PUBLIC_LIST_INCREMENT } from '$env/static/public'
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
<style lang="scss">
|
<style lang="scss" src="../../../../../style/pages/viewer.scss"></style>
|
||||||
@import "../../../../../style/pages/viewer";
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { page, navigating } from '$app/stores'
|
import { page, navigating } from '$app/stores'
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
<style lang="scss">
|
<style lang="scss" src="../../../style/pages/about.scss"></style>
|
||||||
@import "../../../style/pages/about";
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { navigating } from '$app/stores'
|
import { navigating } from '$app/stores'
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
<style lang="scss">
|
<style lang="scss" src="../../../style/pages/credits.scss"></style>
|
||||||
@import "../../../style/pages/credits";
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { navigating } from '$app/stores'
|
import { navigating } from '$app/stores'
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
<style lang="scss">
|
<style lang="scss" src="../../../style/pages/explore.scss"></style>
|
||||||
@import "../../../style/pages/explore";
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { getContext } from 'svelte'
|
import { getContext } from 'svelte'
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
<style lang="scss">
|
<style lang="scss" src="../../../style/pages/photos.scss"></style>
|
||||||
@import "../../../style/pages/photos";
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { PUBLIC_FILTERS_DEFAULT_COUNTRY, PUBLIC_FILTERS_DEFAULT_SORT, PUBLIC_GRID_INCREMENT } from '$env/static/public'
|
import { PUBLIC_FILTERS_DEFAULT_COUNTRY, PUBLIC_FILTERS_DEFAULT_SORT, PUBLIC_GRID_INCREMENT } from '$env/static/public'
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
<style lang="scss">
|
<style lang="scss" src="../../../style/pages/subscribe.scss"></style>
|
||||||
@import "../../../style/pages/subscribe";
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { navigating } from '$app/stores'
|
import { navigating } from '$app/stores'
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
<style lang="scss">
|
<style lang="scss" src="../../../style/pages/terms.scss"></style>
|
||||||
@import "../../../style/pages/terms";
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import dayjs from 'dayjs'
|
import dayjs from 'dayjs'
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
<style lang="scss">
|
<style lang="scss" src="../style/pages/error.scss"></style>
|
||||||
@import "../style/pages/error";
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { getContext } from 'svelte'
|
import { getContext } from 'svelte'
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
<style lang="scss">
|
<style lang="scss" src="../style/pages/homepage.scss"></style>
|
||||||
@import "../style/pages/homepage";
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { navigating } from '$app/stores'
|
import { navigating } from '$app/stores'
|
||||||
|
|||||||
Reference in New Issue
Block a user