diff --git a/_includes/base.njk b/_includes/base.njk index 42e2a8d..b5c1d6c 100644 --- a/_includes/base.njk +++ b/_includes/base.njk @@ -1,17 +1,6 @@ - - - - - - - neoBeta - - -
- {% include "header.njk" %} -
- {{ content | safe }} -
-
- - \ No newline at end of file +--- +layout: "skeleton.njk" +--- +
+ {{ content | safe }} +
\ No newline at end of file diff --git a/_includes/project.njk b/_includes/project.njk index 1d0f1b8..c12d473 100644 --- a/_includes/project.njk +++ b/_includes/project.njk @@ -1,38 +1,26 @@ - - - - - - - neoBeta - - - -
- {% include "header.njk" %} -
- {% if logo %} - - {% endif %} -
-
-

{{ name }}

-

by {{ author }}

-
-

{{ subtitle }}

-
- +--- +layout: "skeleton.njk" +--- +
+ {% if logo %} + + {% endif %} +
+
+

{{ name }}

+

by {{ author }}

- {% include "project_image.njk" %} -
- {% 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 %} -
+

{{ subtitle }}

- - \ No newline at end of file + +
+{% include "project_image.njk" %} +
+ {% 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/skeleton.njk b/_includes/skeleton.njk new file mode 100644 index 0000000..d52cbc4 --- /dev/null +++ b/_includes/skeleton.njk @@ -0,0 +1,15 @@ + + + + + + + {% if name %}{{ name }} - {% endif %}neoBeta + + +
+ {% include "header.njk" %} + {{ content | safe }} +
+ + \ No newline at end of file diff --git a/assets/styles.css b/assets/styles.css index dc08f29..8b55deb 100644 --- a/assets/styles.css +++ b/assets/styles.css @@ -51,13 +51,16 @@ button:hover { } code { - background-color: rgb(75, 75, 75); - border: 1px solid white; - padding-left: 4px; - padding-right: 4px; + background-color: darkslategray; + color: var(--accent-color); + /* outline: 1px solid white; */ + padding-left: .2em; + padding-right: .2em; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; + border-radius: 2px; /* margin-left: 2px; margin-right: 2px; */ + display: inline-block; } input, select { diff --git a/contribute.md b/contribute.md index f1651c0..183bb7b 100644 --- a/contribute.md +++ b/contribute.md @@ -4,7 +4,7 @@ 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, 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. + - 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. @@ -25,4 +25,17 @@ Please fill as many fields as possible. - *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"``` \ No newline at end of file + ```"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 index 60443c9..b9c21ed 100644 --- a/eleventy.config.js +++ b/eleventy.config.js @@ -11,6 +11,7 @@ export default function (eleventyConfig) { eleventyConfig.addPassthroughCopy("authors/**/*.jpg"); eleventyConfig.addPassthroughCopy("authors/**/*.jpeg"); eleventyConfig.addPassthroughCopy("assets"); + eleventyConfig.addPassthroughCopy({ "favicon/*" : "/" }); eleventyConfig.addCollection("projects", function(collection) { return collection.getFilteredByGlob("./projects/**/*.md"); diff --git a/favicon/android-chrome-192x192.png b/favicon/android-chrome-192x192.png new file mode 100644 index 0000000..d3b612d Binary files /dev/null and b/favicon/android-chrome-192x192.png differ diff --git a/favicon/android-chrome-512x512.png b/favicon/android-chrome-512x512.png new file mode 100644 index 0000000..b816eaa Binary files /dev/null and b/favicon/android-chrome-512x512.png differ diff --git a/favicon/apple-touch-icon.png b/favicon/apple-touch-icon.png new file mode 100644 index 0000000..cabf8ac Binary files /dev/null and b/favicon/apple-touch-icon.png differ diff --git a/favicon/favicon-16x16.png b/favicon/favicon-16x16.png new file mode 100644 index 0000000..cc32a0b Binary files /dev/null and b/favicon/favicon-16x16.png differ diff --git a/favicon/favicon-32x32.png b/favicon/favicon-32x32.png new file mode 100644 index 0000000..e9a0548 Binary files /dev/null and b/favicon/favicon-32x32.png differ diff --git a/favicon/favicon.ico b/favicon/favicon.ico new file mode 100644 index 0000000..85cffca Binary files /dev/null and b/favicon/favicon.ico differ diff --git a/favicon/site.webmanifest b/favicon/site.webmanifest new file mode 100644 index 0000000..45dc8a2 --- /dev/null +++ b/favicon/site.webmanifest @@ -0,0 +1 @@ +{"name":"","short_name":"","icons":[{"src":"/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#ffffff","background_color":"#ffffff","display":"standalone"} \ No newline at end of file diff --git a/projects/timekeeper/index.md b/projects/timekeeper/index.md index 27d688d..5223f2c 100644 --- a/projects/timekeeper/index.md +++ b/projects/timekeeper/index.md @@ -6,7 +6,9 @@ It will calculate and change the game time every second (that's 20 ticks and can ## Performance I am not sure if this plugin has any significant performance hit, it runs code every few ticks (you can in/decrease the frequency in the config) and that is not the best approach for doing this, but it's the only that works in beta. Using it with `ticksBetweenUpdate: 1` does not seem to change the performance in any way. The specifications for the computer used for the tests: -```Host: 83AF IdeaPad 1 14IAU7 +``` +Host: 83AF IdeaPad 1 14IAU7 CPU: 12th Gen Intel i5-1235U (12) @ 1.300GHz GPU: Intel Alder Lake-UP3 GT2 [Iris Xe Graphics] -Memory: 10097MiB / 15709MiB``` \ No newline at end of file +Memory: 10097MiB / 15709MiB +``` \ No newline at end of file