diff --git a/bitvid_logo/home-icon.svg b/bitvid_logo/home-icon.svg new file mode 100644 index 0000000..2c7c1df --- /dev/null +++ b/bitvid_logo/home-icon.svg @@ -0,0 +1,5 @@ + + + diff --git a/src/assets/svg/about-icon.svg b/src/assets/svg/about-icon.svg new file mode 100644 index 0000000..855d3a2 --- /dev/null +++ b/src/assets/svg/about-icon.svg @@ -0,0 +1,5 @@ + + + diff --git a/src/assets/svg/default-profile.svg b/src/assets/svg/default-profile.svg new file mode 100644 index 0000000..b31b553 --- /dev/null +++ b/src/assets/svg/default-profile.svg @@ -0,0 +1,5 @@ + + + diff --git a/src/assets/svg/explore-icon.svg b/src/assets/svg/explore-icon.svg new file mode 100644 index 0000000..2d80429 --- /dev/null +++ b/src/assets/svg/explore-icon.svg @@ -0,0 +1,5 @@ + + + diff --git a/src/assets/svg/getting-started-icon.svg b/src/assets/svg/getting-started-icon.svg new file mode 100644 index 0000000..dcece7e --- /dev/null +++ b/src/assets/svg/getting-started-icon.svg @@ -0,0 +1,5 @@ + + + diff --git a/src/assets/svg/github-icon.svg b/src/assets/svg/github-icon.svg new file mode 100644 index 0000000..ffb9088 --- /dev/null +++ b/src/assets/svg/github-icon.svg @@ -0,0 +1,5 @@ + + + diff --git a/src/assets/svg/home-icon.svg b/src/assets/svg/home-icon.svg new file mode 100644 index 0000000..2c7c1df --- /dev/null +++ b/src/assets/svg/home-icon.svg @@ -0,0 +1,5 @@ + + + diff --git a/src/assets/svg/mobile-sidebar-menu-icon.svg b/src/assets/svg/mobile-sidebar-menu-icon.svg new file mode 100644 index 0000000..fa9a60c --- /dev/null +++ b/src/assets/svg/mobile-sidebar-menu-icon.svg @@ -0,0 +1,5 @@ + + + diff --git a/src/assets/svg/roadmap-icon.svg b/src/assets/svg/roadmap-icon.svg new file mode 100644 index 0000000..6bd0948 --- /dev/null +++ b/src/assets/svg/roadmap-icon.svg @@ -0,0 +1,5 @@ + + + diff --git a/src/assets/svg/subscriptions-icon.svg b/src/assets/svg/subscriptions-icon.svg new file mode 100644 index 0000000..46ff49d --- /dev/null +++ b/src/assets/svg/subscriptions-icon.svg @@ -0,0 +1,5 @@ + + + diff --git a/src/components/disclaimer.html b/src/components/disclaimer.html new file mode 100644 index 0000000..a190d9c --- /dev/null +++ b/src/components/disclaimer.html @@ -0,0 +1,151 @@ + +
diff --git a/src/components/sidebar.html b/src/components/sidebar.html new file mode 100644 index 0000000..4809b5d --- /dev/null +++ b/src/components/sidebar.html @@ -0,0 +1,76 @@ + diff --git a/src/css/style.css b/src/css/style.css index c8445d4..530fcae 100644 --- a/src/css/style.css +++ b/src/css/style.css @@ -470,3 +470,48 @@ footer a:hover { height: 100%; object-fit: cover; } + +/* Sidebar default states */ +#sidebar { + /* You can set a default width here for 'expanded' state. */ + width: 14rem; /* for example */ +} + +/* You could define a class for collapsed states on desktop if desired: */ +.sidebar-collapsed { + width: 4rem; +} +.sidebar-expanded { + width: 14rem; +} + +/* Hide text when collapsed. + If you add .sidebar-collapsed to #sidebar, you can hide text like this: */ +.sidebar-collapsed .sidebar-text { + display: none; +} + +/* Basic scrolling for the sidebar if it's long */ +#sidebar { + overflow-y: auto; +} + +/* The top-level container is already "flex min-h-screen" in index.html. + The main content (#app) has "flex-1", so it fills the rest of the space. */ + +/* Example of customizing the border & background in the sidebar */ +#sidebar hr { + border-color: rgba(255, 255, 255, 0.1); +} + +/* If you want a smooth transition for showing/hiding the entire sidebar + on mobile (via the "hidden" class), you can do so with a small fade, + but you’ll need a separate approach with absolute positioning or something + if you prefer a sliding effect. */ + +@media (max-width: 767px) { + .sidebar-open { + transform: translateX(16rem); + transition: transform 0.3s ease; + } +} diff --git a/src/index.html b/src/index.html index 3a008cd..349f47f 100644 --- a/src/index.html +++ b/src/index.html @@ -39,13 +39,36 @@ -