diff --git a/.github/workflows/build-and-deploy.yml b/.github/workflows/build-and-deploy.yml deleted file mode 100644 index 1787227..0000000 --- a/.github/workflows/build-and-deploy.yml +++ /dev/null @@ -1,36 +0,0 @@ -name: Build and Deploy - -on: - push: - branches: ['master'] - -jobs: - build: - runs-on: ubuntu-latest - - strategy: - matrix: - node-version: ['20'] - - permissions: - contents: write - - steps: - - uses: actions/checkout@v4 - - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v4 - with: - node-version: ${{ matrix.node-version }} - cache: 'npm' - - - name: Install packages - run: npm ci - - - name: Run npm build - run: npm run build:prod - - - name: Deploy to gh-pages - uses: peaceiris/actions-gh-pages@v4 - with: - deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }} \ No newline at end of file diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml deleted file mode 100644 index fc23937..0000000 --- a/.github/workflows/build.yml +++ /dev/null @@ -1,28 +0,0 @@ -name: Build PR - -on: - pull_request: - branches: ['main'] - -jobs: - build: - runs-on: ubuntu-latest - - strategy: - matrix: - node-version: ['20'] - - steps: - - uses: actions/checkout@v4 - - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v4 - with: - node-version: ${{ matrix.node-version }} - cache: 'npm' - - - name: Install packages - run: npm ci - - - name: Run npm build - run: npm run build \ No newline at end of file diff --git a/.gitignore b/.gitignore deleted file mode 100644 index f1f63b5..0000000 --- a/.gitignore +++ /dev/null @@ -1,20 +0,0 @@ -# Dependencies -/node_modules - -# Misc -/public - -# Intellij -/.idea - -# Sass -.sass-cache/ -*.css.map -*.sass.map -*.scss.map - -# Visual Studio Code -/.vscode -.history - -package_lock.json \ No newline at end of file diff --git a/AUTHORS b/AUTHORS deleted file mode 100644 index 4cc150d..0000000 --- a/AUTHORS +++ /dev/null @@ -1 +0,0 @@ -Adrian Victor de A. A. diff --git a/LICENSE b/LICENSE deleted file mode 100644 index c210713..0000000 --- a/LICENSE +++ /dev/null @@ -1,25 +0,0 @@ -This is free and unencumbered software released into the public domain. - -Anyone is free to copy, modify, publish, use, compile, sell, or -distribute this software, either in source code form or as a compiled -binary, for any purpose, commercial or non-commercial, and by any -means. - -In jurisdictions that recognize copyright laws, the author or authors -of this software dedicate any and all copyright interest in the -software to the public domain. We make this dedication for the benefit -of the public at large and to the detriment of our heirs and -successors. We intend this dedication to be an overt act of -relinquishment in perpetuity of all present and future rights to this -software under copyright law. - -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 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. - -For more information, please refer to - diff --git a/_includes/author.njk b/_includes/author.njk deleted file mode 100644 index ff23671..0000000 --- a/_includes/author.njk +++ /dev/null @@ -1,19 +0,0 @@ ---- -layout: "skeleton.njk" -styles: ["project"] ---- -
-
- -
-
-

{{ name }}

-
-

{{ subtitle }}

-
-
- {% include "project_image.njk" %} -
- {{ content | safe }} -
-
\ No newline at end of file diff --git a/_includes/base.njk b/_includes/base.njk deleted file mode 100644 index 96e19ba..0000000 --- a/_includes/base.njk +++ /dev/null @@ -1,7 +0,0 @@ ---- -layout: "skeleton.njk" ---- - -
- {{ content | safe }} -
\ No newline at end of file diff --git a/_includes/docs.njk b/_includes/docs.njk deleted file mode 100644 index e78c540..0000000 --- a/_includes/docs.njk +++ /dev/null @@ -1,10 +0,0 @@ ---- -layout: skeleton.njk ---- -
-

You are seeing the documentation for: {{ projectData.fileSlug }}

-
-
- {{ content | safe }} -
-
\ No newline at end of file diff --git a/_includes/error.njk b/_includes/error.njk deleted file mode 100644 index fe1dbbd..0000000 --- a/_includes/error.njk +++ /dev/null @@ -1,11 +0,0 @@ ---- -layout: "base.njk" ---- -

{{ page.fileSlug }} - Ouch! We hit a wall.

-

{{ errorDescription | safe }}

-{% if errorQuote %} -

"{{ errorQuote | safe }}"

-{% endif %} -{% if content %} -{{ content | safe }} -{% endif %} \ No newline at end of file diff --git a/_includes/featured.njk b/_includes/featured.njk deleted file mode 100644 index 39fc587..0000000 --- a/_includes/featured.njk +++ /dev/null @@ -1,23 +0,0 @@ -{% macro projectShowcase(projects, c) %} - -{% endmacro %} \ No newline at end of file diff --git a/_includes/header.njk b/_includes/header.njk deleted file mode 100644 index 2233c47..0000000 --- a/_includes/header.njk +++ /dev/null @@ -1,17 +0,0 @@ -
- -
\ No newline at end of file diff --git a/_includes/project.njk b/_includes/project.njk deleted file mode 100644 index 7be5f80..0000000 --- a/_includes/project.njk +++ /dev/null @@ -1,52 +0,0 @@ ---- -layout: "skeleton.njk" -styles: ["project"] ---- -
-
- {% if logo %} - - {% endif %} -
-
-

{{ name }}

-

by {{ author }}

-
-

{{ subtitle }}

-
- -
- {% if links or docs or images or releases %} -
- {% include "project_image.njk" %} -
-

Here's what we found:

- {% if links %} -

{{ links | length }} links.

-
    - {% for label, addr in links %} -
  • {{ label }}
  • - {% endfor %} -
- {% endif %} - {% if docs %} -

{{ docs | length }} documentaion files.

-
    - {% for label, addr in docs %} -
  • {{ label }}
  • - {% endfor %} -
- {% endif %} -
-
- {% endif %} -
- {% if content %} - {{ content | safe }} - {% else %} -

Oopsie! :<

-

Seems like we don't have a description for this project.

-

"If only the clockworks could speak
I wouldn't be so alone"

- {% endif %} -
-
\ No newline at end of file diff --git a/_includes/project_image.njk b/_includes/project_image.njk deleted file mode 100644 index 05728fb..0000000 --- a/_includes/project_image.njk +++ /dev/null @@ -1,10 +0,0 @@ -{% if images %} -
-

Images

-
- {% for image in images %} - - {% endfor %} -
-
-{% endif %} \ No newline at end of file diff --git a/_includes/skeleton.njk b/_includes/skeleton.njk deleted file mode 100644 index 99efdf8..0000000 --- a/_includes/skeleton.njk +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - {% for stylesheet in styles %} - - {% endfor %} - - {% if name %}{{ name }} - {% endif %}neoBeta - - -
- - {{ content | safe }} -
- - \ No newline at end of file diff --git a/_site/assets/MinecraftRegular-Bmg3.otf b/_site/assets/MinecraftRegular-Bmg3.otf deleted file mode 100644 index 54f08ad..0000000 Binary files a/_site/assets/MinecraftRegular-Bmg3.otf and /dev/null differ diff --git a/_site/assets/logo.png b/_site/assets/logo.png deleted file mode 100644 index 337a46b..0000000 Binary files a/_site/assets/logo.png and /dev/null differ diff --git a/_site/assets/mod-placeholder.png b/_site/assets/mod-placeholder.png deleted file mode 100644 index e91cc2e..0000000 Binary files a/_site/assets/mod-placeholder.png and /dev/null differ diff --git a/_site/assets/search.js b/_site/assets/search.js deleted file mode 100644 index fe6d015..0000000 --- a/_site/assets/search.js +++ /dev/null @@ -1,52 +0,0 @@ -fetch('/search_index.json') - .then(r => r.json()) - .then(data => { - const idx = elasticlunr.Index.load(data); - const docs = idx.documentStore.docs; - const searchInput = document.getElementById('search'); - const out = document.getElementById('searchResults'); - const filterSelect = document.getElementById('searchMode'); - - function runSearch(q, tags = 'all') { - let result = idx.search(q, { expand: true }).map(r => docs[r.ref] ) - if (tags === 'all') { - return result; - } - - result = result.filter(d => tags === 'all' || d.tags.includes(tags)); - - return result; - } - - function render(doc) { - console.log(doc.imageq) - let tagsHTML = ""; - console.log(doc.tags) - - doc.tags.forEach(tag => { - tagsHTML += `
${tag}
` - }); - - return `
-

${doc.image ? `` : ''} ${doc.title}${doc.author ? ` by ${doc.author}` : ''}

-

${doc.subtitle}

-
- ${tagsHTML} -
-
`; - } - - function update() { - const q = searchInput.value.trim(); - if (!q) { - out.innerHTML = ''; - return; - } - - const results = runSearch(q, filterSelect.value); - out.innerHTML = results.map(render).join(''); - } - - searchInput.addEventListener('input', update); - filterSelect.addEventListener('change', update); - }); \ No newline at end of file diff --git a/_site/assets/stylesheets/home.css b/_site/assets/stylesheets/home.css deleted file mode 100644 index 11f9251..0000000 --- a/_site/assets/stylesheets/home.css +++ /dev/null @@ -1,28 +0,0 @@ -#homeUpdates { - background-color: var(--accent-secondary); - border: thick solid var(--accent-color); - width: 50%; - margin: 0px 2em 2em 2em; - padding: 1em; - height: fit-content; - border-radius: 4px; -} - -#featureAndUpdates { - display: flex; - flex-direction: row; - margin-top: 1em; -} - -@media only screen and (max-width: 1280px) { - #featureAndUpdates { - flex-direction: column; - gap: 1em; - flex-flow: column-reverse; - } - - #homeUpdates { - width: 100%; - margin: 0; - } -} \ No newline at end of file diff --git a/_site/assets/stylesheets/project.css b/_site/assets/stylesheets/project.css deleted file mode 100644 index 7a8f9ae..0000000 --- a/_site/assets/stylesheets/project.css +++ /dev/null @@ -1,121 +0,0 @@ -#projectTitle { - font-size: xx-large; -} - -#projectTitleSubtitle { - margin-top: auto; - margin-bottom: auto; -} - -#projectTitleSubtitle h1 { - margin-bottom: 0; -} - -#projectHeader { - padding-top: 20px; - gap: 20px; - display: flex; -} - -#project { - display: flex; - flex-direction: column; - gap: var(--box-gap); - width: 100%; -} - -#downloadLink { - color: gray; - height: fit-content; - margin-top: auto; - margin-bottom: auto; - margin-left: auto; - text-align: right; - /* text-shadow: 2px 2px black; */ -} - -#downloadButton:hover { - cursor: pointer; -} - -#projectHeader img { - outline: 2px solid gray; - height: 5em; - image-rendering: pixelated; -} - -#projectTitleAuthor { - display: flex; -} - -#projectAuthor { - margin-left: .6em; - margin-top: auto; - /* margin-bottom: .4em; */ -} - -#projectImageCarrousel { - outline: 2px solid gray; - padding: 1rem; - display: flex; - flex-direction: column; - width: 50%; -} - -#projectCarrouselImageHolder { - height: 100%; - gap: 1em; - overflow: auto; - scroll-margin-left: 10px; - overflow-x: scroll; - white-space: nowrap; -} - -.projectImage { - transition: .4s; - height: 95%; - max-width: 10em; - object-fit: cover; - /* filter: grayscale(); */ -} - -/* .projectImage:hover { - filter: none; - opacity: .8; - max-width: 100%; - object-fit: unset; -} */ - -#projectImagesAndInfo { - display: flex; - gap: 2em; - height: 12em; -} - -#projectInfo { - outline: 2px solid var(--accent-color); - background-color: var(--accent-background); - flex-grow: 1; - padding: 1em; - overflow-y: auto; -} - -@media only screen and (max-width: 1280px) { - #projectImagesAndInfo { - flex-direction: column; - flex-grow: unset; - } - - #projectImagesAndInfo { - height: unset; - } - - #projectInfo { - height: 13em; - } - - #projectImageCarrousel { - height: 13em; - width: unset; - } -} \ No newline at end of file diff --git a/_site/assets/stylesheets/search.css b/_site/assets/stylesheets/search.css deleted file mode 100644 index dcd4558..0000000 --- a/_site/assets/stylesheets/search.css +++ /dev/null @@ -1,18 +0,0 @@ -.searchItemImage { - height: 1em; -} - -.searchItemTagHolder { - display: flex; - padding-top: .2em; - gap: .4em; -} - -.searchItemTagHolder div { - border: thin solid greenyellow; - padding: .1em .2em .1em .2em; -} - -.searchItemDescription { - margin-bottom: 0px; -} diff --git a/_site/assets/stylesheets/styles.css b/_site/assets/stylesheets/styles.css deleted file mode 100644 index 61730e9..0000000 --- a/_site/assets/stylesheets/styles.css +++ /dev/null @@ -1,272 +0,0 @@ -:root { - --text-color: white; - --accent-color: greenyellow; - --accent-secondary: green; - --box-gap: 2rem; - --accent-background: rgb(0, 30, 0); -} - -* { - margin: 0; - padding: 0; - box-sizing: border-box; - scrollbar-color: var(--accent-color) var(--accent-background); -} - -@font-face { - font-family: Minecraft; - src: url("/assets/MinecraftRegular-Bmg3.otf") format("opentype"); -} - -body { - font-family: Minecraft, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; - background-color: black; - color:white; - font-size : clamp(1.2rem, .2vw, 2rem); -} - -header { - display: flex; - text-align: center; -} - -aside { - width: min-content; - user-select: none; -} - -a { - text-decoration: none; - color: var(--accent-color); -} - -main { - outline: 2px solid gray; - padding: 1em; - background-color: black; - height: fit-content; - border-radius: 0 0 4px 4px; - width: 100%; -} - -/* main:last-child { - margin-bottom: 0px; - padding-bottom: 0px; -} */ - -button { - padding: 10px; - border: medium solid var(--accent-color); - background: linear-gradient(var(--accent-color), var(--accent-secondary)); - border-radius: 2px; - color: white; -} - -code { - background-color: darkslategray; - color: var(--accent-color); - padding-left: .2em; - padding-right: .2em; - font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; - border-radius: 2px; - display: inline-block; -} - -input, select { - padding: .4em; - background-color: black; - color: white; - border: medium solid var(--accent-color); -} - -p, ul { - padding-bottom: .6em; -} - -img { - image-rendering: pixelated; -} - -hr { - margin-bottom: 1em; -} - -#linksBox { - padding: 2em; - display: flex; - justify-content: center; - align-items: center; - flex-direction: column; - width: 100%; - background-color: black; - outline: 2px solid var(--accent-color); - border-radius: 0 0 4px 4px; - height: fit-content; - gap: 1em; - background-color: rgb(0, 30, 0); -} - -#headerLinks a { - margin-top: auto; - margin-bottom: auto; - padding: 0; - padding-left: 0; -} - -#everythingHelper { - max-width: 80%; - margin: auto; - transform: .2s; - display: flex; - gap: var(--box-gap); -} - -#headerLinks { - padding: 0; - text-align: left; - width: 100%; -} - -#headerLinksAndTitle { - display: flex; - flex-direction: column; - gap: 1em; -} - -#logoTitle { - display: flex; - flex-direction: column; - gap: .5em; -} - -#title { - margin: auto; - text-align: center; -} - -#logo { - height: 8em; -} - -#featured { - display: flex; - flex-direction: column; -} - -#featuredHelper { - display: flex; - flex-direction: column; -} - - -.featuredProject { - gap: 1em; - display: flex; - transition: .2s; - font-size: smaller; - padding: 4px; - overflow: hidden; -} - -.featuredProjectName { - margin-top: auto; - padding: 0; -} - -.featuredProjectSubtitle { -overflow: hidden; - width: 100%; - display: -webkit-box; - -webkit-line-clamp: 2; - -webkit-box-orient: vertical -} - -.featuredProjectSubtitle { - padding-bottom: 0px; -} - -.featuredProject img { - height: 5em; - border: medium solid var(--accent-color); -} - -.featuredProject p { - margin-right: auto; - margin-left: auto; - text-overflow:clip; -} - -#featured h2 { - font-size: medium; - font-weight: 100; - margin-bottom: 10px; -} - -#featuredHelper { - gap: 10px; - flex-wrap: wrap; -} - -li { - margin-left: 20px; - list-style-type: "> "; - margin-bottom: .4em; -} - -h1, h2, h3 { - margin-bottom: .4em; -} - -.errorQuote { - color: gray; -} - -.dimText { - opacity: .6; -} - -.rainbowText { - background: linear-gradient(to right, var(--text-color), var(--accent-color), var(--accent-secondary)); - -webkit-background-clip: text; - background-clip: text; - color: transparent; - animation: rainbow_animation 6s ease-in-out infinite; - background-size: 400% 100%; -} - -@keyframes rainbow_animation { - 0%,100% { - background-position: 0 0; - } - - 50% { - background-position: 100% 0; - } -} - -@media only screen and (max-width: 1280px) { - #everythingHelper { - flex-direction: column; - } - - aside { - width: 100%; - } - - #projectTitle { - font-size: larger; - } - - #headerLinksAndTitle { - flex-direction: row; - } - - #headerLinks { - margin-left: 2em; - } - -} - -@media only screen and (max-width: 300px) { - -} \ No newline at end of file diff --git a/_site/authors/tenkuma/logo.png b/_site/authors/tenkuma/logo.png deleted file mode 100644 index 312682a..0000000 Binary files a/_site/authors/tenkuma/logo.png and /dev/null differ diff --git a/_site/authors/tenkuma/tenkuma-mrnando-enderdragon.jpg b/_site/authors/tenkuma/tenkuma-mrnando-enderdragon.jpg deleted file mode 100644 index 77eef4a..0000000 Binary files a/_site/authors/tenkuma/tenkuma-mrnando-enderdragon.jpg and /dev/null differ diff --git a/_site/authors/tenkuma/tenkuma-silverfish.jpg b/_site/authors/tenkuma/tenkuma-silverfish.jpg deleted file mode 100644 index e4a8f0d..0000000 Binary files a/_site/authors/tenkuma/tenkuma-silverfish.jpg and /dev/null differ diff --git a/_site/contribute/index.html b/_site/contribute/index.html deleted file mode 100644 index 2c05fd6..0000000 --- a/_site/contribute/index.html +++ /dev/null @@ -1,76 +0,0 @@ - - - - - - - - neoBeta - - -
- - -
-

How can I get my project here?

-

neoBeta is an open-source content management system. There are various ways you can put your plugin/mod on our catalog:

-
    -
  • Clone neoBeta's repository, create your project folder inside the /projects directory with the necessary metadata (index.md for project description, index.json for metadata and any other file your project may depend on) and make a pull request. Less manual work on our side, so review should be quickier.
  • -
  • Open an issue on our GitHub repository with the project information. This may take longer as a contributor will have to spend time creating the project files, but is useful if you're not confortable using Git.
  • -
  • Host your own instance of neoBeta.
  • -
-

Required metadata fields

-
    -
  • name - project name.
    -"name": "Ghosts 'n Stuff"
  • -
  • subtitle - project's brief description.
    -"subtitle": "Miscellaneous additions to your server."
  • -
  • author - your author name, must be consistent across all your submissions.
    -"author": "tenkuma"
  • -
  • tags - whether your project is a plugin or mod.
    -"tags": ["plugin", "mod"]
  • -
-

Optional metadata fields

-

Please fill as many fields as possible.

-
    -
  • downloadLink - link for when you click the download link.
    -"downloadLink": "https://example.com"
  • -
  • images - lists of image files names or URLs that will appear in the project page.
    -"images": "["image1.png", "image2.png", "image3.png"]"
  • -
  • logo - your logo file name or URL.
    -"logo": "logo.png"
  • -
-

Config file example

-
{
-    "name": "Ghosts 'n Stuff",
-    "subtitle": "Miscellaneous additions to your server.",
-    "author": "tenkuma",
-    "downloadLink": "https://example.com",
-    "images": "["image1.png", "image2.png", "image3.png"]",
-    "logo": "logo.png",
-    "tags": ["plugin", "mod"]
-}
-
- -
-
- - \ No newline at end of file diff --git a/_site/projects/aboukkit/logo.png b/_site/projects/aboukkit/logo.png deleted file mode 100644 index afb395b..0000000 Binary files a/_site/projects/aboukkit/logo.png and /dev/null differ diff --git a/_site/projects/devilwithin/logo.png b/_site/projects/devilwithin/logo.png deleted file mode 100644 index c45713c..0000000 Binary files a/_site/projects/devilwithin/logo.png and /dev/null differ diff --git a/_site/projects/ghostsandstuff/anti-spam.png b/_site/projects/ghostsandstuff/anti-spam.png deleted file mode 100644 index 0b0c38a..0000000 Binary files a/_site/projects/ghostsandstuff/anti-spam.png and /dev/null differ diff --git a/_site/projects/ghostsandstuff/logo.png b/_site/projects/ghostsandstuff/logo.png deleted file mode 100644 index 88dbaf5..0000000 Binary files a/_site/projects/ghostsandstuff/logo.png and /dev/null differ diff --git a/_site/projects/ghostsandstuff/rainbow-chat.png b/_site/projects/ghostsandstuff/rainbow-chat.png deleted file mode 100644 index 27a674a..0000000 Binary files a/_site/projects/ghostsandstuff/rainbow-chat.png and /dev/null differ diff --git a/_site/projects/ghostsandstuff/skibidi-blocker.png b/_site/projects/ghostsandstuff/skibidi-blocker.png deleted file mode 100644 index 01caef5..0000000 Binary files a/_site/projects/ghostsandstuff/skibidi-blocker.png and /dev/null differ diff --git a/_site/projects/tefreezer/logo.png b/_site/projects/tefreezer/logo.png deleted file mode 100644 index 6f2ccc6..0000000 Binary files a/_site/projects/tefreezer/logo.png and /dev/null differ diff --git a/_site/projects/tenkumalib/logo.png b/_site/projects/tenkumalib/logo.png deleted file mode 100644 index 312682a..0000000 Binary files a/_site/projects/tenkumalib/logo.png and /dev/null differ diff --git a/_site/projects/timekeeper/logo.png b/_site/projects/timekeeper/logo.png deleted file mode 100644 index 92cbfce..0000000 Binary files a/_site/projects/timekeeper/logo.png and /dev/null differ diff --git a/_site/search_index.json b/_site/search_index.json deleted file mode 100644 index 1e09803..0000000 --- a/_site/search_index.json +++ /dev/null @@ -1 +0,0 @@ -{"version":"0.9.5","fields":["title","subtitle"],"ref":"url","documentStore":{"docs":{"/":{"subtitle":"","url":"/","image":""},"/search/":{"subtitle":"","url":"/search/","image":""},"/contribute/":{"subtitle":"","url":"/contribute/","image":""},"/authors/tenkuma/":{"title":"tenkuma","subtitle":"A bear doing things on the internet.","url":"/authors/tenkuma/","image":"/authors/tenkuma/logo.png","tags":["author"]},"/projects/ghostsandstuff/docs/example_documentation/":{"subtitle":"","url":"/projects/ghostsandstuff/docs/example_documentation/","image":""},"/projects/aboukkit/":{"title":"Aboukkit","subtitle":"A simple way to add custom commands with custom responses to your server.","author":"tenkuma","url":"/projects/aboukkit/","image":"","tags":["plugin"]},"/projects/devilwithin/":{"title":"The Devil Within","subtitle":"Adds enchanting to Minecraft Beta. Supports balancing through curses.","author":"tenkuma","url":"/projects/devilwithin/","image":"","tags":["plugin"]},"/projects/ghostsandstuff/":{"title":"Ghosts 'n Stuff","subtitle":"Miscellaneous additions to your Minecraft server.","author":"tenkuma","url":"/projects/ghostsandstuff/","image":"","tags":["plugin"]},"/projects/hangglidere/":{"title":"HangGlideRE","subtitle":"Fly with a chicken!","author":"tenkuma","url":"/projects/hangglidere/","image":"","tags":["plugin"]},"/projects/tefreezer/":{"title":"teFreezer","subtitle":"Force your players to refrigerate their food by rotting food in unrefrigerated chests!","author":"tenkuma","url":"/projects/tefreezer/","image":"","tags":["plugin"]},"/projects/tenkumalib/":{"title":"tenkuma's Library","subtitle":"Library to support my other plugins. Does nothing on it's own.","author":"tenkuma","url":"/projects/tenkumalib/","image":"","tags":["plugin"]},"/projects/timekeeper/":{"title":"TimeKeeper","subtitle":"Syncs real world time with your Minecraft server time.","author":"tenkuma","url":"/projects/timekeeper/","image":"","tags":["plugin"]},"/error/404/":{"subtitle":"","url":"/error/404/","image":""},"/allprojects/":{"subtitle":"","url":"/allprojects/","image":""}},"docInfo":{"/":{"title":0,"subtitle":0},"/search/":{"title":0,"subtitle":0},"/contribute/":{"title":0,"subtitle":0},"/authors/tenkuma/":{"title":1,"subtitle":4},"/projects/ghostsandstuff/docs/example_documentation/":{"title":0,"subtitle":0},"/projects/aboukkit/":{"title":1,"subtitle":8},"/projects/devilwithin/":{"title":2,"subtitle":8},"/projects/ghostsandstuff/":{"title":3,"subtitle":4},"/projects/hangglidere/":{"title":1,"subtitle":2},"/projects/tefreezer/":{"title":1,"subtitle":8},"/projects/tenkumalib/":{"title":2,"subtitle":5},"/projects/timekeeper/":{"title":1,"subtitle":7},"/error/404/":{"title":0,"subtitle":0},"/allprojects/":{"title":0,"subtitle":0}},"length":14,"save":true},"index":{"title":{"root":{"docs":{},"df":0,"t":{"docs":{},"df":0,"e":{"docs":{},"df":0,"n":{"docs":{},"df":0,"k":{"docs":{},"df":0,"u":{"docs":{},"df":0,"m":{"docs":{},"df":0,"a":{"docs":{"/authors/tenkuma/":{"tf":1}},"df":1,"'":{"docs":{"/projects/tenkumalib/":{"tf":1}},"df":1}}}}}},"f":{"docs":{},"df":0,"r":{"docs":{},"df":0,"e":{"docs":{},"df":0,"e":{"docs":{},"df":0,"z":{"docs":{"/projects/tefreezer/":{"tf":1}},"df":1}}}}}},"i":{"docs":{},"df":0,"m":{"docs":{},"df":0,"e":{"docs":{},"df":0,"k":{"docs":{},"df":0,"e":{"docs":{},"df":0,"e":{"docs":{},"df":0,"p":{"docs":{"/projects/timekeeper/":{"tf":1}},"df":1}}}}}}}},"a":{"docs":{},"df":0,"b":{"docs":{},"df":0,"o":{"docs":{},"df":0,"u":{"docs":{},"df":0,"k":{"docs":{},"df":0,"k":{"docs":{},"df":0,"i":{"docs":{},"df":0,"t":{"docs":{"/projects/aboukkit/":{"tf":1}},"df":1}}}}}}}},"d":{"docs":{},"df":0,"e":{"docs":{},"df":0,"v":{"docs":{},"df":0,"i":{"docs":{},"df":0,"l":{"docs":{"/projects/devilwithin/":{"tf":1}},"df":1}}}}},"w":{"docs":{},"df":0,"i":{"docs":{},"df":0,"t":{"docs":{},"df":0,"h":{"docs":{},"df":0,"i":{"docs":{},"df":0,"n":{"docs":{"/projects/devilwithin/":{"tf":1}},"df":1}}}}}},"g":{"docs":{},"df":0,"h":{"docs":{},"df":0,"o":{"docs":{},"df":0,"s":{"docs":{},"df":0,"t":{"docs":{"/projects/ghostsandstuff/":{"tf":1}},"df":1}}}}},"n":{"docs":{"/projects/ghostsandstuff/":{"tf":1}},"df":1},"s":{"docs":{},"df":0,"t":{"docs":{},"df":0,"u":{"docs":{},"df":0,"f":{"docs":{},"df":0,"f":{"docs":{"/projects/ghostsandstuff/":{"tf":1}},"df":1}}}}},"h":{"docs":{},"df":0,"a":{"docs":{},"df":0,"n":{"docs":{},"df":0,"g":{"docs":{},"df":0,"g":{"docs":{},"df":0,"l":{"docs":{},"df":0,"i":{"docs":{},"df":0,"d":{"docs":{},"df":0,"e":{"docs":{},"df":0,"r":{"docs":{"/projects/hangglidere/":{"tf":1}},"df":1}}}}}}}}}},"l":{"docs":{},"df":0,"i":{"docs":{},"df":0,"b":{"docs":{},"df":0,"r":{"docs":{},"df":0,"a":{"docs":{},"df":0,"r":{"docs":{},"df":0,"i":{"docs":{"/projects/tenkumalib/":{"tf":1}},"df":1}}}}}}}}},"subtitle":{"root":{"docs":{},"df":0,"b":{"docs":{},"df":0,"e":{"docs":{},"df":0,"a":{"docs":{},"df":0,"r":{"docs":{"/authors/tenkuma/":{"tf":1}},"df":1}},"t":{"docs":{},"df":0,"a":{"docs":{"/projects/devilwithin/":{"tf":1}},"df":1}}},"a":{"docs":{},"df":0,"l":{"docs":{},"df":0,"a":{"docs":{},"df":0,"n":{"docs":{},"df":0,"c":{"docs":{"/projects/devilwithin/":{"tf":1}},"df":1}}}}}},"d":{"docs":{},"df":0,"o":{"docs":{"/authors/tenkuma/":{"tf":1}},"df":1}},"t":{"docs":{},"df":0,"h":{"docs":{},"df":0,"i":{"docs":{},"df":0,"n":{"docs":{},"df":0,"g":{"docs":{"/authors/tenkuma/":{"tf":1}},"df":1}}},"r":{"docs":{},"df":0,"o":{"docs":{},"df":0,"u":{"docs":{},"df":0,"g":{"docs":{},"df":0,"h":{"docs":{"/projects/devilwithin/":{"tf":1}},"df":1}}}}}},"i":{"docs":{},"df":0,"m":{"docs":{},"df":0,"e":{"docs":{"/projects/timekeeper/":{"tf":1.4142135623730951}},"df":1}}}},"i":{"docs":{},"df":0,"n":{"docs":{},"df":0,"t":{"docs":{},"df":0,"e":{"docs":{},"df":0,"r":{"docs":{},"df":0,"n":{"docs":{},"df":0,"e":{"docs":{},"df":0,"t":{"docs":{"/authors/tenkuma/":{"tf":1}},"df":1}}}}}}},"t":{"docs":{},"df":0,"'":{"docs":{"/projects/tenkumalib/":{"tf":1}},"df":1}}},"s":{"docs":{},"df":0,"i":{"docs":{},"df":0,"m":{"docs":{},"df":0,"p":{"docs":{},"df":0,"l":{"docs":{"/projects/aboukkit/":{"tf":1}},"df":1}}}},"e":{"docs":{},"df":0,"r":{"docs":{},"df":0,"v":{"docs":{},"df":0,"e":{"docs":{},"df":0,"r":{"docs":{"/projects/aboukkit/":{"tf":1},"/projects/ghostsandstuff/":{"tf":1},"/projects/timekeeper/":{"tf":1}},"df":3}}}}},"u":{"docs":{},"df":0,"p":{"docs":{},"df":0,"p":{"docs":{},"df":0,"o":{"docs":{},"df":0,"r":{"docs":{},"df":0,"t":{"docs":{"/projects/devilwithin/":{"tf":1},"/projects/tenkumalib/":{"tf":1}},"df":2}}}}}},"y":{"docs":{},"df":0,"n":{"docs":{},"df":0,"c":{"docs":{"/projects/timekeeper/":{"tf":1}},"df":1}}}},"w":{"docs":{},"df":0,"a":{"docs":{},"df":0,"y":{"docs":{"/projects/aboukkit/":{"tf":1}},"df":1}},"o":{"docs":{},"df":0,"r":{"docs":{},"df":0,"l":{"docs":{},"df":0,"d":{"docs":{"/projects/timekeeper/":{"tf":1}},"df":1}}}}},"a":{"docs":{},"df":0,"d":{"docs":{},"df":0,"d":{"docs":{"/projects/aboukkit/":{"tf":1},"/projects/devilwithin/":{"tf":1}},"df":2,"i":{"docs":{},"df":0,"t":{"docs":{"/projects/ghostsandstuff/":{"tf":1}},"df":1}}}}},"c":{"docs":{},"df":0,"u":{"docs":{},"df":0,"s":{"docs":{},"df":0,"t":{"docs":{},"df":0,"o":{"docs":{},"df":0,"m":{"docs":{"/projects/aboukkit/":{"tf":1.4142135623730951}},"df":1}}}},"r":{"docs":{},"df":0,"s":{"docs":{"/projects/devilwithin/":{"tf":1}},"df":1}}},"o":{"docs":{},"df":0,"m":{"docs":{},"df":0,"m":{"docs":{},"df":0,"a":{"docs":{},"df":0,"n":{"docs":{},"df":0,"d":{"docs":{"/projects/aboukkit/":{"tf":1}},"df":1}}}}}},"h":{"docs":{},"df":0,"i":{"docs":{},"df":0,"c":{"docs":{},"df":0,"k":{"docs":{},"df":0,"e":{"docs":{},"df":0,"n":{"docs":{"/projects/hangglidere/":{"tf":1}},"df":1}}}}},"e":{"docs":{},"df":0,"s":{"docs":{},"df":0,"t":{"docs":{"/projects/tefreezer/":{"tf":1}},"df":1}}}}},"r":{"docs":{},"df":0,"e":{"docs":{},"df":0,"s":{"docs":{},"df":0,"p":{"docs":{},"df":0,"o":{"docs":{},"df":0,"n":{"docs":{},"df":0,"s":{"docs":{"/projects/aboukkit/":{"tf":1}},"df":1}}}}},"f":{"docs":{},"df":0,"r":{"docs":{},"df":0,"i":{"docs":{},"df":0,"g":{"docs":{},"df":0,"e":{"docs":{},"df":0,"r":{"docs":{"/projects/tefreezer/":{"tf":1}},"df":1}}}}}},"a":{"docs":{},"df":0,"l":{"docs":{"/projects/timekeeper/":{"tf":1}},"df":1}}},"o":{"docs":{},"df":0,"t":{"docs":{"/projects/tefreezer/":{"tf":1}},"df":1}}},"e":{"docs":{},"df":0,"n":{"docs":{},"df":0,"c":{"docs":{},"df":0,"h":{"docs":{},"df":0,"a":{"docs":{},"df":0,"n":{"docs":{},"df":0,"t":{"docs":{"/projects/devilwithin/":{"tf":1}},"df":1}}}}}}},"m":{"docs":{},"df":0,"i":{"docs":{},"df":0,"n":{"docs":{},"df":0,"e":{"docs":{},"df":0,"c":{"docs":{},"df":0,"r":{"docs":{},"df":0,"a":{"docs":{},"df":0,"f":{"docs":{},"df":0,"t":{"docs":{"/projects/devilwithin/":{"tf":1},"/projects/ghostsandstuff/":{"tf":1},"/projects/timekeeper/":{"tf":1}},"df":3}}}}}}},"s":{"docs":{},"df":0,"c":{"docs":{},"df":0,"e":{"docs":{},"df":0,"l":{"docs":{},"df":0,"l":{"docs":{},"df":0,"a":{"docs":{},"df":0,"n":{"docs":{"/projects/ghostsandstuff/":{"tf":1}},"df":1}}}}}}}}},"f":{"docs":{},"df":0,"l":{"docs":{},"df":0,"i":{"docs":{"/projects/hangglidere/":{"tf":1}},"df":1}},"o":{"docs":{},"df":0,"r":{"docs":{},"df":0,"c":{"docs":{"/projects/tefreezer/":{"tf":1}},"df":1}},"o":{"docs":{},"df":0,"d":{"docs":{"/projects/tefreezer/":{"tf":1.4142135623730951}},"df":1}}}},"p":{"docs":{},"df":0,"l":{"docs":{},"df":0,"a":{"docs":{},"df":0,"y":{"docs":{},"df":0,"e":{"docs":{},"df":0,"r":{"docs":{"/projects/tefreezer/":{"tf":1}},"df":1}}}},"u":{"docs":{},"df":0,"g":{"docs":{},"df":0,"i":{"docs":{},"df":0,"n":{"docs":{"/projects/tenkumalib/":{"tf":1}},"df":1}}}}}},"u":{"docs":{},"df":0,"n":{"docs":{},"df":0,"r":{"docs":{},"df":0,"e":{"docs":{},"df":0,"f":{"docs":{},"df":0,"r":{"docs":{},"df":0,"i":{"docs":{},"df":0,"g":{"docs":{},"df":0,"e":{"docs":{},"df":0,"r":{"docs":{"/projects/tefreezer/":{"tf":1}},"df":1}}}}}}}}}},"l":{"docs":{},"df":0,"i":{"docs":{},"df":0,"b":{"docs":{},"df":0,"r":{"docs":{},"df":0,"a":{"docs":{},"df":0,"r":{"docs":{},"df":0,"i":{"docs":{"/projects/tenkumalib/":{"tf":1}},"df":1}}}}}}},"n":{"docs":{},"df":0,"o":{"docs":{},"df":0,"t":{"docs":{},"df":0,"h":{"docs":{"/projects/tenkumalib/":{"tf":1}},"df":1}}}}}}},"pipeline":["trimmer","stopWordFilter","stemmer"]} \ No newline at end of file diff --git a/allprojects.njk b/allprojects.njk deleted file mode 100644 index 21dad4a..0000000 --- a/allprojects.njk +++ /dev/null @@ -1,38 +0,0 @@ ---- -layout: base.njk -pagination: - data: collections.projects - size: 10 - alias: paginatedProjects -styles: ["search"] ---- - - - diff --git a/_site/allprojects/index.html b/allprojects/index.html similarity index 55% rename from _site/allprojects/index.html rename to allprojects/index.html index 855814e..aed9cf1 100644 --- a/_site/allprojects/index.html +++ b/allprojects/index.html @@ -2,28 +2,31 @@ - + - + neoBeta +
-
    +

    Projects Index - page 1

    + +

      - + - Aboukkit + Aboukkit - by tenkuma + by tenkuma

      A simple way to add custom commands with custom responses to your server.

      @@ -55,63 +60,11 @@

      - + - Ghosts 'n Stuff + The Devil Within - by tenkuma - -

      -

      Miscellaneous additions to your Minecraft server.

      -
      - -
      plugin
      - -
      -
      - -
      -

      - - - - tenkuma's Library - - by tenkuma - -

      -

      Library to support my other plugins. Does nothing on it's own.

      -
      - -
      plugin
      - -
      -
      - -
      -

      - - HangGlideRE - - by tenkuma - -

      -

      Fly with a chicken!

      -
      - -
      plugin
      - -
      -
      - -
      -

      - - - - The Devil Within - - by tenkuma + by tenkuma

      Adds enchanting to Minecraft Beta. Supports balancing through curses.

      @@ -125,14 +78,14 @@

      - + - TimeKeeper + Ghosts 'n Stuff - by tenkuma + by tenkuma

      -

      Syncs real world time with your Minecraft server time.

      +

      Miscellaneous additions to your Minecraft server.

      plugin
      @@ -143,11 +96,27 @@

      - + HangGlideRE - teFreezer + by tenkuma - by tenkuma +

      +

      Fly with a chicken!

      +
      + +
      plugin
      + +
      +
      + +
      +

      + + + + teFreezer + + by tenkuma

      Force your players to refrigerate their food by rotting food in unrefrigerated chests!

      @@ -161,12 +130,36 @@

      - + + + tenkuma's Library + + by tenkuma

      -

      +

      Library to support my other plugins. Does nothing on it's own.

      +
      plugin
      + +
      +
      + +
      +

      + + + + TimeKeeper + + by tenkuma + +

      +

      Syncs real world time with your Minecraft server time.

      +
      + +
      plugin
      +
      diff --git a/_site/android-chrome-192x192.png b/android-chrome-192x192.png similarity index 100% rename from _site/android-chrome-192x192.png rename to android-chrome-192x192.png diff --git a/_site/android-chrome-512x512.png b/android-chrome-512x512.png similarity index 100% rename from _site/android-chrome-512x512.png rename to android-chrome-512x512.png diff --git a/_site/apple-touch-icon.png b/apple-touch-icon.png similarity index 100% rename from _site/apple-touch-icon.png rename to apple-touch-icon.png diff --git a/assets/search.js b/assets/search.js index fe6d015..0e8b8f4 100644 --- a/assets/search.js +++ b/assets/search.js @@ -1,4 +1,9 @@ -fetch('/search_index.json') +function url(path) { + const prefix = (window.ELEVENTY_PATH_PREFIX || '').replace(/\/$/,''); + return (prefix ? prefix + '/' : '/') + path.replace(/^\/+/,''); +} + +fetch(url("search_index.json")) .then(r => r.json()) .then(data => { const idx = elasticlunr.Index.load(data); @@ -28,7 +33,7 @@ fetch('/search_index.json') }); return `
      -

      ${doc.image ? `` : ''} ${doc.title}${doc.author ? ` by ${doc.author}` : ''}

      +

      ${doc.image ? `` : ''} ${doc.title}${doc.author ? ` by ${doc.author}` : ''}

      ${doc.subtitle}

      ${tagsHTML} diff --git a/assets/stylesheets/project.css b/assets/stylesheets/project.css index 7a8f9ae..3e6cf28 100644 --- a/assets/stylesheets/project.css +++ b/assets/stylesheets/project.css @@ -100,6 +100,14 @@ overflow-y: auto; } +.projectInfoGitHubReleases.less { + overflow: hidden; + display: -webkit-box; + line-clamp: 2; + -webkit-line-clamp: 2; + -webkit-box-orient: vertical +} + @media only screen and (max-width: 1280px) { #projectImagesAndInfo { flex-direction: column; diff --git a/assets/stylesheets/styles.css b/assets/stylesheets/styles.css index 61730e9..83be309 100644 --- a/assets/stylesheets/styles.css +++ b/assets/stylesheets/styles.css @@ -15,7 +15,7 @@ @font-face { font-family: Minecraft; - src: url("/assets/MinecraftRegular-Bmg3.otf") format("opentype"); + src: url("../MinecraftRegular-Bmg3.otf") format("opentype"); } body { @@ -50,8 +50,8 @@ main { } /* main:last-child { - margin-bottom: 0px; - padding-bottom: 0px; +margin-bottom: 0px; +padding-bottom: 0px; } */ button { @@ -70,6 +70,9 @@ code { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; border-radius: 2px; display: inline-block; + max-width: 100%; + overflow-x: auto; + font-size: .8em; } input, select { @@ -91,6 +94,10 @@ hr { margin-bottom: 1em; } +h1, h2, h3, h4, h5, h6 { + text-shadow: 2px 6px 5px rgba(0,0,0,0.2), 0px -4px 10px rgba(0,0,0,0.3); +} + #linksBox { padding: 2em; display: flex; @@ -174,11 +181,22 @@ hr { } .featuredProjectSubtitle { -overflow: hidden; - width: 100%; - display: -webkit-box; - -webkit-line-clamp: 2; - -webkit-box-orient: vertical + overflow: hidden; + width: 100%; + display: -webkit-box; + line-clamp: 2; + -webkit-line-clamp: 2; + -webkit-box-orient: vertical +} + +.oneLineClamp { + overflow: hidden; + width: 100%; + display: -webkit-box; + height: 1em; + line-clamp: 1; + -webkit-line-clamp: 1; + -webkit-box-orient: vertical } .featuredProjectSubtitle { @@ -232,13 +250,14 @@ h1, h2, h3 { color: transparent; animation: rainbow_animation 6s ease-in-out infinite; background-size: 400% 100%; + text-shadow: none; } @keyframes rainbow_animation { 0%,100% { background-position: 0 0; } - + 50% { background-position: 100% 0; } @@ -248,25 +267,25 @@ h1, h2, h3 { #everythingHelper { flex-direction: column; } - + aside { width: 100%; } - + #projectTitle { font-size: larger; } - + #headerLinksAndTitle { flex-direction: row; } - + #headerLinks { margin-left: 2em; } - + } @media only screen and (max-width: 300px) { - + } \ No newline at end of file diff --git a/authors/authors.json b/authors/authors.json deleted file mode 100644 index 5c47c84..0000000 --- a/authors/authors.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "layout": "author.njk", - "tags": "author" -} \ No newline at end of file diff --git a/_site/authors/tenkuma/index.html b/authors/tenkuma/index.html similarity index 55% rename from _site/authors/tenkuma/index.html rename to authors/tenkuma/index.html index 04161e8..dd8afc5 100644 --- a/_site/authors/tenkuma/index.html +++ b/authors/tenkuma/index.html @@ -2,28 +2,31 @@ - + - + tenkuma - neoBeta +
      - + + +

      tenkuma

      @@ -45,9 +50,15 @@

      Images

      - - + + + + + + + +
      diff --git a/authors/tenkuma/index.md b/authors/tenkuma/index.md deleted file mode 100644 index 232f6bb..0000000 --- a/authors/tenkuma/index.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -name: "tenkuma" -subtitle: "A bear doing things on the internet." -downloadLink: "https://modrinth.com/plugin/tenkumalib/versions" -logoName: "logo" -logoExtension: "png" -images: ["tenkuma-silverfish.jpg", "tenkuma-mrnando-enderdragon.jpg"] ---- - -I'm tenkuma. A bear, dreamer and sometimes developer. - -You can find more about me on [my website](https://adrianvictor.rf.gd). \ No newline at end of file diff --git a/contribute.md b/contribute.md deleted file mode 100644 index 183bb7b..0000000 --- a/contribute.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -layout: "base.njk" ---- -## How can I get my project here? - -neoBeta is an open-source content management system. There are various ways you can put your plugin/mod on our catalog: - - Clone [neoBeta's repository](https://github.com/adrianvic/neoBeta), create your project folder inside the /projects directory with the necessary metadata (index.md for project description, index.json for metadata and any other file your project may depend on) and make a pull request. Less manual work on our side, so review should be quickier. - - Open an issue on our GitHub repository with the project information. This may take longer as a contributor will have to spend time creating the project files, but is useful if you're not confortable using Git. - - Host your own instance of neoBeta. - -### Required metadata fields - - *name* - project name. - ```"name": "Ghosts 'n Stuff"``` - - *subtitle* - project's brief description. - ```"subtitle": "Miscellaneous additions to your server."``` - - *author* - your author name, must be consistent across all your submissions. - ```"author": "tenkuma"``` - - *tags* - whether your project is a plugin or mod. - ```"tags": ["plugin", "mod"]``` - -### Optional metadata fields -Please fill as many fields as possible. - - *downloadLink* - link for when you click the download link. - ```"downloadLink": "https://example.com"``` - - *images* - lists of image files names or URLs that will appear in the project page. - ```"images": "["image1.png", "image2.png", "image3.png"]"``` - - *logo* - your logo file name or URL. - ```"logo": "logo.png"``` - -### Config file example -``` -{ - "name": "Ghosts 'n Stuff", - "subtitle": "Miscellaneous additions to your server.", - "author": "tenkuma", - "downloadLink": "https://example.com", - "images": "["image1.png", "image2.png", "image3.png"]", - "logo": "logo.png", - "tags": ["plugin", "mod"] -} -``` \ No newline at end of file diff --git a/eleventy.config.js b/eleventy.config.js deleted file mode 100644 index 627cb16..0000000 --- a/eleventy.config.js +++ /dev/null @@ -1,70 +0,0 @@ -import elasticlunr from 'elasticlunr'; -import fs from 'fs'; -import path from 'path'; - -let allPlugins = []; - -export default function (eleventyConfig) { - eleventyConfig.addPassthroughCopy("projects/**/*.png"); - eleventyConfig.addPassthroughCopy("projects/**/*.jpg"); - eleventyConfig.addPassthroughCopy("projects/**/*.jpeg"); - eleventyConfig.addPassthroughCopy("authors/**/*.png"); - eleventyConfig.addPassthroughCopy("authors/**/*.jpg"); - eleventyConfig.addPassthroughCopy("authors/**/*.jpeg"); - eleventyConfig.addPassthroughCopy("assets"); - eleventyConfig.addPassthroughCopy({ "favicon/*" : "/" }); - - eleventyConfig.addCollection("projects", function(collection) { - return collection.getFilteredByGlob("./projects/**/*.md"); - }); - - eleventyConfig.addGlobalData("eleventyComputed", { - projectData: (data) => { - const inputPath = data.page.inputPath; - if (!inputPath.match(/\/projects\/[^\/]+\/docs\//)) return null; - - const projectDir = path.dirname(path.dirname(inputPath)); - const projectJson = path.join(projectDir, "index.json"); - - if (fs.existsSync(projectJson)) { - return JSON.parse(fs.readFileSync(projectJson, "utf-8")); - } - return { name: path.basename(projectDir) }; - }, - - layout: (data) => { - const inputPath = data.page.inputPath; - if (inputPath.match(/\/projects\/[^\/]+\/docs\//)) return "docs.njk"; - return data.layout; - } - }); - - eleventyConfig.addCollection('searchIndex', (collectionApi) => { - const result = collectionApi.getAll().map(item => { - return { - title: item.data.name, - subtitle: item.data.subtitle || "", - author: item.data.author, - url: item.url, - image: (item.data.logoName && item.data.logoExtension) ? item.url + item.data.logoName + '.' + item.data.logoExtension : '', - tags: item.data.tags - }; - }); - - allPlugins = result; - return result; - }); - - eleventyConfig.on('afterBuild', () => { - const idx = elasticlunr(function () { - this.setRef('url'); - this.addField('title', { boost: 2 }); - this.addField('subtitle'); - // this.addField('tags') so search does not match - - allPlugins.forEach(doc => this.addDoc(doc)); - }); - - fs.writeFileSync('./_site/search_index.json', JSON.stringify(idx)); - }); -}; diff --git a/error/404.html b/error/404.html deleted file mode 100644 index fe976ff..0000000 --- a/error/404.html +++ /dev/null @@ -1,4 +0,0 @@ ---- -errorQuote: "If only the clockworks could speak
      I wouldn't be so alone" -errorDescription: "We didn't find what you are looking for..." ---- \ No newline at end of file diff --git a/_site/error/404/index.html b/error/404/index.html similarity index 61% rename from _site/error/404/index.html rename to error/404/index.html index a903e80..2b431c8 100644 --- a/_site/error/404/index.html +++ b/error/404/index.html @@ -2,26 +2,29 @@ - + neoBeta +
diff --git a/index.njk b/index.njk deleted file mode 100644 index bf67345..0000000 --- a/index.njk +++ /dev/null @@ -1,20 +0,0 @@ ---- -layout: "base.njk" -styles: ["home"] ---- - -{% import "featured.njk" as featured %} - -

Howdy, traveler.

-

This website is the place for Minecraft plugins, made with users and developers in mind. neobeta is open-source, you can find out how the website is made in our GitHub repository (spoiler: there's some real magic going on).

-

Our catalog is made by developers and community, you can get involved by following the tutorial linked here.

-
-
-

Featured projects

- {{ featured.projectShowcase(["ghostsandstuff", "aboukkit", "tenkumalib", "hangglidere", "devilwithin", "timekeeper", "tefreezer"], collections.projects) }} -
-
-

Latest updates

-

2025-10-27: Website redesign!
Yaaay! neoBeta got a stylish redesign.

-
-
\ No newline at end of file diff --git a/package.json b/package.json deleted file mode 100644 index 574e4b7..0000000 --- a/package.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "name": "neobeta", - "version": "1.0.0", - "description": "A CMS for minecraft plugins.", - "main": "index.js", - "type": "module", - "scripts": { - "test": "echo \"Error: no test specified\" && exit 1", - "serve": "npx @11ty/eleventy --serve", - "watch:sass": "sass src/static/scss:public/static/css --watch", - "build:sass": "sass src/static/scss:public/static/css", - "watch:eleventy": "eleventy --serve", - "build:eleventy": "ELEVENTY_ENV=development eleventy", - "start": "npm run watch:eleventy & npm run watch:sass", - "build": "npm run build:eleventy & npm run build:sass", - "build:sass:prod": "sass src/static/scss:public/static/css --style compressed", - "build:eleventy:prod": "ELEVENTY_ENV=production eleventy", - "build:prod": "npm run build:eleventy:prod & npm run build:sass:prod" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/adrianvic/neoBeta.git" - }, - "author": "Adrian Victor de Abreu Alves ", - "license": "Unlicense", - "bugs": { - "url": "https://github.com/adrianvic/neoBeta/issues" - }, - "homepage": "https://github.com/adrianvic/neoBeta#readme", - "dependencies": { - "@11ty/eleventy": "^3.1.2", - "elasticlunr": "^0.9.5", - "sass": "1.93.2" - } -} diff --git a/_site/projects/aboukkit/index.html b/projects/aboukkit/index.html similarity index 62% rename from _site/projects/aboukkit/index.html rename to projects/aboukkit/index.html index aeb8892..3afd4fa 100644 --- a/_site/projects/aboukkit/index.html +++ b/projects/aboukkit/index.html @@ -2,28 +2,31 @@ - + - + Aboukkit - neoBeta +