Skip to content

Commit

Permalink
docs: update home content
Browse files Browse the repository at this point in the history
  • Loading branch information
Romakita committed Dec 1, 2024
1 parent 93ab4e8 commit 72729d1
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 34 deletions.
4 changes: 3 additions & 1 deletion docs/.vitepress/config.mts
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
import {defineConfig} from "vitepress";
import {apiAnchor} from "@tsed/vitepress-theme/markdown/api-anchor/api-anchor.js";
import pkg from "../../package.json";
import team from "../team.json"
import {getSidebar} from "./api.js";

// https://vitepress.dev/reference/site-config
export default defineConfig({
title: "Ts.ED Logger",
lastUpdated: true,

description: "Ts.ED Logger is multi-channel logger compatible with Node.js, Bun.js and browser environment",
sitemap: {
hostname: "https://logger.tsed.io"
},
Expand All @@ -34,6 +35,7 @@ export default defineConfig({
apiUrl: "/api.json",
apiRedirectUrl: "",
repo: "tsedio/logger",
team,
githubProxyUrl: "https://api.tsed.io/rest/github/tsedio/tsed",
stargazerUrl: "https://api.tsed.io/rest/github/tsedio/logger",
defaultStargazerValue: 64,
Expand Down
30 changes: 4 additions & 26 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,17 @@ layout: home
hero:
name: "@tsed/logger"
text: "A multi-channel logger."
tagline: "Manage your logs of your application"
tagline: "Manage your logs of your application with ease."
actions:
- theme: brand
text: Getting started
link: /introduction/getting-started
- theme: alt
text: Become sponsor
link: https://github.com/sponsors/Romakita

testimonial:
title: "What the logger do?"
description: "The logger is a multi-channel logger that allows you to manage your logs of your application with ease. It supports multi destination like Console, Remote, File with configurable log rolling based on file size or date."
features:
- title: Multi channel
icon: <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-bolt"><path d="M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z"/><circle cx="12" cy="12" r="4"/></svg>
Expand Down Expand Up @@ -84,27 +86,3 @@ partners:
src: https://tsed.dev/partners/schnell.svg
class: "max-w-[120px]"
---

<script setup>
import HomeContainer from "@tsed/vitepress-theme/organisms/home/HomeContainer.vue";
import { VPTeamMembers } from "vitepress/theme";
import team from "./team.json";

const members = team.map((member) => {
return {
avatar: member.src,
name: member.title + " - " + member.job,
title: member.role,
links: [
{ icon: "github", link: "https://github.com/" + member.github },
member.twitter && { icon: "twitter", link: "https://x.com/" + member.twitter }
].filter(Boolean)
};
});
</script>

<HomeContainer animate class="mx-0 px-0">
<div class="text-2xl sm:text-5xl text-center pb-5 mt-20">Team members</div>

<VPTeamMembers size="small" :members="members" />
</HomeContainer>
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"docs:preview": "vitepress preview ."
},
"dependencies": {
"@tsed/vitepress-theme": "1.4.0",
"@tsed/vitepress-theme": "1.5.0",
"@vueuse/core": "10.11.0",
"axios": "1.7.7",
"lodash": "4.17.21",
Expand Down
11 changes: 10 additions & 1 deletion docs/team.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"src": "https://avatars3.githubusercontent.com/u/1763311?v=4",
"github": "Romakita",
"twitter": "RomainLenzotti",
"website": "https://tsed.io",
"website": "https://tsed.dev",
"country": "France",
"city": "Paris",
"role": "Framework Author"
Expand Down Expand Up @@ -91,5 +91,14 @@
"country": "Germany",
"city": "Cologne",
"role": "Contributor"
},
{
"title": "Xavier Jamito",
"job": "Developer",
"src": "https://avatars.githubusercontent.com/u/17645632?v=4",
"github": "xavjamito",
"country": "Singapore",
"city": "Singapore",
"role": "Contributor"
}
]
10 changes: 5 additions & 5 deletions docs/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -734,7 +734,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "@tsed/docs-new@workspace:."
dependencies:
"@tsed/vitepress-theme": "npm:1.4.0"
"@tsed/vitepress-theme": "npm:1.5.0"
"@vueuse/core": "npm:10.11.0"
autoprefixer: "npm:^10.4.19"
axios: "npm:1.7.7"
Expand All @@ -746,14 +746,14 @@ __metadata:
languageName: unknown
linkType: soft

"@tsed/vitepress-theme@npm:1.4.0":
version: 1.4.0
resolution: "@tsed/vitepress-theme@npm:1.4.0"
"@tsed/vitepress-theme@npm:1.5.0":
version: 1.5.0
resolution: "@tsed/vitepress-theme@npm:1.5.0"
dependencies:
"@vueuse/core": "npm:10.11.0"
axios: "npm:1.7.7"
lucide-vue-next: "npm:^0.436.0"
checksum: 10/4b42f36e7513ae6c85ef6433d269f0d48510a4d3c0d1a1a51bfdfd254716039cd9a405140b479f1025b95335003c1f75ad5ec819648627e9294599102cdf93ac
checksum: 10/4da8de928500c092c81a38df0118537a54f2e66874383ebef77aa2eac6a951cca48bc7c3476502acb6550dd72ad16a8dd0e0a455ac13568a66be981ce95b1fce
languageName: node
linkType: hard

Expand Down

0 comments on commit 72729d1

Please sign in to comment.