-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove existing app and replace with new layout
- Loading branch information
1 parent
982b827
commit a387ce5
Showing
20 changed files
with
859 additions
and
119 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
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,54 +1,40 @@ | ||
<script lang="ts" setup> | ||
import TopNav from '@/components/navigation/TopNav.vue' | ||
// import useUsers from '@/composables/users' | ||
// import { onMounted, ref } from 'vue' | ||
import useUsers from '@/composables/users' | ||
// const { user } = useUsers() | ||
// const showNoUserWarning = ref(false) | ||
// const loadingWidthMeasurement = ref(0) | ||
// onMounted(() => { | ||
// if(user.value.id.length === 0){ | ||
// showNoUserWarning.value = true | ||
// const loadingInterval = setInterval(()=>{ | ||
// if(loadingWidthMeasurement.value >= 100 || user.value.id.length > 0){ | ||
// showNoUserWarning.value = false | ||
// clearInterval(loadingInterval) | ||
// } | ||
// loadingWidthMeasurement.value = loadingWidthMeasurement.value + 0.1 | ||
// }, 10) | ||
// } | ||
// }) | ||
const { user } = useUsers() | ||
</script> | ||
|
||
<template> | ||
<div class="h-[100vh] overflow-hidden"> | ||
<div class="h-full flex flex-col"> | ||
<div class="min-w-[360px] w-full"> | ||
<TopNav /> | ||
</div> | ||
<div class="h-full bg-white flex justify-center w-full overflow-y-auto"> | ||
<div class="w-full h-full flex justify-center "> | ||
<div class="max-w-[1280px] min-w-[360px] w-full px-25"> | ||
<div class="py-25"> | ||
<slot /> | ||
</div> | ||
<div | ||
class="min-w-[360px] min-h-[100vh] h-[100vh] | ||
w-[100vw] flex justify-center items-start py-45 overflow-y-auto" | ||
> | ||
<div class="max-w-[1448px] w-full px-[140px]"> | ||
<div | ||
v-if="!user" | ||
class="flex justify-between items-center gap-45 w-full pb-[60px]" | ||
> | ||
<div class="flex items-center gap-50"> | ||
<div> | ||
<a href="https://www.casimir.co/"> | ||
<img | ||
src="/casimir.svg" | ||
alt="Casimir Logo" | ||
class="w-[30px]" | ||
> | ||
</a> | ||
</div> | ||
<div> | ||
<h6 class="text-grey_6 font-medium"> | ||
Dashboard | ||
</h6> | ||
</div> | ||
</div> | ||
<div class="text-grey_3"> | ||
Connect Wallet | ||
</div> | ||
</div> | ||
|
||
<div class="visible absolute noscreen:invisible top-0 left-0 h-full w-full bg-white flex flex-col justify-center items-center text-center px-20"> | ||
<i | ||
class="iconoir-enlarge-round-arrow text-[36px] text-grey_4 mb-10" | ||
/> | ||
<h6 class="text-grey_4 font-bold mb-20"> | ||
Casimir does not support this size of screen | ||
</h6> | ||
|
||
<h6 class="text-grey_3"> | ||
Please rotate to a landscape version or use a different device | ||
</h6> | ||
</div> | ||
<slot /> | ||
</div> | ||
</div> | ||
</template> |
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 |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<script lang="ts" setup> | ||
// | ||
</script> | ||
|
||
<template> | ||
<div class="grid grid-cols-8 gap-[24px] h-full w-full"> | ||
<div class="col-span-4 border h-[450px]"> | ||
<div> | ||
<h6 class="font-bold text-[#727476]"> | ||
Analytics | ||
</h6> | ||
</div> | ||
</div> <div class="col-span-1 h-[450px]" /> | ||
<div class="col-span-3 border h-[450px]"> | ||
<div> | ||
<h6 class="font-bold text-[#727476]"> | ||
Stake | ||
</h6> | ||
</div> | ||
</div> | ||
<div class="col-span-8 border h-[300px]"> | ||
<div> | ||
<h6 class="font-bold text-[#727476]"> | ||
Table | ||
</h6> | ||
</div> | ||
</div> | ||
</div> | ||
</template> |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.