aboutsummaryrefslogtreecommitdiff
path: root/components/root/sidebar.go
diff options
context:
space:
mode:
authorPriyansh <[email protected]>2025-08-28 13:09:22 +0530
committerPriyansh <[email protected]>2025-08-28 13:09:22 +0530
commit9e82811a2a963be962fc3ffc426c137e01d56e2d (patch)
tree9cde1691f6e8dafb7204b7247dea12af0aa22bf6 /components/root/sidebar.go
parent18b897a36805d1acb6e2352ca536c1eee9249fe3 (diff)
downloadnectar-main.tar.xz
nectar-main.zip
Restructure codebase with proper organization, fix file picker navigation, and add utils packageHEADmain
Diffstat (limited to 'components/root/sidebar.go')
-rw-r--r--components/root/sidebar.go16
1 files changed, 16 insertions, 0 deletions
diff --git a/components/root/sidebar.go b/components/root/sidebar.go
new file mode 100644
index 0000000..7784cdf
--- /dev/null
+++ b/components/root/sidebar.go
@@ -0,0 +1,16 @@
+package root
+
+import (
+ "nectar/styles"
+ "nectar/types"
+
+ "github.com/charmbracelet/lipgloss"
+)
+
+func Sidebar(globals *types.Globals) string {
+ return styles.BaseStyle.
+ Width(30).Height(globals.Height - 1).
+ BorderRight(true).
+ BorderStyle(lipgloss.NormalBorder()).
+ Render("Sidebar placeholder")
+}