mirror of
https://github.com/ArthurDanjou/website.git
synced 2026-01-14 12:14:42 +01:00
lint code
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
import type { RouterConfig } from '@nuxt/schema'
|
import type { RouterConfig } from '@nuxt/schema'
|
||||||
|
|
||||||
function findHashPosition(hash: any): { el: any; behavior: ScrollBehavior; top: number } | undefined {
|
function findHashPosition(hash: any): { el: any, behavior: ScrollBehavior, top: number } | undefined {
|
||||||
const el = document.querySelector(hash)
|
const el = document.querySelector(hash)
|
||||||
// vue-router does not incorporate scroll-margin-top on its own.
|
// vue-router does not incorporate scroll-margin-top on its own.
|
||||||
if (el) {
|
if (el) {
|
||||||
|
|||||||
@@ -19,20 +19,20 @@ useIntervalFn(() => {
|
|||||||
animated
|
animated
|
||||||
color="hotpink"
|
color="hotpink"
|
||||||
/>
|
/>
|
||||||
<Label text="cos(x)" color="hotpink" :position="[2, -0.5]" size="small"/>
|
<Label text="cos(x)" color="hotpink" :position="[2, -0.5]" size="small" />
|
||||||
<FunctionPlot
|
<FunctionPlot
|
||||||
:function="(x) => Math.sin(x)"
|
:function="(x) => Math.sin(x)"
|
||||||
:line-width="2"
|
:line-width="2"
|
||||||
animated
|
animated
|
||||||
color="#33aabb"
|
color="#33aabb"
|
||||||
/>
|
/>
|
||||||
<Label text="sin(x)" color="#33aabb" :position="[2, 1]" size="small"/>
|
<Label text="sin(x)" color="#33aabb" :position="[2, 1]" size="small" />
|
||||||
<FunctionPlot
|
<FunctionPlot
|
||||||
:function="(x) => Math.exp(x)"
|
:function="(x) => Math.exp(x)"
|
||||||
:line-width="2"
|
:line-width="2"
|
||||||
animated
|
animated
|
||||||
/>
|
/>
|
||||||
<Label text="exp(x)" :position="[0.7, 2]" size="small"/>
|
<Label text="exp(x)" :position="[0.7, 2]" size="small" />
|
||||||
<FunctionPlot
|
<FunctionPlot
|
||||||
:function="(x) => Math.log(x)"
|
:function="(x) => Math.log(x)"
|
||||||
:domain="[0.001, 4]"
|
:domain="[0.001, 4]"
|
||||||
@@ -40,7 +40,7 @@ useIntervalFn(() => {
|
|||||||
animated
|
animated
|
||||||
color="limegreen"
|
color="limegreen"
|
||||||
/>
|
/>
|
||||||
<Label text="ln(x)" color="limegreen" :position="[0.2, -2]" size="small"/>
|
<Label text="ln(x)" color="limegreen" :position="[0.2, -2]" size="small" />
|
||||||
<FunctionPlot
|
<FunctionPlot
|
||||||
:function="(x) => -x"
|
:function="(x) => -x"
|
||||||
:domain="[-3, 0]"
|
:domain="[-3, 0]"
|
||||||
@@ -55,7 +55,7 @@ useIntervalFn(() => {
|
|||||||
animated
|
animated
|
||||||
color="orange"
|
color="orange"
|
||||||
/>
|
/>
|
||||||
<Label text="|x|" color="orange" :position="[-2, 2]" size="small"/>
|
<Label text="|x|" color="orange" :position="[-2, 2]" size="small" />
|
||||||
</Graph>
|
</Graph>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
|
|||||||
@@ -32,7 +32,9 @@ defineProps({
|
|||||||
<h1 v-else class="mr-3 my-1 text-base font-semibold tracking-tight text-zinc-800 dark:text-zinc-100">
|
<h1 v-else class="mr-3 my-1 text-base font-semibold tracking-tight text-zinc-800 dark:text-zinc-100">
|
||||||
{{ experience.company }}
|
{{ experience.company }}
|
||||||
</h1>
|
</h1>
|
||||||
<div class="text-subtitle text-xs">{{ experience.location }}</div>
|
<div class="text-subtitle text-xs">
|
||||||
|
{{ experience.location }}
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -49,7 +49,7 @@ I also know how to develop applications of this type. To see all my skills maste
|
|||||||
## 5. How do I see my future in this field?
|
## 5. How do I see my future in this field?
|
||||||
|
|
||||||
I am currently asking myself a lot of questions about my future in development and my professional future. So I attend a lot of computer conferences and do a lot of research.
|
I am currently asking myself a lot of questions about my future in development and my professional future. So I attend a lot of computer conferences and do a lot of research.
|
||||||
Lately, I learned about an area that I knew only vaguely. It was a great interest that immediately developed in this area because it meets all my expectations,
|
Lately, I learned about an area that I knew only vaguely. It was a great interest that immediately developed in this area because it meets all my expectations,
|
||||||
and I think I will thrive in this area a lot!
|
and I think I will thrive in this area a lot!
|
||||||
|
|
||||||
## 6. Conclusion
|
## 6. Conclusion
|
||||||
|
|||||||
@@ -19,7 +19,6 @@ Faster than the old one thanks to the new version
|
|||||||
### Nuxt3 & NuxtUI
|
### Nuxt3 & NuxtUI
|
||||||
### Style
|
### Style
|
||||||
|
|
||||||
|
|
||||||
## BackEnd
|
## BackEnd
|
||||||
|
|
||||||
### Data Fetching
|
### Data Fetching
|
||||||
@@ -34,4 +33,3 @@ Vercel with Vercel postgres
|
|||||||
## What's next
|
## What's next
|
||||||
### Performance
|
### Performance
|
||||||
### Style & Animation
|
### Style & Animation
|
||||||
|
|
||||||
|
|||||||
@@ -189,7 +189,7 @@ async function suggest() {
|
|||||||
</template>
|
</template>
|
||||||
</UPopover>
|
</UPopover>
|
||||||
</div>
|
</div>
|
||||||
<UDivider class="my-2"/>
|
<UDivider class="my-2" />
|
||||||
<div v-if="talents && getCategories" class="mt-8 md:mt-16">
|
<div v-if="talents && getCategories" class="mt-8 md:mt-16">
|
||||||
<div v-if="talents.length > 0 && !pending" class="grid grid-cols-1 gap-x-12 gap-y-16 sm:grid-cols-2 lg:grid-cols-3">
|
<div v-if="talents.length > 0 && !pending" class="grid grid-cols-1 gap-x-12 gap-y-16 sm:grid-cols-2 lg:grid-cols-3">
|
||||||
<div
|
<div
|
||||||
|
|||||||
Reference in New Issue
Block a user