Skip to content

Commit

Permalink
chore: branding doc
Browse files Browse the repository at this point in the history
  • Loading branch information
steve-lebleu committed Mar 28, 2024
1 parent 66a4a63 commit 5513ee0
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 17 deletions.
2 changes: 1 addition & 1 deletion demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html>

<head lang="en">
<title>Vanilla autocomplete module - Kømpletr.js</title>
<title>Kømpletr - JS autocomplete</title>

<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
Expand Down
16 changes: 10 additions & 6 deletions docs/.vitepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,18 @@ import { tabsMarkdownPlugin } from 'vitepress-plugin-tabs'
// https://vitepress.dev/reference/site-config
export default defineConfig({
title: "Kømpletr",
description: "A vanilla JS autocomplete library",
description: "JS autocomplete library",
themeConfig: {
// https://vitepress.dev/reference/default-theme-config
logo: {
light: 'https://cdn.konfer.be/images/kompletr/logo-kompletr-dark.png',
dark: 'https://cdn.konfer.be/images/kompletr/logo-kompletr-light.png'
},
siteTitle: false,
nav: [
{ text: 'Home', link: '/' },
{ text: 'Guide', link: '/guide' },
{ text: 'Demo', link: '/demo' },
{ text: 'Demo', link: 'https://kompletr.konfer.be' },
],

sidebar: {
Expand Down Expand Up @@ -48,13 +53,12 @@ export default defineConfig({

socialLinks: [
{ icon: 'github', link: 'https://github.com/steve-lebleu/kompletr' },
{ icon: 'npm', link: 'https://github.com/steve-lebleu/kompletr' },
{ icon: 'slack', link: 'https://github.com/steve-lebleu/kompletr' },
{ icon: 'npm', link: 'https://www.npmjs.com/package/kompletr' },
],

footer: {
message: 'Released under the MIT License.',
copyright: 'Copyright © 2019-present Evan You'
message: 'Released under the GPL License.',
copyright: 'Copyright © 2024-present Konfer'
}
},
markdown: {
Expand Down
17 changes: 9 additions & 8 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,33 +3,34 @@
layout: home

hero:
name: "Kømpletr"
text: "JS auto-complete"
tagline: 10kb of vanilla lightweight to add highly featured autocompletion on your pages.
text: "JS autocomplete"
tagline: 10kb of vanilla lightweight for a simple & efficient autocomplete
image:
light: 'https://cdn.konfer.be/images/kompletr/logo-kompletr-dark.png'
dark: 'https://cdn.konfer.be/images/kompletr/logo-kompletr-light.png'
actions:
- theme: brand
text: Demo
link: /demo
link: https://kompletr.konfer.be
- theme: alt
text: Getting started
link: /guide

features:
- icon:
title: Light
details: Less than 10kb of Vanilla
- icon: 🚀
title: Performant
details: Faster than the rabbit
details: Faster than the white rabbit
- icon: 🍃
title: Eco friendly
details: What else ?
details: What else ?!
- icon: 🌍
title: Accessible
details: ARIA and WAG
- icon:
title: Highly featured
details: A lot of options
details: Options and so on
- icon: 🤘
title: Compatible
details: ESM, CommonJS, UMD and AMD
Expand Down
2 changes: 1 addition & 1 deletion src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="en">

<head>
<title>Kømpletr, 10kb of vanilla lightweight for an autocomplete</title>
<title>Kømpletr - JS autocomplete</title>

<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
Expand Down
4 changes: 3 additions & 1 deletion src/sass/kompletr.demo.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,12 @@ header {

a {
color: #333;
text-decoration: none;
text-decoration: underline;
font-size: 0.9rem;
transition: all 0.4s ease-in-out;
&:hover {
color: #444;
text-decoration: none;
}
}
}
Expand Down

0 comments on commit 5513ee0

Please sign in to comment.