diff --git a/docs/src/content/lessons/selection/index.mdx b/docs/src/content/lessons/selection/index.mdx index 63dcd44fd..508bc8c73 100644 --- a/docs/src/content/lessons/selection/index.mdx +++ b/docs/src/content/lessons/selection/index.mdx @@ -11,7 +11,7 @@ hideNavigation: true We've included several different guides to Semantic based off your goals. - +
5 Min Quickstart
A quick demo of the best parts of using Semantic to built your next app.
@@ -26,7 +26,7 @@ We've included several different guides to Semantic based off your goals.
- +{/*
Advanced Guide
@@ -48,4 +48,4 @@ We've included several different guides to Semantic based off your goals.
Open Source Guide
Learn how to build UI components with Semantic for open source so that others can use your custom components.
-
+ */} diff --git a/docs/src/helpers/menus.js b/docs/src/helpers/menus.js index 421c42a9c..a9dfed114 100644 --- a/docs/src/helpers/menus.js +++ b/docs/src/helpers/menus.js @@ -186,7 +186,7 @@ const exampleCategoryMenus = exampleCategorySortOrder.map(category => { export const topbarDisplayMenu = [ { _id: 'ui', - _ids: ['start', 'css', 'primitives', 'components', 'behaviors'], + _ids: ['start', /* 'css', */ 'primitives' /* 'components', 'behaviors' */], name: 'UI Framework', url: '/ui/start', }, @@ -225,19 +225,19 @@ export const topbarMenu = [ icon: 'zap', url: '/ui/start', }, - { + /*{ _id: 'css', name: 'Styling', icon: 'theme', url: '/ui/css', - }, + },*/ { _id: 'primitives', name: 'Primitives', icon: 'layers', url: '/ui/primitives', }, - { + /*{ _id: 'components', name: 'Components', icon: 'package', @@ -248,7 +248,7 @@ export const topbarMenu = [ name: 'Behaviors', icon: 'cpu', url: '/ui/behaviors', - }, + },*/ // API Docs { _id: 'framework', @@ -299,9 +299,9 @@ export const sidebarMenuStart = [ name: "What's New?", icon: 'sparkles', url: '/ui/start/whats-new', - description: '0.12.0', + description: '0.18.0', }, - { + /*{ name: 'Roadmap', icon: 'calendar', url: '/ui/roadmap', @@ -374,12 +374,12 @@ export const sidebarMenuStart = [ url: '/ui/start/philosophy/project', }, ], - }, + },*/ ]; -/* CSS Token Sidebar */ +/* CSS Token Sidebar — hidden until token/concept pages are written */ export const sidebarMenuCSS = [ - { + /*{ name: 'CSS Tokens', url: '/ui/css/tokens', icon: 'theme', @@ -440,7 +440,7 @@ export const sidebarMenuCSS = [ url: '/ui/css/concepts/sizes', }, ], - }, + },*/ ]; /* Primitive Sidebar */ @@ -453,24 +453,24 @@ export const sidebarMenuPrimitives = [ }, ]; -/* Component Sidebar */ +/* Component Sidebar — hidden until component docs are written */ export const sidebarMenuComponents = [ - { + /*{ name: 'Components', url: '/ui/components', icon: 'package', pages: componentPages, - }, + },*/ ]; -/* Behavior Sidebar */ +/* Behavior Sidebar — hidden until behavior docs are written */ export const sidebarMenuBehaviors = [ - { + /*{ name: 'Behaviors', url: '/ui/behaviors', icon: 'cpu', pages: behaviorPages, - }, + },*/ ]; /* Component Framework Sidebar — re-exported from standalone file */ diff --git a/docs/src/javascript/homepage.js b/docs/src/javascript/homepage.js index 5e67d5f3b..51d7e1b27 100644 --- a/docs/src/javascript/homepage.js +++ b/docs/src/javascript/homepage.js @@ -31,8 +31,11 @@ const updateTourSection = () => { }); }; -$(window).on('scroll', updateTourSection); -updateTourSection(); +/* Only bind scroll listener when tour ribbon is present */ +if ($tourCopies.length) { + $(window).on('scroll', updateTourSection); + updateTourSection(); +} /*------------------------------- Showcase Tab Switching diff --git a/docs/src/pages/index.astro b/docs/src/pages/index.astro index 8943bbae2..a3905cddd 100644 --- a/docs/src/pages/index.astro +++ b/docs/src/pages/index.astro @@ -30,6 +30,7 @@ import { demoSteps } from '../data/homepage.js'; import '../javascript/homepage.js'; + -
- - Templates Example -
+
- -
- - Specs Example -
+
- -
- - Components Example -
+
+ --> @@ -167,15 +157,15 @@ import { demoSteps } from '../data/homepage.js'; Installation Why Semantic? What's New? - Roadmap +

UI Framework

Primitives - Components - Behaviors - CSS Tokens - Styling Guide + + + +

Guides

diff --git a/docs/src/pages/ui/start/index.mdx b/docs/src/pages/ui/start/index.mdx index 8cb46670f..1c56dc4cf 100644 --- a/docs/src/pages/ui/start/index.mdx +++ b/docs/src/pages/ui/start/index.mdx @@ -24,7 +24,7 @@ Components are native [Web Components](https://developer.mozilla.org/en-US/docs/ ## Using Components -Pick from [primitives](/ui/primitives), [components](/ui/components), and [behaviors](/ui/behaviors). Use them as HTML tags. [Theme with CSS variables](/ui/start/guides/theming). +Pick from [primitives](/ui/primitives) and use them as HTML tags. - + > */} ## Building Components