Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
57 changes: 0 additions & 57 deletions src/lib/components/AuthenticationBox.svelte

This file was deleted.

6 changes: 3 additions & 3 deletions src/lib/components/main-content.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@
import { dateTimeFormat, longFormatDate } from "$lib/modules/utilities.js"

// __ COMPONENTS
import Blocks from "$lib/components/blocks/blocks.svelte"
import SeeAlso from "$lib/components/see-also.svelte"
import Blocks from "$lib/components/ui/content-parser/blocks.svelte"
import SeeAlso from "$lib/components/ui/content/see-also.svelte"
import PersonLink from "$lib/components/person-link.svelte"

// __ GRAPHICS
import ExternalLink from "$lib/components/graphics/external-link.svelte"
import ExternalLink from "$lib/components/ui/graphics/external-link.svelte"

// *** PROPS
export let page
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import has from "lodash/has.js"

// __ COMPONENTS
import Blocks from "./blocks.svelte"
import Blocks from "../content-parser/blocks.svelte"

// *** PROPS
export let b = {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import Divider from "./divider.svelte"
import Columns from "./columns.svelte"
import DonationWidget from "./donationWidget.svelte"
import ApplicationButton from "./applicationButton.svelte"
import ApplicationButton from "../../ui/buttons/applicationButton.svelte"
import Faq from "./faq.svelte"
import Video from "./video.svelte"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import slugify from "slugify"

// __ COMPONENTS
import QA from "$lib/components/qa.svelte"
import QA from "./qa.svelte"

// *** PROPS
export let b = {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import Text from "./text.svelte"

// __ GRAPHICS
import BlockBeam from "$lib/components/graphics/block-beam.svelte"
import BlockBeam from "$lib/components/ui/graphics/block-beam.svelte"

// *** PROPS
export let b = {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
import has from "lodash/has.js"

// __ COMPONENTS
import Blocks from "$lib/components/blocks/blocks.svelte"
import Blocks from "$lib/components/ui/content-parser/blocks.svelte"

// __ GRAPHICS
import ArrowDown from "$lib/components/graphics/arrow-down.svelte"
import ArrowLeft from "$lib/components/graphics/arrow-left.svelte"
import ArrowDown from "$lib/components/ui/graphics/arrow-down.svelte"
import ArrowLeft from "$lib/components/ui/graphics/arrow-left.svelte"

// *** PROPS
export let item = {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import PersonLink from "$lib/components/person-link.svelte"

// __ GRAPHICS
import ExternalLink from "$lib/components/graphics/external-link.svelte"
import ExternalLink from "$lib/components/ui/graphics/external-link.svelte"

// *** PROPS
export let b = {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import get from "lodash/get.js"

// __ GRAPHICS
import PlayArrow from "$lib/components/graphics/play-arrow.svelte"
import PlayArrow from "$lib/components/ui/graphics/play-arrow.svelte"

// *** PROPS
export let b = {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
import { enterArticle, leaveArticle, players } from "$lib/modules/engine.js"
import { dateTimeFormat, isUpcoming } from "$lib/modules/utilities.js"
import { checkObjectOverlap } from "$lib/modules/movement.js"
import VideoPlayer from "$lib/components/VideoPlayer.svelte"
import Blocks from "$lib/components/blocks/blocks.svelte"
import BulletinBoardEvent from "$lib/components/bulletin-board-event.svelte"
import VideoPlayer from "$lib/components/ui/media/VideoPlayer.svelte"
import Blocks from "$lib/components/ui/content-parser/blocks.svelte"
import BulletinBoardEvent from "$lib/components/ui/content/bulletin-board-event.svelte"

// *** PROPS
export let article = {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
renderBlockText,
renderBlockTextFromMainSite,
} from "$lib/modules/sanity.js"
import Blocks from "$lib/components/blocks/blocks.svelte"
import Blocks from "$lib/components/ui/content-parser/blocks.svelte"
import { dateTimeFormat, isUpcoming } from "$lib/modules/utilities.js"
export let event = {}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import get from "lodash/get.js"

// __ GRAPHICS
import ExternalLink from "$lib/components/graphics/external-link.svelte"
import ExternalLink from "$lib/components/ui/graphics/external-link.svelte"

// *** PROPS
export let externalLinks = []
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
import { quartOut } from "svelte/easing"
import { isPhone } from "$lib/modules/ui.js"
import getVideoId from "get-video-id"
import PlayArrow from "$lib/components/graphics/play-arrow.svelte"
import PauseBars from "$lib/components/graphics/pause-bars.svelte"
import PlayArrow from "$lib/components/ui/graphics/play-arrow.svelte"
import PauseBars from "$lib/components/ui/graphics/pause-bars.svelte"

// *** PROPS
export let streamUrl = ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,17 @@
// # # # # # # # # # # # # #

// __ IMPORT
import Clock from "$lib/components/Clock.svelte"
import Clock from "$lib/components/ui/Clock.svelte"
import sample from "lodash/sample.js"
import { loadDataFromMainSite } from "$lib/modules/sanity.js"
import has from "lodash/has.js"

// __ COMPONENTS
import Blocks from "$lib/components/blocks/blocks.svelte"
import Blocks from "$lib/components/ui/content-parser/blocks.svelte"

// __ GRAPHICS
import FullBeam from "$lib/components/graphics/full-beam.svelte"
import ArrowDown from "$lib/components/graphics/arrow-down.svelte"
import FullBeam from "$lib/components/ui/graphics/full-beam.svelte"
import ArrowDown from "$lib/components/ui/graphics/arrow-down.svelte"

// __ STORES
import { trayOpen, activeCity,activeMouse, activeVideoLibrary,VIDEO_LIBRARY_SLUG, urlHash } from "$lib/modules/ui.js"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
//
// # # # # # # # # # # # # #
import { fade } from "svelte/transition"
import AnimatedBeam from "$lib/components/graphics/animated-beam.svelte"
import AnimatedBeam from "$lib/components/ui/graphics/animated-beam.svelte"
</script>

<div class="loading-screen" transition:fade={{ delay: 500 }}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import { loadOnboardingTutorial } from "$lib/modules/world.js"
import { renderBlockText } from "$lib/modules/sanity.js"
import get from "lodash/get.js"
import AvatarPicker from "$lib/components/AvatarPicker.svelte"
import AvatarPicker from "$lib/components/ui/overlays/AvatarPicker.svelte"
import { isPhone } from "$lib/modules/ui.js"
import { createEventDispatcher } from "svelte"
const dispatch = createEventDispatcher()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

import { isPhone } from "$lib/modules/ui.js"
// *** GRAPHICS
import TriangleDown from "$lib/components/graphics/triangle-down.svelte"
import TriangleDown from "$lib/components/ui/graphics/triangle-down.svelte"
const dispatch = createEventDispatcher()
const transitionSettings = { duration: 500 }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// Players
//
// # # # # # # # # # # # # #
import Avatar from "$lib/components/world-layers/avatars/Avatar.svelte"
import Avatar from "$lib/components/world/avatars/Avatar.svelte"

// *** PROPS
export let players = {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
import { fade } from "svelte/transition"
import { quartOut } from "svelte/easing"
import { activeFeed } from "$lib/modules//ui.js"
import Blocks from "$lib/components/blocks/blocks.svelte"
import FeedItem from "$lib/components/world-layers/feed/FeedItem.svelte"
import Blocks from "$lib/components/ui/content-parser/blocks.svelte"
import FeedItem from "$lib/components/world/feed/FeedItem.svelte"
export let feedItems = []
export let isActive = false
export let artistImageUrl
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script>
import Blocks from "$lib/components/blocks/blocks.svelte"
import Blocks from "$lib/components/ui/content-parser/blocks.svelte"
export let feedItem = {}
</script>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import { showLabels, toolTipConfig } from "$lib/modules/ui.js"
import { GRID_SIZE } from "$lib/modules/world.js"
// IMPORTS
import Blocks from "$lib/components/blocks/blocks.svelte"
import Blocks from "$lib/components/ui/content-parser/blocks.svelte"


// *** PROPS
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,8 @@
export let vLib = []
import { videoLibrary } from "$lib/modules/world.js"
import { dateTimeFormat, isUpcoming, isOngoing, sortByDate } from "$lib/modules/utilities.js"
import Embed from "$lib/components/blocks/embed.svelte"
import {STATE, uiState, isPhone} from '$lib/modules/ui.js'
console.log('is phone: ', isPhone)
import { activeArticle } from "$lib/modules/ui.js"
let selected = null;

$: console.log('video library: ', videoLibrary)
Expand Down
18 changes: 7 additions & 11 deletions src/routes/__layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,14 @@
// * * * * * * * * * * * * * * * * * * * * * * * * * * *

// *** OVERLAYS
import LoadingScreen from "$lib/components/overlays/LoadingScreen.svelte"
import Error from "$lib/components/overlays/Error.svelte"
import Reconnection from "$lib/components/overlays/Reconnection.svelte"
import LoadingScreen from "$lib/components/ui/overlays/LoadingScreen.svelte"
import Error from "$lib/components/ui/overlays/Error.svelte"
import Reconnection from "$lib/components/ui/overlays/Reconnection.svelte"
// *** UI COMPONENTS
import Menubar from "$lib/components/menubar.svelte"
import AuthenticationBox from "$lib/components/AuthenticationBox.svelte"
import Menubar from "$lib/components/ui/navigation/menubar.svelte"
// *** GRAPHICS
import SoundOn from "$lib/components/graphics/SoundOn.svelte"
import SoundOff from "$lib/components/graphics/SoundOff.svelte"
import SoundOn from "$lib/components/ui/graphics/SoundOn.svelte"
import SoundOff from "$lib/components/ui/graphics/SoundOff.svelte"
import {
STATE,
uiState,
Expand Down Expand Up @@ -54,10 +53,7 @@
<!-- Content from index.svelte -->
<slot />

<!-- AUTH TEST BOX -->
{#if $uiState == STATE.READY && !$activeArticle}
<!-- <AuthenticationBox /> -->
{/if}


<!-- LOADING -->
{#if $uiState == STATE.LOADING}
Expand Down
32 changes: 16 additions & 16 deletions src/routes/index.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -15,27 +15,27 @@
import { isMobileOrTablet} from "$lib/modules/utilities.js"

// *** OVERLAYS
import Onboarding from "$lib/components/overlays/Onboarding.svelte"
import Onboarding from "$lib/components/ui/overlays/Onboarding.svelte"
// *** WORLD LAYERS
import Room from "$lib/components/world-layers/Room.svelte"
import Players from "$lib/components/world-layers/Players.svelte"
import Objects from "$lib/components/world-layers/objects/Objects.svelte"
import Feed from "$lib/components/world-layers/feed/Feed.svelte"
import Zones from "$lib/components/world-layers/zones/Zones.svelte"
import AmbientAudio from "$lib/components/world-layers/AmbientAudio.svelte"
import Portals from "$lib/components/world-layers/portals/Portals.svelte"
import StreamPlayer from "$lib/components/StreamPlayer.svelte"
import ArticleBox from "$lib/components/ArticleBox.svelte"
import Room from "$lib/components/world/Room.svelte"
import Players from "$lib/components/world/Players.svelte"
import Objects from "$lib/components/world/objects/Objects.svelte"
import Feed from "$lib/components/world/feed/Feed.svelte"
import Zones from "$lib/components/world/zones/Zones.svelte"
import AmbientAudio from "$lib/components/world/AmbientAudio.svelte"
import Portals from "$lib/components/world/portals/Portals.svelte"
import StreamPlayer from "$lib/components/ui/media/StreamPlayer.svelte"
import ArticleBox from "$lib/components/ui/content/ArticleBox.svelte"
// *** TEXT COMPONENTS
import RoomEntryBox from "$lib/components/text-components/RoomEntryBox.svelte"
import ObjectInspectionBox from "$lib/components/text-components/ObjectInspectionBox.svelte"
import Caption from "$lib/components/text-components/Caption.svelte"
import RoomEntryBox from "$lib/components/ui/text/RoomEntryBox.svelte"
import ObjectInspectionBox from "$lib/components/ui/text/ObjectInspectionBox.svelte"
import Caption from "$lib/components/ui/text/Caption.svelte"
// *** CHAT
import Chat from "$lib/components/chat/Chat.svelte"
// *** SCHEDULE
// import Schedule from "$lib/components/world-layers/schedule/Schedule.svelte"
// import Schedule from "$lib/components/world/schedule/Schedule.svelte"
// *** PHONE
import PhoneNavigation from "$lib/components/PhoneNavigation.svelte"
import PhoneNavigation from "$lib/components/ui/navigation/PhoneNavigation.svelte"

import {
connectToGameServer,
Expand Down Expand Up @@ -93,7 +93,7 @@
infoLogger,
errorLogger,
} from "$lib/modules/utilities.js"
import VideoLibrary from "../lib/components/world-layers/videoLibraries/VideoLibrary.svelte";
import VideoLibrary from "../lib/components/ui/media/videoLibraries/VideoLibrary.svelte";

// *** VARIABLES
let viewportElement = {}
Expand Down