From 9e82811a2a963be962fc3ffc426c137e01d56e2d Mon Sep 17 00:00:00 2001 From: Priyansh Date: Thu, 28 Aug 2025 13:09:22 +0530 Subject: Restructure codebase with proper organization, fix file picker navigation, and add utils package --- components/root/sidebar.go | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 components/root/sidebar.go (limited to 'components/root/sidebar.go') 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") +} -- cgit v1.2.3