mirror of
https://github.com/CompeyDev/blog.devcomp.xyz.git
synced 2024-12-12 12:50:41 +00:00
Update about, fix luau post grammar and banner & update configs
This commit is contained in:
parent
c53a7854a3
commit
c41085929a
4 changed files with 28 additions and 37 deletions
|
@ -3,32 +3,33 @@ import type {
|
|||
NavBarConfig,
|
||||
ProfileConfig,
|
||||
SiteConfig,
|
||||
} from "./types/config";
|
||||
import { LinkPreset } from "./types/config";
|
||||
} from './types/config';
|
||||
import { LinkPreset } from './types/config';
|
||||
|
||||
export const siteConfig: SiteConfig = {
|
||||
title: "compey's blog",
|
||||
subtitle: "Demo Site",
|
||||
lang: "en",
|
||||
subtitle:
|
||||
'A blog where I occassionally post about my development experiences :^)',
|
||||
lang: 'en',
|
||||
themeColor: {
|
||||
hue: 295,
|
||||
fixed: true,
|
||||
},
|
||||
banner: {
|
||||
enable: true,
|
||||
src: "assets/images/demo-banner.png",
|
||||
position: "center",
|
||||
enable: false,
|
||||
src: 'assets/images/demo-banner.png',
|
||||
position: 'center',
|
||||
},
|
||||
favicon: [
|
||||
{
|
||||
src: "/favicon-dark.png",
|
||||
theme: "dark",
|
||||
sizes: "32x32",
|
||||
src: '/favicon-dark.png',
|
||||
theme: 'dark',
|
||||
sizes: '32x32',
|
||||
},
|
||||
{
|
||||
src: "/favicon-light.png",
|
||||
theme: "light",
|
||||
sizes: "32x32",
|
||||
src: '/favicon-light.png',
|
||||
theme: 'light',
|
||||
sizes: '32x32',
|
||||
},
|
||||
],
|
||||
};
|
||||
|
@ -38,25 +39,25 @@ export const navBarConfig: NavBarConfig = {
|
|||
};
|
||||
|
||||
export const profileConfig: ProfileConfig = {
|
||||
avatar: "assets/images/CompeyDev.png", // Relative to the /src directory. Relative to the /public directory if it starts with '/'
|
||||
name: "compey",
|
||||
bio: "ur local developer | 8 bit enthusiast | rust <3",
|
||||
avatar: 'assets/images/CompeyDev.png', // Relative to the /src directory. Relative to the /public directory if it starts with '/'
|
||||
name: 'compey',
|
||||
bio: 'ur local developer | 8 bit enthusiast | rust <3',
|
||||
links: [
|
||||
{
|
||||
name: "GitHub",
|
||||
icon: "fa6-brands:github",
|
||||
url: "https://github.com/CompeyDeve",
|
||||
name: 'GitHub',
|
||||
icon: 'fa6-brands:github',
|
||||
url: 'https://github.com/CompeyDeve',
|
||||
},
|
||||
{
|
||||
name: "Twitter",
|
||||
icon: "fa6-brands:twitter",
|
||||
url: "https://twitter.com/DevComp_",
|
||||
name: 'Twitter',
|
||||
icon: 'fa6-brands:twitter',
|
||||
url: 'https://twitter.com/DevComp_',
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
export const licenseConfig: LicenseConfig = {
|
||||
enable: true,
|
||||
name: "CC BY-NC-SA 4.0",
|
||||
url: "https://creativecommons.org/licenses/by-nc-sa/4.0/",
|
||||
name: 'CC BY-NC-SA 4.0',
|
||||
url: 'https://creativecommons.org/licenses/by-nc-sa/4.0/',
|
||||
};
|
||||
|
|
BIN
src/content/posts/luau-for-js-devs/cover.png
Normal file
BIN
src/content/posts/luau-for-js-devs/cover.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 237 KiB |
|
@ -2,10 +2,10 @@
|
|||
title: Luau for JS Devs
|
||||
published: 2024-07-05
|
||||
description: 'An introduction to Luau for JavaScript developers'
|
||||
image: 'https://github.com/luau-lang.png'
|
||||
image: './cover.png'
|
||||
tags: ['tooling', 'languages', 'web-development', 'luau', 'javascript']
|
||||
category: 'Languages'
|
||||
draft: true
|
||||
draft: false
|
||||
---
|
||||
|
||||
<!-- markdownlint-disable MD033 -->
|
||||
|
@ -14,7 +14,7 @@ Have you ever felt that you live in a loop? That’s how I feel - every time I o
|
|||
|
||||
## What is Luau?
|
||||
|
||||
Luau is a Lua derivative, which is fast, small and gradually typed, as described on their website. Luau was created at Roblox as a scalable alternative to Lua to run millions of times a day, on both the client and server. Luau has generally been pushed aside as a “lego game language”, simply due to the notoriety of inexperienced programmers within the Roblox community. Luau’s potential as a well-designed scripting language often goes unnoticed. In this blog post, I will attempt to compare Luau with JavaScript on the server (Node/Bun/Deno).
|
||||
Luau is a Lua derivative, which is fast, small and gradually typed, as described on their website. Luau was created at Roblox as a scalable alternative to Lua to run millions of times a day, on both clients and servers. It has generally been pushed aside as a “lego game language”, simply due to its ties to the Roblox platform, as Roblox has generally been tied to inexperienced and young game developers. Luau’s potential as a well-designed scripting language often goes unnoticed. In this blog post, I will attempt to compare Luau with JavaScript and hopefully showcase some of the benefits of Luau.
|
||||
|
||||
Luau has significantly diverged from Lua, with many performance improvements (including a separate bytecode format and compiler), type support, standard APIs like buffers, require aliases, and a lot more. Furthermore, Lua generally follows the ideology of “if it can be implemented in pure-lua, it should be, and doesn’t belong within the standard library”, which Luau does not follow much.
|
||||
|
||||
|
|
|
@ -9,13 +9,3 @@
|
|||
|
||||
![Systems](https://skillicons.dev/icons?i=rust,go,java,lua,bash,neovim,linux,docker&perline=10)
|
||||
![Web](https://skillicons.dev/icons?i=html,css,js,ts,prisma,mysql,nextjs,vercel&perline=10)
|
||||
|
||||
## Contact
|
||||
|
||||
If you would like to get in touch with me, reach out to me via:
|
||||
|
||||
- Discord - DevComp
|
||||
- Twitter - [@DevComp_](https://twitter.com/DevComp_)
|
||||
- Email - [mailto:hi@devcomp.xyz](hi@devcomp.xyz)
|
||||
|
||||
[![Hits](https://hits-app.vercel.app/hits?url=https://github.com/CompeyDev&bgLeft=cba6f7&bgRight=1e1e2e&label=visits)](https://hits-app.vercel.app/)
|
||||
|
|
Loading…
Reference in a new issue