fix(pg): injection module conditional import

commit e574a9f10bfedce5af33d251aaa0fe545dffecb9
Author: Nurul Huda (Apon) <me@nurulhudaapon.com>
Date:   Mon Mar 23 13:15:46 2026 +0600

    sync

commit 36e034f303e37b5d085eca0d10257ed68ae83d9a
Author: Nurul Huda (Apon) <me@nurulhudaapon.com>
Date:   Mon Mar 23 13:15:16 2026 +0600

    sync
This commit is contained in:
Nurul Huda (Apon) 2026-03-23 13:21:22 +06:00
parent 2ef3678e72
commit c5bdbc961a
No known key found for this signature in database
GPG Key ID: 5D3F1DE2855A2F79
2 changed files with 1 additions and 3 deletions

View File

@ -184,7 +184,7 @@ You can view our current progress and planned features here:
## Links
* [Codeberg Mirror](https://codeberg.org/ziex-dev/ziex) - ZX repository mirror on Codeberg
* [Codeberg Mirror](https://codeberg.org/ziex/ziex) - ZX repository mirror on Codeberg
* [ziex.dev](https://github.com/ziex-dev/ziex/tree/main/site) - Official documentation site of ZX made using ZX.
* [example-blog](https://github.com/ziex-dev/example-blog) - Demo blog web application built with ZX
* [zx-numbers-game](https://github.com/Andrew-Velox/zx-numbers-game) - ZX numbers game

View File

@ -1,10 +1,8 @@
const std = @import("std");
const zx = @import("../../root.zig");
const registry = @import("registry.zig");
const zx_options = @import("zx_options");
const zx_injections = @import("zx_injections");
// TODO: make the build system generate simple zon file matching our Component.Element struct and render comptime in here
const ElementInjection = struct {
const head_starting: []const u8 = zx_injections.head_starting;
const head_ending: []const u8 = zx_injections.head_ending;