Skip to content

Commit

Permalink
FIX: disabled devnet (#2135)
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxTheGeeek authored Dec 4, 2024
1 parent 03bf5c3 commit 6848fcc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
5 changes: 5 additions & 0 deletions launcher/public/output.css
Original file line number Diff line number Diff line change
Expand Up @@ -4327,6 +4327,11 @@ video {
background-color: rgb(63 63 70 / var(--tw-bg-opacity));
}

.bg-teal-900{
--tw-bg-opacity: 1;
background-color: rgb(19 78 74 / var(--tw-bg-opacity));
}

.bg-opacity-80{
--tw-bg-opacity: 0.8;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,13 @@
</div>

<div
class="col-start-1 col-span-full row-start-14 row-span-full w-full h-full bg-[#151618] rounded-md flex flex-col justify-between items-center p-1 shadow-sm shadow-black active:shadow-none border border-gray-700"
class="col-start-1 col-span-full row-start-14 row-span-full w-full h-full bg-[#151618] rounded-md flex flex-col justify-between items-center p-1 shadow-sm shadow-black border border-gray-700"
>
<span class="text-2xs text-center text-gray-100 font-semibold font-sans uppercase mt-1">Custom Network</span>

<div
class="w-full h-8 bg-teal-700 rounded-sm text-center p-1 cursor-pointer hover:bg-teal-900 transition-all duration-100"
:class="{ 'cursor-not-allowed pointer-events-none opacity-40': isDisabled }"
@click="createDevnet"
>
<span class="text-sm text-gray-200">Setup Devnet</span>
Expand All @@ -40,10 +41,12 @@
</template>

<script setup>
import { ref } from "vue";
import { useNodeManage } from "../../../../../store/nodeManage";
const emit = defineEmits(["getNetwork", "createDevnet"]);
const manageStore = useNodeManage();
const isDisabled = ref(true);
const getNetwork = (network) => {
emit("getNetwork", network);
Expand Down

0 comments on commit 6848fcc

Please sign in to comment.