Skip to content

Commit

Permalink
add external link example and ocmment
Browse files Browse the repository at this point in the history
  • Loading branch information
summer-cook committed Nov 15, 2023
1 parent ef41caf commit 3e0f0db
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions utils/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export const LOGO = {

export const FOOTER_NAME = 'Beachside Biotechnology Services'

// adding external: true to a link will allow it to open in a new tab.
// adding target: '_blank' to a link will allow it to open in a new tab.
export const FOOTER_SECTIONS = [
{
header: 'Legal',
Expand Down Expand Up @@ -50,7 +50,11 @@ export const FOOTER_SECTIONS = [
{
name: 'Contact',
url: '/',
external: true,
},
{
name: 'External Link',
url: 'http://www.google.com',
target: '_blank',
},
],
},
Expand Down

0 comments on commit 3e0f0db

Please sign in to comment.