Skip to content

An example repository on how to use navigation items in lighting web components.

License

Notifications You must be signed in to change notification settings

schandlergarcia/communities-social-navigation

Repository files navigation

Communities Social Navigation Menu

Navigation menus are great for declaratively managing a set of a list of navigation menu items that you can access programmatically within a custom component. A very common use case for a custom navigation component is the display of social links on a community. It is a design pattern seen throughout the web and a great way for a company to promote their social presence. There are quite a few ways that we could achieve this with code, but using a navigation menu will give an admin the ability to manage the menu items using a familiar tool.

Social Navigation

Features

The component consists of the following:

  • Communities
  • Navigation Setup
  • Connect API
  • Summer '20 Community Modules

Installing Communities Social Navigation Menu using a Scratch Org

  1. If you haven't already done so, authorize your hub org and provide it with an alias (myhuborg in the command below):

    sfdx force:auth:web:login -d -a myhuborg
    
  2. Clone the repository:

    git clone https://github.com/schandlergarcia/communities-social-navigation
    cd communities-social-navigation
    
  3. Create a scratch org and provide it with an alias (communities-navigation in the command below):

    sfdx force:org:create -s -f config/project-scratch-def.json -a communities-navigation
    
  4. Push the app to your scratch org:

    sfdx force:source:push
    
  5. Open the scratch org:

    sfdx force:org:open
    

About

An example repository on how to use navigation items in lighting web components.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published