diff --git a/README.md b/README.md index d9122f1..0014dd3 100644 --- a/README.md +++ b/README.md @@ -21,11 +21,11 @@ If you wish to help translate the site, you'll need to know how to use Git, and optionally to preview the site, you'll need a little knowledge about the command line. -The project's structure isn't the best (I'll improve sooner or later). Most -content are located within the `./src/data` folder. Located there are 4 content -collections including "common" (Common pages which may be shared between Linux -distribution install guides), "distro" (The Linux distribution install guides), -"distroquiz" (The short Linux distribution quiz), and "strings" (Short strings). +Most content are located within the `./src/data` folder. Located there are 4 +content collections including "common" (Common pages which may be shared +between Linux distribution install guides), "distro" (The Linux distribution +install guides), "distroquiz" (The short Linux distribution quiz), and +"strings" (Short strings). Inside each collection, There will be a folder named after a language code (following the IETF language tag standard) _or_ there will be a TOML file named diff --git a/astro.config.mjs b/astro.config.mjs index 661c6d3..af42c17 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -34,11 +34,6 @@ export default defineConfig({ "@": fileURLToPath(new URL("./src", import.meta.url)) } }, - server: { - watch: { - ignored: "**/pocketbase/**" - } - } }, integrations: [solidJs(), mdx()] diff --git a/src/assets/imgs/site/banner_1280x720.png b/src/assets/imgs/site/banner_1280x720.png new file mode 100644 index 0000000..2c6cb2e Binary files /dev/null and b/src/assets/imgs/site/banner_1280x720.png differ diff --git a/src/assets/imgs/site/banner_inkscape.svg b/src/assets/imgs/site/banner_inkscape.svg new file mode 100644 index 0000000..fbd9836 --- /dev/null +++ b/src/assets/imgs/site/banner_inkscape.svg @@ -0,0 +1,179 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Move to Linux + A guide on installation,usage, and application + https://movetolinux.dailitation.xyz + + diff --git a/src/layouts/BasicLayout.astro b/src/layouts/BasicLayout.astro index a393ae6..4168bda 100644 --- a/src/layouts/BasicLayout.astro +++ b/src/layouts/BasicLayout.astro @@ -1,7 +1,14 @@ --- +import banner from "@/assets/imgs/site/banner_1280x720.png"; import "../styles/global.css"; +import { ORIGIN } from "astro:env/server"; const { title, description } = Astro.props; +const shownTitle = title ?? "Move to Linux"; +const shownDescription = + description ?? + "A guide on moving to Linux. Installation, Usage, and Applications."; +const site = ORIGIN ?? Astro.url.host; --- @@ -10,9 +17,25 @@ const { title, description } = Astro.props; - {description ? : null} - {title ?? "Move to Linux"} + + {shownTitle} + + + + + + + + + + + + + + + + diff --git a/src/pages/en/apps.astro b/src/pages/en/apps.astro index a838d1a..b287e8e 100644 --- a/src/pages/en/apps.astro +++ b/src/pages/en/apps.astro @@ -51,6 +51,85 @@ import BasicLayout from "@/layouts/BasicLayout.astro";

+
+

Buzzwords Explained

+

+ Here are some words that you will encounter in the (Linux) + software world. You don't have to remember all of this, but you + can refer back to this site if you want a short definition. +

+
+
package
+
+ Imagine a box which contains software files. You could + install a package, Which would mean copying the files inside + it onto your system. +
+
package manager
+
+ A software that helps you manage packages. It is specific to + each Linux distribution and thus each distribution may have + different package formats. +
+
system package
+
+ A package that is installed on your system. Also commonly + referred to as one of the ways to distribute software on + Linux, in that context, the word would mean creating a + package for a system. +
+
package repository
+
+ If a package is a box, then a package repository is a + warehouse. +
+
binary
+
+ A file that is already compiled and ready to run. Also known + as an "executable". +
+
AppImage
+
+ A software distribution format. It is a single file that you + can download and run on any Linux distribution with minimal + reliance on the system. Specifically, it only requires FUSE + (Filesystem in Userspace) to be installed, and that's it. + The file extension of this format is .AppImage +
+
Flatpak
+
+ A software distribution format. When an application is + packaged this way, the application will be ran inside a + sandbox to ensure security, and it will also have minimal + reliance on system packages. This is becoming the most + popular way to distribute software as it is distro-neutral. + The most popular Flatpak repository (and thus is recognized + as the central repository) is Flathub. +
+
Wine
+
+ Wine is originally an acronym for "Wine Is Not an Emulator", + and it is a compatibility layer (not an emulator) + capable of running Windows applications. A simple way of explaining + what it does would be that it translates Windows language into + Linux language on-the-fly, minimizing the performance overhead + other methods such as virtual machines and emulators may introduce. + (Just for correctness, Wine is not limited to Linux, it can also + work on other Unix-like systems such as FreeBSD and macOS) +
+
Proton
+
+ A compatibility layer built on Wine by Valve, made for + running games. +
+
DXVK
+
A software which translates DirectX into Vulkan.
+
+
@@ -64,8 +143,4 @@ import BasicLayout from "@/layouts/BasicLayout.astro"; p { @apply my-2; } - - details { - @apply border dark:border-slate-700 border-gray-300 px-4 py-2 rounded mb-2; - } diff --git a/src/pages/en/index.astro b/src/pages/en/index.astro index 624197d..2428358 100644 --- a/src/pages/en/index.astro +++ b/src/pages/en/index.astro @@ -69,6 +69,20 @@ const startLink = getRelativeLocaleUrl("en", "start");

Click the button below to start on your Linux journey.

Start! +
+

+ Found invalid information? +

+

+ This site is not perfect. If you found any outdated, invalid, or + information which can be possibly misunderstood, send an email + to linesofcodes at dailitation dot xyz (PGP Keys Available) +

+