From fc5fd2edd9b8282497e33a18300eab694d8a89c6 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Fri, 21 Jun 2024 13:02:08 +0200 Subject: refactor: switch to templ for HTML templates --- internal/components/homepage.templ | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 internal/components/homepage.templ (limited to 'internal/components/homepage.templ') diff --git a/internal/components/homepage.templ b/internal/components/homepage.templ new file mode 100644 index 0000000..1cc2b9e --- /dev/null +++ b/internal/components/homepage.templ @@ -0,0 +1,10 @@ +package components + +templ Homepage(tdata TemplateData) { + @Page(tdata) { +
+ Search Nix Packages and options from NixOS, Darwin and Home-Manager +
+ Source code + } +} -- cgit 1.4.1