-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
313 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -112,3 +112,4 @@ dist | |
dist-ssr | ||
*.local | ||
.vessel | ||
.idea |
36 changes: 36 additions & 0 deletions
36
src/PersonalWebSpace_frontend/assets/images/create-space.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 23 additions & 0 deletions
23
src/PersonalWebSpace_frontend/assets/images/open-internet-metaverse.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,49 @@ | ||
<div class="flex items-center justify-around flex-wrap bg-slate-600 p-3 text-l font-bold text-white"> | ||
<a href='#top'>Open Internet Metaverse</a> | ||
<a href='#/create'>Create</a> | ||
<a href='#/myspaces'>My Spaces</a> | ||
<a href='#/explore'>Explore</a> | ||
</div> | ||
<script lang="ts"> | ||
import LoginModal from "./LoginModal.svelte"; | ||
let openModal = false; | ||
function toggleModal() { | ||
openModal = !openModal; | ||
} | ||
function handleEscape({ key }) { | ||
if (key === "Escape") { | ||
openModal = false; | ||
} | ||
} | ||
</script> | ||
|
||
<svelte:window on:keyup={handleEscape} /> | ||
|
||
<nav class="bg-gray-800 border-gray-200 dark:bg-gray-900"> | ||
<div class="flex flex-wrap justify-between items-center mx-auto max-w-screen-xl p-4"> | ||
<a href="#top" class="flex items-center"> | ||
<img src="/images/open-internet-metaverse.svg" class="h-8 mr-3" alt="OIM Logo" /> | ||
</a> | ||
<div class="flex items-center"> | ||
<button on:click={toggleModal} type="button" class="text-white bg-blue-700 hover:bg-blue-800 focus:outline-none focus:ring-4 focus:ring-blue-300 font-medium rounded-full text-sm px-5 py-2.5 text-center mr-2 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800">Login</button> | ||
</div> | ||
</div> | ||
</nav> | ||
<nav class="bg-gray-700 dark:bg-gray-700"> | ||
<div class="max-w-screen-xl px-4 py-3 mx-auto"> | ||
<div class="flex items-center"> | ||
<ul class="flex flex-row font-medium mt-0 mr-6 space-x-8 text-sm"> | ||
<li> | ||
<a href="#/create" class="text-gray-300 dark:text-white hover:underline" aria-current="page">Create</a> | ||
</li> | ||
<li> | ||
<a href="#/myspaces" class="text-gray-100 dark:text-white hover:underline">My spaces</a> | ||
</li> | ||
<li> | ||
<a href="#/explore" class="text-gray-200 dark:text-white hover:underline">Explore</a> | ||
</li> | ||
</ul> | ||
</div> | ||
</div> | ||
</nav> | ||
|
||
<div class={openModal ? "" : "hidden"}> | ||
<LoginModal {toggleModal} /> | ||
</div> |
Oops, something went wrong.