fix: use PascalCase

This commit is contained in:
wancat committed 2023-08-01 20:54:49 +08:00
1 parent 8b151c443d
commit d26e68098a
8 files changed
+13 -13

No files matched your search

+12 -12
View File
@@ -1,38 +1,38 @@
<script setup> <script setup>
// Import components // Import components
import commandlistPart from './components/commandlistPart.vue' import CommandlistPart from './components/CommandlistPart.vue'
import headerPart from './components/headerPart.vue' import HeaderPart from './components/HeaderPart.vue'
import hintPart from './components/hintPart.vue' import HintPart from './components/HintPart.vue'
import questPart from './components/questPart.vue' import QuestPart from './components/QuestPart.vue'
import terminalPart from './components/terminalPart.vue' import TerminalPart from './components/TerminalPart.vue'
import visualizationPart from './components/visualizationPart.vue' import VisualizationPart from './components/VisualizationPart.vue'
</script> </script>
<template> <template>
<div class="bg-background-primary h-screen"> <div class="bg-background-primary h-screen">
<!--header--> <!--header-->
<div id="header" class="bg-background-secondary content-center h-[6%] p-1"> <div id="header" class="bg-background-secondary content-center h-[6%] p-1">
<headerPart /> <HeaderPart />
</div> </div>
<!--main--> <!--main-->
<div id="main" class="h-[94%] grid grid-cols-3 gap-3 p-3"> <div id="main" class="h-[94%] grid grid-cols-3 gap-3 p-3">
<!--Topic and Command List--> <!--Topic and Command List-->
<div class="bg-background-secondary inline-block h-full rounded-lg"> <div class="bg-background-secondary inline-block h-full rounded-lg">
<section id="quest" class="h-2/3 m-3"> <section id="quest" class="h-2/3 m-3">
<questPart /> <QuestPart />
</section> </section>
<hr class="border-text-line border" /> <hr class="border-text-line border" />
<section id="cmdlist" class="h-1/3"> <section id="cmdlist" class="h-1/3">
<commandlistPart /> <CommandlistPart />
</section> </section>
</div> </div>
<!--Terminal and Hint--> <!--Terminal and Hint-->
<div class="bg-background inline-block h-full py-2 rounded-lg"> <div class="bg-background inline-block h-full py-2 rounded-lg">
<section id="terminal" class="h-3/5"> <section id="terminal" class="h-3/5">
<terminalPart /> <TerminalPart />
</section> </section>
<section id="hint" class="h-2/5"> <section id="hint" class="h-2/5">
<hintPart /> <HintPart />
</section> </section>
</div> </div>
<!--Visualization--> <!--Visualization-->
@@ -40,7 +40,7 @@ import visualizationPart from './components/visualizationPart.vue'
<div class="bg-border rounded-xl h-[90%] px-3 py-6"> <div class="bg-border rounded-xl h-[90%] px-3 py-6">
<div class="bg-background rounded-xl h-full px-1 py-6"> <div class="bg-background rounded-xl h-full px-1 py-6">
<section id="visualization" class="bg-background-primary h-full"> <section id="visualization" class="bg-background-primary h-full">
<visualizationPart /> <VisualizationPart />
</section> </section>
</div> </div>
</div> </div>
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
+1 -1
View File
@@ -1,6 +1,5 @@
import { createApp } from 'vue' import { createApp } from 'vue'
import './style.css' import './style.css'
import App from './App.vue'
/* import the fontawesome core */ /* import the fontawesome core */
import { library } from '@fortawesome/fontawesome-svg-core' import { library } from '@fortawesome/fontawesome-svg-core'
@@ -25,6 +24,7 @@ import {
faCircleQuestion, faCircleQuestion,
faCircleRight, faCircleRight,
} from '@fortawesome/free-regular-svg-icons' } from '@fortawesome/free-regular-svg-icons'
import App from './App.vue'
/* add icons to the library */ /* add icons to the library */
library.add( library.add(