From 5dba2d8cedf46798fc197de4856409124a65ce4e Mon Sep 17 00:00:00 2001 From: Bobby Date: Mon, 12 May 2025 18:59:23 +0530 Subject: added sidebar and related components --- src/components/LeftSidebarComponent.astro | 31 +++++++++++++++++++++++ src/components/NavigationComponent.astro | 29 +++++++++++++++++++++ src/components/NavigationComponentLink.astro | 8 ++++++ src/components/RightNavigationComponent.astro | 29 +++++++++++++++++++++ src/components/RightNavigationComponentLink.astro | 7 +++++ src/components/RightSidebarComponent.astro | 19 ++++++++++++++ src/components/SearchComponent.astro | 31 +++++++++++++++++++++++ 7 files changed, 154 insertions(+) create mode 100644 src/components/LeftSidebarComponent.astro create mode 100644 src/components/NavigationComponent.astro create mode 100644 src/components/NavigationComponentLink.astro create mode 100644 src/components/RightNavigationComponent.astro create mode 100644 src/components/RightNavigationComponentLink.astro create mode 100644 src/components/RightSidebarComponent.astro create mode 100644 src/components/SearchComponent.astro (limited to 'src/components') diff --git a/src/components/LeftSidebarComponent.astro b/src/components/LeftSidebarComponent.astro new file mode 100644 index 0000000..0580d09 --- /dev/null +++ b/src/components/LeftSidebarComponent.astro @@ -0,0 +1,31 @@ +--- +import NavigationComponent from './NavigationComponent.astro'; +import NavigationComponentLink from './NavigationComponentLink.astro'; +--- + + + + diff --git a/src/components/NavigationComponent.astro b/src/components/NavigationComponent.astro new file mode 100644 index 0000000..9987c2f --- /dev/null +++ b/src/components/NavigationComponent.astro @@ -0,0 +1,29 @@ +--- +const { title, variation, bordered = true } = Astro.props; +--- + +
+
+
+
{title}
+
+
+
+ +
+
\ No newline at end of file diff --git a/src/components/NavigationComponentLink.astro b/src/components/NavigationComponentLink.astro new file mode 100644 index 0000000..30fa456 --- /dev/null +++ b/src/components/NavigationComponentLink.astro @@ -0,0 +1,8 @@ +--- +const { href } = Astro.props; +--- + +
+ + +
\ No newline at end of file diff --git a/src/components/RightNavigationComponent.astro b/src/components/RightNavigationComponent.astro new file mode 100644 index 0000000..fcf0c39 --- /dev/null +++ b/src/components/RightNavigationComponent.astro @@ -0,0 +1,29 @@ +--- +const { title, variation, bordered = true } = Astro.props; +--- + +
+
+
+
{title}
+
+
+
+ +
+
\ No newline at end of file diff --git a/src/components/RightNavigationComponentLink.astro b/src/components/RightNavigationComponentLink.astro new file mode 100644 index 0000000..cda2cb7 --- /dev/null +++ b/src/components/RightNavigationComponentLink.astro @@ -0,0 +1,7 @@ +--- +const { href } = Astro.props; +--- +
+ + +
diff --git a/src/components/RightSidebarComponent.astro b/src/components/RightSidebarComponent.astro new file mode 100644 index 0000000..1a19686 --- /dev/null +++ b/src/components/RightSidebarComponent.astro @@ -0,0 +1,19 @@ +--- +import SearchComponent from './SearchComponent.astro'; +import RightNavigationComponent from './RightNavigationComponent.astro'; +import RightNavigationComponentLink from './RightNavigationComponentLink.astro'; +--- + + \ No newline at end of file diff --git a/src/components/SearchComponent.astro b/src/components/SearchComponent.astro new file mode 100644 index 0000000..9a269d8 --- /dev/null +++ b/src/components/SearchComponent.astro @@ -0,0 +1,31 @@ +
+
+
+
Site Search
+
+
+
+
+ + +
+
+ + +
+
+ +
+
+
+
\ No newline at end of file -- cgit v1.2.3