mirror of
https://github.com/sern-handler/website
synced 2026-06-28 02:32:23 +00:00
refactor: change how images are imported in markdown
This commit is contained in:
@@ -16,26 +16,20 @@ And here we are!
|
||||
|
||||
# Who did our new branding?
|
||||
|
||||
import { Image } from 'astro:assets';
|
||||
import paperPrototypes from '~/assets/blog/paper-prototypes.jpg';
|
||||
import paperLogo from '~/assets/blog/paper-logo.png';
|
||||
import serenTried from '~/assets/blog/seren-tried.png';
|
||||
import sernLogo from '~/assets/logo/sern-logo.png';
|
||||
|
||||
[Ropox](https://github.com/Murtatrxx)!
|
||||
[Ropox](https://github.com/Murtatrxx)!
|
||||
|
||||
Bro's the GOAT. This website is maintained by him, the domain costs are funded by him and also he started brainstorming how the logo would be on paper:
|
||||
<Image src={paperPrototypes} alt="paper prototypes" />
|
||||

|
||||
|
||||
And there it all clicked:
|
||||
<Image src={paperLogo} alt="paper logo" />
|
||||

|
||||
|
||||
seren tried by the way!
|
||||
<Image src={serenTried} alt="seren tried" />
|
||||

|
||||
|
||||
# Anyways, here it is:
|
||||
|
||||
<Image src={sernLogo} alt="sern logo" />
|
||||

|
||||
|
||||
Pretty nice!
|
||||
|
||||
@@ -34,10 +34,7 @@ If you do not know how to obtain either of these credentials, [click here](https
|
||||
|
||||
## Usage
|
||||
|
||||
import { Image } from 'astro:assets';
|
||||
import sernPublish from '~/assets/docs/sern-publish.gif';
|
||||
|
||||
<Image src={sernPublish} alt="usage" />
|
||||

|
||||
|
||||
## Features
|
||||
|
||||
@@ -96,7 +93,7 @@ This will create a container for publishing. (as of 0.6.0, client is required or
|
||||
|
||||
#### Script ran:
|
||||
|
||||
```
|
||||
```sh
|
||||
sern commands publish -i ./scripts/prerequire.mjs
|
||||
```
|
||||
|
||||
@@ -10,7 +10,4 @@ We hope you have learned the necessities you need to create a bot with the sern
|
||||
|
||||
If you have any other questions, bugs, feature requests, concerns, please join our [community server](https://sern.dev/discord), and we'll be glad to answer your questions!
|
||||
|
||||
import { Image } from 'astro:assets';
|
||||
import paperLogo from '~/assets/blog/paper-logo.png';
|
||||
|
||||
<Image src={paperLogo} alt="paper logo" />
|
||||

|
||||
@@ -93,10 +93,7 @@ The plugin above simply checks if the module is in the correct directory. If it'
|
||||
|
||||
## Event Plugins
|
||||
|
||||
import { Image } from 'astro:assets';
|
||||
import eventPlugins from '~/assets/docs/event-plugins.png';
|
||||
|
||||
<Image src={eventPlugins} alt="control plugins" />
|
||||

|
||||
|
||||
<Steps>
|
||||
1. An event is emitted by `discord.js`.
|
||||
|
||||
Reference in New Issue
Block a user