Skip to content

Commit

Permalink
Merge pull request melonjs#15 from L1lith/gh-pages
Browse files Browse the repository at this point in the history
Update README & Styling
  • Loading branch information
obiot authored Jul 13, 2022
2 parents 9102604 + fd463f0 commit de30c45
Show file tree
Hide file tree
Showing 20 changed files with 1,199 additions and 869 deletions.
1 change: 0 additions & 1 deletion CNAME

This file was deleted.

39 changes: 35 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,39 @@
melonJS
=======
# melonJS.org

This is the website for [melon.js](https://melonjs.org/). To see how to edit it, please see [Astro](https://astro.build). Pages and components are built using HTML templates (ending in `.astro`), allowing us to split our website up into different parts. The Astro framework also supports the use of `.scss` and many other handy libraries if necessary.

## How to run the site

To run the website in development mode:

npm run dev

To publish a new version of the site:

npm run build
git add .
git commit -m "Deploy my new feature!"
git push

To make the source code look pretty (and enforce consistent styling):

npm run pretty
git add .
git commit -m "make the source code prettier"
git push

## Directory Layout

| Directory | Purpose |
| :--------------- | :---------------------------------------------------------------------------------- |
| /public/ | Static Assets |
| /src/pages/ | Pages (routing based on file path, we can also put MD files in here!) |
| /src/components/ | Components (little HTML pieces we can re-use across the site, like the site header) |
| /src/layout/ | Re-usable layouts we can use on any page we want. |
| /src/styles/ | Where all of the styles are stored (except inline ones) |

***

A fresh & lightweight HTML5 game engine
-------------------------------------------------------------------------------
![melonJS](http://melonjs.org/media/alex4-github.png)

Copyright (C) 2011 - 2022, AltByte Pte Ltd
Expand Down
1 change: 0 additions & 1 deletion docs/assets/4d5b4ae0.bf76871b.css

This file was deleted.

1 change: 1 addition & 0 deletions docs/assets/f0efa161.fdada72a.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions docs/docs/index.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!DOCTYPE html>
<head>
<script type="text/javascript">
window.location = "http://melonjs.github.io/melonJS/docs/";
</script>
<script type="text/javascript">
window.location = 'http://melonjs.github.io/melonJS/docs/'
</script>
</head>
10 changes: 10 additions & 0 deletions docs/img/discord.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
55 changes: 55 additions & 0 deletions docs/img/github.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/img/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit de30c45

Please sign in to comment.