From a1dfc548198a1326e71f1dd70303a5d3441f7a39 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