Skip to content

Commit

Permalink
Merge branch 'main' of github.com:Mastodon-DE/joinmastodon
Browse files Browse the repository at this point in the history
  • Loading branch information
CPlusPatch committed Jul 22, 2024
2 parents ef03082 + 72a4fbe commit 0097914
Show file tree
Hide file tree
Showing 3 changed files with 280 additions and 145 deletions.
33 changes: 29 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,24 @@ First, install the Bun runtime at https://bun.sh.
### Linux/MacOS
`curl -fsSL https://bun.sh/install | bash`

Then, install the Node Version Manager (NVM) at https://github.com/nvm-sh/nvm.

### Windows
`wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash`

### Linux/MacOS
`curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash`

After installing these, reload your shell using `exec bash` (*or the name of whatever shell you use*) or restart your command line interface.

Then, run the following commands:

```
bun install
bun dev
```

## Test as In Production
## Test as in Production

```
bun build
Expand Down Expand Up @@ -61,15 +71,30 @@ sudo docker compose up -d

`joinmastodon\components\grids\TeamGrid.vue`

# Website

Anything inside the `pages/` directory appears and exists as a webpage. `index.vue` is `/` meanwhile `contact.vue` is `/contact`! The file in the directory `pages/blog/` has a special filename (`[...path].vue`) to tell it to handle anything that starts with `/blog/` differently (*excluding the locale tags like /en or /de*)

## Blog

To edit the way the blog posts look (*CSS, JS, Template*) you need to edit the following file:

`joinmastodon\pages\blog\[...path].vue`


## Troubleshoot / Find Anything In This Code

1. Go to join-mastodon.de and inspect element whatever you wish to find
2. Copy the class names
3. Go to VSCode/VSCodium and do CTRL+SHIFT+F to do a global search for them


## To Do

- Fix navbar ALWAYS bringing you to the English version of a page, not the version of the page you're using it on (*most likely it is bringing you to the version of the page of your locale, disregarding settings*)
- Fix MastodonDE Logo (SVG font does not work, so use PNG or do something so it stops using the font)
- Add a headline over the account grid
- Add English translations for the FAQ
- Fix everything written in English
- Make CLEARER that we are not Mastodon nor are we developing the Mastodon software, but simply a singular instance
- Fix the fact that when compiling markdown into a blog the "` `" (marks for inline code) do not work, or when used they are displayed too
- Make H2 headline "##" in markdown without an underline
- Stuff looking bad in mobile
- PayPal button looks differently in mobile mode than other buttons
Loading

0 comments on commit 0097914

Please sign in to comment.