mirror of
https://github.com/DiscordFactory/website-documentation.git
synced 2026-01-14 17:34:22 +01:00
🚧 Define typo
This commit is contained in:
@@ -138,9 +138,9 @@
|
||||
<main class="flex-1 relative z-0 focus:outline-none">
|
||||
<div class="py-6 space-y-5">
|
||||
<div class="max-w-7xl mx-auto px-4 sm:px-6 md:px-8">
|
||||
<h1 class="text-4xl font-semibold text-gray-900 dark:text-white">{{ title }}</h1>
|
||||
<h1 class="text-4xl font-semibold text-[#204977] dark:text-white">{{ title }}</h1>
|
||||
</div>
|
||||
<div class="max-w-7xl mx-auto px-4 sm:px-6 md:px-8 dark:text-gray-400">
|
||||
<div class="max-w-7xl mx-auto px-4 sm:px-6 md:px-8 dark:text-gray-400 space-y-6">
|
||||
<slot />
|
||||
</div>
|
||||
</div>
|
||||
@@ -202,4 +202,35 @@ function scrollMeTo (refName) {
|
||||
window.scroll(0, top - 64);
|
||||
}
|
||||
|
||||
</script>
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
h1 {
|
||||
color: #204977;
|
||||
}
|
||||
h2 {
|
||||
@apply text-3xl leading-10;
|
||||
color: #204977;
|
||||
}
|
||||
h3 {
|
||||
@apply text-2xl leading-10;
|
||||
color: #204977;
|
||||
}
|
||||
h4 {
|
||||
@apply text-2xl leading-10;
|
||||
color: #204977;
|
||||
}
|
||||
h5 {
|
||||
@apply text-xl leading-10;
|
||||
color: #204977;
|
||||
}
|
||||
h6 {
|
||||
@apply text-lg leading-10;
|
||||
color: #204977;
|
||||
}
|
||||
ul {
|
||||
li {
|
||||
@apply leading-8
|
||||
}
|
||||
}
|
||||
</style>
|
||||
35
src/templates/modules/documentation/Getting-started.vue
Normal file
35
src/templates/modules/documentation/Getting-started.vue
Normal file
@@ -0,0 +1,35 @@
|
||||
<template>
|
||||
<Documentation title="Dashboard">
|
||||
<p>
|
||||
Are you tired of reinventing the wheel at the start of each project, and of spending too much time on how your bot will work?
|
||||
</p>
|
||||
<p>
|
||||
The Discord Factory framework offers you a completely free development structure. You choose how you organize your application.
|
||||
</p>
|
||||
<p>
|
||||
Creation, Structural, Behavioural or even Singleton, you can finally choose your own design pattern without being forced to modify the whole functioning of your project.
|
||||
</p>
|
||||
<h2>The framework highlights 3 essential aspects for a developer:</h2>
|
||||
<h3>The framework highlights 3 essential aspects for a developer:</h3>
|
||||
<h4>The framework highlights 3 essential aspects for a developer:</h4>
|
||||
<h5>The framework highlights 3 essential aspects for a developer:</h5>
|
||||
<h6>The framework highlights 3 essential aspects for a developer:</h6>
|
||||
<ul>
|
||||
<li>🧪 Mode flexibility, no limits. You are free to create your own architecture.</li>
|
||||
<li>⚡ Factory includes "in memory" compilation to make the compilation of your application more efficient.</li>
|
||||
<li>📦 Learn and create in a powerful development environment with the various tools Discord Factory offers.</li>
|
||||
</ul>
|
||||
<p>
|
||||
It's now up to you!
|
||||
</p>
|
||||
</Documentation>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import Documentation from '../../../components/Documentation.vue'
|
||||
|
||||
</script>
|
||||
|
||||
<style>
|
||||
|
||||
</style>
|
||||
@@ -1,8 +1,8 @@
|
||||
import { RouteRecordRaw } from 'vue-router'
|
||||
import GettingStarted from './getting-started.vue'
|
||||
import GettingStarted from './Getting-started.vue'
|
||||
|
||||
const routes: RouteRecordRaw[] = [
|
||||
{ path: '/documentation/getting-started', component: GettingStarted },
|
||||
{ path: '/documentation/Getting-started', component: GettingStarted },
|
||||
]
|
||||
|
||||
export default routes
|
||||
@@ -1,24 +0,0 @@
|
||||
<template>
|
||||
<Documentation title="Dashboard">
|
||||
"But I must explain to you how all this mistaken idea of denouncing pleasure and praising pain was born and I will give you a complete account of the system, and expound the actual teachings of the great explorer of the truth, the master-builder of human happiness. No one rejects, dislikes, or avoids pleasure itself, because it is pleasure, but because those who do not know how to pursue pleasure rationally encounter consequences that are extremely painful. Nor again is there anyone who loves or pursues or desires to obtain pain of itself, because it is pain, but because occasionally circumstances occur in which toil and pain can procure him some great pleasure. To take a trivial example, which of us ever undertakes laborious physical exercise, except to obtain some advantage from it? But who has any right to find fault with a man who chooses to enjoy a pleasure that has no annoying consequences, or one who avoids a pain that produces no resultant pleasure?"
|
||||
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
|
||||
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
|
||||
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
|
||||
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
|
||||
<h2>Test</h2>
|
||||
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
|
||||
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
|
||||
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
|
||||
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
|
||||
<h3>Testy 2</h3>
|
||||
</Documentation>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import Documentation from '../../../components/Documentation.vue'
|
||||
|
||||
</script>
|
||||
|
||||
<style>
|
||||
|
||||
</style>
|
||||
Reference in New Issue
Block a user