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'
|
||||
|
||||
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)
|
||||
// vue-router does not incorporate scroll-margin-top on its own.
|
||||
if (el) {
|
||||
|
||||
@@ -19,20 +19,20 @@ useIntervalFn(() => {
|
||||
animated
|
||||
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
|
||||
:function="(x) => Math.sin(x)"
|
||||
:line-width="2"
|
||||
animated
|
||||
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
|
||||
:function="(x) => Math.exp(x)"
|
||||
:line-width="2"
|
||||
animated
|
||||
/>
|
||||
<Label text="exp(x)" :position="[0.7, 2]" size="small"/>
|
||||
<Label text="exp(x)" :position="[0.7, 2]" size="small" />
|
||||
<FunctionPlot
|
||||
:function="(x) => Math.log(x)"
|
||||
:domain="[0.001, 4]"
|
||||
@@ -40,7 +40,7 @@ useIntervalFn(() => {
|
||||
animated
|
||||
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
|
||||
:function="(x) => -x"
|
||||
:domain="[-3, 0]"
|
||||
@@ -55,7 +55,7 @@ useIntervalFn(() => {
|
||||
animated
|
||||
color="orange"
|
||||
/>
|
||||
<Label text="|x|" color="orange" :position="[-2, 2]" size="small"/>
|
||||
<Label text="|x|" color="orange" :position="[-2, 2]" size="small" />
|
||||
</Graph>
|
||||
</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">
|
||||
{{ experience.company }}
|
||||
</h1>
|
||||
<div class="text-subtitle text-xs">{{ experience.location }}</div>
|
||||
<div class="text-subtitle text-xs">
|
||||
{{ experience.location }}
|
||||
</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?
|
||||
|
||||
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!
|
||||
|
||||
## 6. Conclusion
|
||||
|
||||
@@ -19,7 +19,6 @@ Faster than the old one thanks to the new version
|
||||
### Nuxt3 & NuxtUI
|
||||
### Style
|
||||
|
||||
|
||||
## BackEnd
|
||||
|
||||
### Data Fetching
|
||||
@@ -34,4 +33,3 @@ Vercel with Vercel postgres
|
||||
## What's next
|
||||
### Performance
|
||||
### Style & Animation
|
||||
|
||||
|
||||
@@ -189,7 +189,7 @@ async function suggest() {
|
||||
</template>
|
||||
</UPopover>
|
||||
</div>
|
||||
<UDivider class="my-2"/>
|
||||
<UDivider class="my-2" />
|
||||
<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
|
||||
|
||||
Reference in New Issue
Block a user