Skip to content

Commit

Permalink
New Site
Browse files Browse the repository at this point in the history
  • Loading branch information
SCsupercraft committed Sep 9, 2024
1 parent 59e2881 commit ea07c39
Show file tree
Hide file tree
Showing 76 changed files with 17,348 additions and 1,339 deletions.
46 changes: 46 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
on:
workflow_dispatch:
push:

permissions:
contents: read
pages: write
id-token: write

concurrency:
group: "deploy"
cancel-in-progress: true
#ci-${{ github.ref }}

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup GitHub Pages
id: pages
uses: actions/configure-pages@v1
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 20.x
- name: Install dependencies
run: npm i
- name: Build site
run: npm run build
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: ./build/

deploy:
environment:
name: github-pages
url: 'https://scsupercraft.github.io/Crafters-Official'
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
20 changes: 20 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Dependencies
/node_modules

# Production
/build

# Generated files
.docusaurus
.cache-loader

# Misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*
1 change: 1 addition & 0 deletions LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
All Rights Reserved unless otherwise explicitly stated.
14 changes: 2 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,3 @@
# Crafters-Official
My website
# Crafters Official

# Utils
fonts.css is for fonts

drop-box/main.css is the style for dropboxes

drop-box/main.js is the code for the dropbox

You can look at the source code for index.html to see how they work

Feel free to use fonts.css, drop-box/main.css and drop-box/main.js
This website is built using [Docusaurus](https://docusaurus.io/), a modern static website generator.
3 changes: 3 additions & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
presets: [require.resolve('@docusaurus/core/lib/babel/preset')],
};
13 changes: 13 additions & 0 deletions blog/2024-09-09-new-site.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
slug: new-site
title: New Website
authors: [scsupercraft]
tags: [announcement]
---

We have a new website! (The one you are on right now).\
Thanks to Docusaurus this new website was made possible.

<!-- truncate -->

There are a few reasons why we are using Docusaurus, firstly Docusaurus is built using React making it easier to develop the site. Next Docusaurus is powered by MDX, which will save lots of time creating new pages. MDX is also very powerful since it has plugins and you can even use React inside of MDX. Of course there are plenty of other features but I'm not going to list them all, if you more information about Docusaurus and what it can do check out [Docusaurus' official website](https://docusaurus.io/docs/category/guides).
8 changes: 8 additions & 0 deletions blog/authors.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
scsupercraft:
name: SCsupercraft
# title: Docusaurus maintainer
url: https://github.com/SCsupercraft
image_url: https://avatars.githubusercontent.com/u/103709272?v=4
page: true
socials:
github: SCsupercraft
24 changes: 24 additions & 0 deletions blog/tags.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
announcement:
label: Announcement
permalink: /announcements
description: Important announcements

update:
label: Updates
permalink: /updates
description: Updates

new:
label: New Release
permalink: /new-releases
description: New releases

fnag:
label: Five Nights At Gru's
permalink: /fnag
description: Anything to do with Five Nights At Gru's

block-lands:
label: Block Lands
permalink: /block-lands
description: Anything to do with Block Lands
48 changes: 48 additions & 0 deletions docs/01-fnag.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# Five Nights At Gru's

FNAG is a horror game based on FNAF. There are 9 rooms: your office, the left corridoor, the right corridoor, the stage, Macho Cove, the toilets, the storage room, the lab and the party room.
Your goal is to survive until 6am while the Despicable Me characters try to kill you.

## Versions

[Changelog](../fnag/changelog)

<div style={{display: 'table-cell', paddingRight: 30}}>
[V1.0](https://drive.google.com/file/d/18ksduMOoRGsvKTfBQJvmkJ2ZlIR950Dd/view?usp=sharing)\
[V0.4](https://drive.google.com/file/d/1I87tMaPdJRpGpAN-r21SNP_qr9tqT63J/view?usp=share_link)\
[V0.2.2](https://drive.google.com/file/d/1GSj53LkZeZPC_2OXyjqC_tHjjfE5tBG-/view?usp=sharing)\
[V0.2](https://drive.google.com/file/d/1TARLgZsuiG5XkKXGn6nGysF9vBZnY_8k/view?usp=sharing)
</div>
<div style={{display: 'table-cell'}}>
[V0.5](https://drive.google.com/file/d/10jJRep-IAxszO5UBLOfpOZlZ6DBGRihh/view?usp=share_link)\
[V0.3](https://drive.google.com/file/d/1O-g7IselUBKW0HCDcIeSK-5ZwkSKY3ul/view?usp=share_link)\
[V0.2.1](https://drive.google.com/file/d/1lXLNssGsi8n0lh6l7fnp-eeH48bPYb5A/view?usp=sharing)\
[V0.1](https://drive.google.com/file/d/1d0fwk5GHxFKULqZqRIHjEb9jblqqquIb/view?usp=sharing)
</div>

## Installation

[Click here to start download (V1.0)](https://drive.google.com/file/d/18ksduMOoRGsvKTfBQJvmkJ2ZlIR950Dd/view?usp=sharing)

1. Download the .exe file provided
2. Open the .exe file and complete the setup instructions
3. Open the new .exe file generated by the setup program

## Credits

- [bumblebeeman89](https://scratch.mit.edu/users/bumblebeeman89/) - Manager
- [SCsupercraft](https://scratch.mit.edu/users/SCsupercraft/) - Background design, Coding, Main contributor, Office
- [Greycatkitty22](https://scratch.mit.edu/users/Greycatkitty22/) - Coding, Character design, Voices
- [macncheesefan1234](https://scratch.mit.edu/users/Macncheesefan1234/) - Character design
- [GRN10131](https://scratch.mit.edu/users/GRN10131/) - Background design, Coding, Voices
- [Gagerer](https://scratch.mit.edu/users/Gagerer/) - Character design, Costume design
- [MT16GAMING](https://scratch.mit.edu/users/MT16GAMING/) - Death scene design
- [Wojmro2011](https://scratch.mit.edu/users/Wojmro2011/) - Character design
- [boringbarywhacyraces](https://scratch.mit.edu/users/boringbarywhacyraces/) - Animations
- [Daemon23](https://scratch.mit.edu/users/Daemon23/) - Supporter
- [icouldntofanam](https://scratch.mit.edu/users/icouldntofanam/) - Supporter

## More

- [Learn more about Five Nights at Gru's here](../fnag)
- [Check out the scratch project (source code)](https://scratch.mit.edu/projects/855681891)
14 changes: 14 additions & 0 deletions docs/02-block-lands.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Block Lands

Block Lands is a 2D Puzzle Platformer game with simple graphics and plenty of levels.
Only Available on Game Jolt (for now!).

## Credits

- [SCsupercraft](https://scratch.mit.edu/users/SCsupercraft/) - Manager, Coder, Artist, Game Audio Engineer, Designer, Tester

## More

- [Learn more about Block Lands here](../block-lands)
- [Read the Changelog](../block-lands/changelog)
- [Check out our Gamejolt page](https://gamejolt.com/games/block-lands/858006)
180 changes: 180 additions & 0 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,180 @@
// @ts-check
// `@type` JSDoc annotations allow editor autocompletion and type checking
// (when paired with `@ts-check`).
// There are various equivalent ways to declare your Docusaurus config.
// See: https://docusaurus.io/docs/api/docusaurus-config

import { themes as prismThemes } from 'prism-react-renderer';

/** @type {import('@docusaurus/types').Config} */
const config = {
title: 'Crafters Official',
// tagline: 'Dinosaurs are cool',
favicon: 'img/Logo.png',

// Set the production url of your site here
url: 'https://scsupercraft.github.io/',
// Set the /<baseUrl>/ pathname under which your site is served
// For GitHub pages deployment, it is often '/<projectName>/'
baseUrl: '/Crafters-Official/',

// GitHub pages deployment config.
// If you aren't using GitHub pages, you don't need these.
organizationName: 'Crafters Official', // Usually your GitHub org/user name.
projectName: 'crafters-official-website', // Usually your repo name.

onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'warn',

// Even if you don't use internationalization, you can use this field to set
// useful metadata like html lang. For example, if your site is Chinese, you
// may want to replace "en" with "zh-Hans".
i18n: {
defaultLocale: 'en',
locales: ['en'],
},

presets: [
[
'classic',
/** @type {import('@docusaurus/preset-classic').Options} */
({
docs: {
routeBasePath: '/games',
sidebarPath: './sidebars.js',
},
blog: {
routeBasePath: '/updates',
showReadingTime: false,
feedOptions: {
type: ['rss', 'atom'],
xslt: true,
},
postsPerPage: 'ALL',
blogSidebarTitle: 'All updates',
blogSidebarCount: 'ALL',
onInlineTags: 'warn',
onInlineAuthors: 'warn',
onUntruncatedBlogPosts: 'ignore',
},
theme: {
customCss: './src/css/custom.css',
},
}),
],
],

plugins: [
[
'@docusaurus/plugin-content-docs',
{
id: 'fnag',
path: 'games/fnag',
routeBasePath: 'fnag',
sidebarPath: './sidebars.js',
// ... other options
},
],
[
'@docusaurus/plugin-content-docs',
{
id: 'block-lands',
path: 'games/block-lands',
routeBasePath: 'block-lands',
sidebarPath: './sidebars.js',
// ... other options
},
],
],

themeConfig:
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
({
navbar: {
title: 'Crafters Official',
logo: {
alt: 'Crafters Official Logo',
src: 'img/Logo.png',
},
items: [
{
type: 'docSidebar',
sidebarId: 'sidebar',
position: 'left',
label: 'Games',
},
{ to: '/updates', label: 'Updates', position: 'left' },
{
href: 'https://github.com/SCsupercraft/Crafters-Official',
position: 'right',
className: 'header-github-link',
'aria-label': 'GitHub repository',
},
],
},
footer: {
style: 'dark',
links: [
{
title: 'Pages',
items: [
{
label: 'Games',
to: '/games',
},
],
},
{
title: 'Featured',
items: [
{
label: 'FNAG',
to: '/games/fnag',
},
],
},
/*{
title: 'Community',
items: [
{
label: 'Stack Overflow',
href: 'https://stackoverflow.com/questions/tagged/docusaurus',
},
{
label: 'Discord',
href: 'https://discordapp.com/invite/docusaurus',
},
{
label: 'Twitter',
href: 'https://twitter.com/docusaurus',
},
],
},*/
{
title: 'More',
items: [
{
label: 'Updates',
to: '/updates',
},
{
label: 'GitHub',
href: 'https://github.com/SCsupercraft/Crafters-Official',
},
],
},
],
copyright: `Copyright © ${new Date().getFullYear()} SCsupercraft.`,
},
prism: {
theme: prismThemes.github,
darkTheme: prismThemes.dracula,
},
tableOfContents: {
minHeadingLevel: 2,
maxHeadingLevel: 4,
},
}),
};

export default config;
8 changes: 8 additions & 0 deletions games/block-lands/01-about.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
slug: ../
---

# Block Lands

Block Lands is a 2D Puzzle Platformer game with simple graphics and plenty of levels.
[Only Available on Game Jolt](https://gamejolt.com/games/block-lands/858006) (for now!).
3 changes: 3 additions & 0 deletions games/block-lands/02-credits.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Credits

- [SCsupercraft](https://scratch.mit.edu/users/SCsupercraft/) - Manager, Coder, Artist, Game Audio Engineer, Designer, Tester
Loading

0 comments on commit ea07c39

Please sign in to comment.