Skip to content

Commit

Permalink
icons
Browse files Browse the repository at this point in the history
  • Loading branch information
jcbhmr authored Jan 9, 2024
1 parent 5842d53 commit b2b324c
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 18 deletions.
42 changes: 41 additions & 1 deletion .vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,38 @@ import { defineConfig } from "vitepress";

// https://vitepress.dev/reference/site-config
export default defineConfig({
// Surprised this isn't the default. 🤷‍♂️
srcExclude: ["**/README.md", "**/CONTRIBUTING.md"],

// https://vitejs.dev/config/
vite: {},

// https://vitepress.dev/guide/sitemap-generation
sitemap: {
hostname: "https://1brc.dev",
},

title: "1BRC",
description: "1 Billion Row Challenge",

head: [
// https://github.com/vuejs/vitepress/issues/560
["link", { rel: "icon", href: "/favicon.ico" }],

// https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel#license
[
"link",
{
rel: "license",
href: "https://github.com/1brc/1brc.github.io/blob/main/LICENSE",
},
],
],

// https://vitepress.dev/reference/default-theme-config
themeConfig: {
// https://vitepress.dev/reference/default-theme-config
logo: "/logo.png",

nav: [
// { text: 'Home', link: '/' },
// { text: 'Examples', link: '/markdown-examples' }
Expand All @@ -24,5 +52,17 @@ export default defineConfig({
socialLinks: [
{ icon: "github", link: "https://github.com/1brc/1brc.github.io" },
],

// https://vitepress.dev/reference/default-theme-edit-link
editLink: {
pattern: "https://github.com/1brc/1brc.github.io/edit/main/:path",
},

// https://github.com/vuejs/vitepress/issues/1037
footer: {
message:
'Released under the <a href="https://github.com/1brc/1brc.github.io/blob/main/LICENSE">0BSD License</a>.',
copyright: "Copyright © 2023 The One Billion Row Challenge",
},
},
});
27 changes: 10 additions & 17 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,21 +1,14 @@
MIT License
BSD Zero Clause License

Copyright (c) 2024 The One Billion Row Challenge

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
Binary file added public/favicon.ico
Binary file not shown.

0 comments on commit b2b324c

Please sign in to comment.