mirror of
https://github.com/CorentinTh/it-tools.git
synced 2025-04-21 15:26:15 -04:00
feat(page) added the /about page
This commit is contained in:
parent
dbce46b470
commit
6154df2789
3 changed files with 147 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
||||||
import { NIcon } from 'naive-ui';
|
import { NIcon } from 'naive-ui';
|
||||||
import { h, ref, type Component } from 'vue';
|
import { h, ref, type Component } from 'vue';
|
||||||
import { RouterLink, useRoute } from 'vue-router';
|
import { RouterLink, useRoute } from 'vue-router';
|
||||||
import { Heart, BrandGithub, BrandTwitter, Moon, Sun, Menu2, Home2 } from '@vicons/tabler'
|
import { Heart, BrandGithub, BrandTwitter, Moon, Sun, Menu2, Home2, InfoCircle } from '@vicons/tabler'
|
||||||
import { toolsByCategory } from '@/tools';
|
import { toolsByCategory } from '@/tools';
|
||||||
import SearchBar from '../components/SearchBar.vue';
|
import SearchBar from '../components/SearchBar.vue';
|
||||||
import { useStyleStore } from '@/stores/style.store';
|
import { useStyleStore } from '@/stores/style.store';
|
||||||
|
@ -86,6 +86,26 @@ const m = toolsByCategory.map(category => ({
|
||||||
:component="BrandTwitter"
|
:component="BrandTwitter"
|
||||||
/>
|
/>
|
||||||
</n-button>
|
</n-button>
|
||||||
|
<router-link
|
||||||
|
to="/about"
|
||||||
|
#="{ navigate, href }"
|
||||||
|
custom
|
||||||
|
>
|
||||||
|
<n-button
|
||||||
|
tag="a"
|
||||||
|
:href="href"
|
||||||
|
circle
|
||||||
|
quaternary
|
||||||
|
size="large"
|
||||||
|
aria-label="Home"
|
||||||
|
@click="navigate"
|
||||||
|
>
|
||||||
|
<n-icon
|
||||||
|
size="25"
|
||||||
|
:component="InfoCircle"
|
||||||
|
/>
|
||||||
|
</n-button>
|
||||||
|
</router-link>
|
||||||
<n-button
|
<n-button
|
||||||
size="large"
|
size="large"
|
||||||
circle
|
circle
|
||||||
|
@ -202,6 +222,29 @@ const m = toolsByCategory.map(category => ({
|
||||||
:component="BrandTwitter"
|
:component="BrandTwitter"
|
||||||
/>
|
/>
|
||||||
</n-button>
|
</n-button>
|
||||||
|
|
||||||
|
<router-link
|
||||||
|
v-if="!styleStore.isSmallScreen"
|
||||||
|
to="/about"
|
||||||
|
#="{ navigate, href }"
|
||||||
|
custom
|
||||||
|
>
|
||||||
|
<n-button
|
||||||
|
tag="a"
|
||||||
|
:href="href"
|
||||||
|
circle
|
||||||
|
quaternary
|
||||||
|
size="large"
|
||||||
|
aria-label="Home"
|
||||||
|
@click="navigate"
|
||||||
|
>
|
||||||
|
<n-icon
|
||||||
|
size="25"
|
||||||
|
:component="InfoCircle"
|
||||||
|
/>
|
||||||
|
</n-button>
|
||||||
|
</router-link>
|
||||||
|
|
||||||
<n-button
|
<n-button
|
||||||
v-if="!styleStore.isSmallScreen"
|
v-if="!styleStore.isSmallScreen"
|
||||||
size="large"
|
size="large"
|
||||||
|
|
98
src/pages/About.vue
Normal file
98
src/pages/About.vue
Normal file
|
@ -0,0 +1,98 @@
|
||||||
|
<script setup lang="ts">
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<template>
|
||||||
|
<div class="about-page">
|
||||||
|
<n-h1>About</n-h1>
|
||||||
|
<n-p>
|
||||||
|
This wonderful website, made with ❤ by
|
||||||
|
<n-button
|
||||||
|
text
|
||||||
|
tag="a"
|
||||||
|
href="https://github.com/CorentinTh"
|
||||||
|
target="_blank"
|
||||||
|
rel="noopener"
|
||||||
|
type="primary"
|
||||||
|
>
|
||||||
|
Corentin Thomasset
|
||||||
|
</n-button>,
|
||||||
|
aggregates useful tools for developer and people working in IT. If you find it usefull, please fell free to share
|
||||||
|
it to people you think may find it usefull too and dont forget to pin it in your shortcut bar !
|
||||||
|
</n-p>
|
||||||
|
<n-p>
|
||||||
|
IT Tools is opensource (under the MIT license) and free, and will always be, but it cost me money to host and
|
||||||
|
renew the domain name, if you want to support my work, and encourage me to add more tools, please consider
|
||||||
|
supporting by
|
||||||
|
<n-button
|
||||||
|
type="primary"
|
||||||
|
tag="a"
|
||||||
|
text
|
||||||
|
href="https://github.com/sponsors/CorentinTh"
|
||||||
|
rel="noopener"
|
||||||
|
target="_blank"
|
||||||
|
>
|
||||||
|
sponsoring me
|
||||||
|
</n-button>.
|
||||||
|
</n-p>
|
||||||
|
|
||||||
|
<n-h2>Technologies</n-h2>
|
||||||
|
<n-p>
|
||||||
|
IT Tools is made in Vue JS (vue 3) with the the naive-ui component library and is hosted and continuously deployed by Vercel. Third party opensource libraries are used in some tools, you may find the complete list in the
|
||||||
|
<n-button
|
||||||
|
type="primary"
|
||||||
|
tag="a"
|
||||||
|
text
|
||||||
|
href="https://github.com/CorentinTh/it-tools/blob/master/package.json"
|
||||||
|
rel="noopener"
|
||||||
|
target="_blank"
|
||||||
|
>
|
||||||
|
package.json
|
||||||
|
</n-button> file of the repository.
|
||||||
|
</n-p>
|
||||||
|
|
||||||
|
<n-h2>Found a bug ? A tool is missing ?</n-h2>
|
||||||
|
<n-p>
|
||||||
|
If you need a tool that is currently not present here, and you think can be relevant, you are welcome to submit a feature request in the
|
||||||
|
<n-button
|
||||||
|
type="primary"
|
||||||
|
tag="a"
|
||||||
|
text
|
||||||
|
href="https://github.com/CorentinTh/it-tools/issues/new?assignees=CorentinTh&labels=enhancement&template=feature_request.md&title=%5BFEAT%5D%20My%20feature"
|
||||||
|
rel="noopener"
|
||||||
|
target="_blank"
|
||||||
|
>
|
||||||
|
issues section
|
||||||
|
</n-button> in the github repository.
|
||||||
|
</n-p>
|
||||||
|
<n-p>
|
||||||
|
And if you found a bug, or something broken that doesn't work as expected, please fill a bug report in the
|
||||||
|
<n-button
|
||||||
|
type="primary"
|
||||||
|
tag="a"
|
||||||
|
text
|
||||||
|
href="https://github.com/CorentinTh/it-tools/issues/new?assignees=CorentinTh&labels=bug&template=bug_report.md&title=%5BBUG%5D%20My%20bug"
|
||||||
|
rel="noopener"
|
||||||
|
target="_blank"
|
||||||
|
>
|
||||||
|
issues section
|
||||||
|
</n-button> in the github repository.
|
||||||
|
</n-p>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
|
||||||
|
<style scoped lang="less">
|
||||||
|
.about-page {
|
||||||
|
max-width: 600px;
|
||||||
|
margin: 50px auto;
|
||||||
|
box-sizing: border-box;
|
||||||
|
|
||||||
|
.n-h2 {
|
||||||
|
margin-bottom: 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.n-p {
|
||||||
|
text-align: justify;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
|
@ -17,6 +17,11 @@ const router = createRouter({
|
||||||
name: 'home',
|
name: 'home',
|
||||||
component: HomePage,
|
component: HomePage,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
path: '/about',
|
||||||
|
name: 'about',
|
||||||
|
component: () => import('./pages/About.vue'),
|
||||||
|
},
|
||||||
...toolsRoutes,
|
...toolsRoutes,
|
||||||
...toolsRedirectRoutes,
|
...toolsRedirectRoutes,
|
||||||
{ path: '/:pathMatch(.*)*', name: 'NotFound', component: NotFound },
|
{ path: '/:pathMatch(.*)*', name: 'NotFound', component: NotFound },
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue