<div class="member-header" data-fractal>
    <div class="member-header__background"></div>
    <div class="member-header__content-container">
        <div class="member-header__content">
            <div class="member-header__tag">
                <span class="member-header__tag-text">Member PHI</span>
            </div>
            <h1 class="member-header__title">
                Center for Health Innovation
            </h1>
        </div>
    </div>
</div>
<div class="member-header" {% if not is_wordpress %}data-fractal{% endif %}>
    <div class="member-header__background"></div>
    <div class="member-header__content-container">
        <div class="member-header__content">
            <div class="member-header__tag">
                <span class="member-header__tag-text">Member PHI</span>
            </div>
            <h1 class="member-header__title">
                {{ post.title }}
            </h1>
        </div>
    </div>
</div>
{
  "site": {
    "title": "National Network of Public Health Institutes"
  },
  "background": "white",
  "breadcrumbs": [
    {
      "title": "Home",
      "url": "#"
    },
    {
      "title": "Primary Page One",
      "url": "#"
    },
    {
      "title": "Interior Page One",
      "url": "#"
    }
  ],
  "footerLinks": {
    "items": [
      {
        "title": "Subscribe to our newsletter",
        "url": "#"
      },
      {
        "title": "Explore membership benefits",
        "url": "#"
      },
      {
        "title": "See career opportunities",
        "url": "#"
      }
    ]
  },
  "contactInfo": {
    "copyright": "© National Network of Public Health Institutes. All Rights Reserved",
    "facebookLink": "https://facebook.com",
    "linkedInLink": "https://linkedin.com",
    "youtubeLink": "https://youtube.com",
    "flickrLink": "https://flickr.com",
    "twitterLink": "https://twitter.com",
    "instagramLink": "https://instagram.com",
    "youTubeLink": "https://youtube.com"
  },
  "utilityNavigation": {
    "items": [
      {
        "title": "Member directory",
        "url": "#"
      },
      {
        "title": "Events",
        "url": "#",
        "isActive": true
      },
      {
        "title": "Blog",
        "url": "#"
      }
    ]
  },
  "primaryNavigation": {
    "items": [
      {
        "title": "Workforce resources",
        "url": "#",
        "children": [
          {
            "title": "Resource Directory",
            "url": "#",
            "children": []
          },
          {
            "title": "Trainings",
            "url": "#",
            "children": [
              {
                "title": "Training Level 3 example",
                "url": "#"
              }
            ]
          }
        ]
      },
      {
        "title": "Programs & Projects",
        "url": "#",
        "isDescendantActive": true,
        "children": [
          {
            "title": "Data Modernization",
            "url": "#",
            "children": []
          },
          {
            "title": "Environmental Health and Emergency Preparedness",
            "url": "#",
            "children": []
          },
          {
            "title": "Evaluation and Impact",
            "url": "#",
            "isDescendantActive": true,
            "children": [
              {
                "title": "Third level example",
                "url": "#",
                "isActive": true,
                "children": [
                  {
                    "title": "Fourth level example",
                    "url": "#",
                    "isActive": true,
                    "children": [
                      {
                        "title": "Fifth level example",
                        "url": "#",
                        "isActive": true
                      }
                    ]
                  },
                  {
                    "title": "Fourth level example 2",
                    "url": "#"
                  },
                  {
                    "title": "Fourth level example 3",
                    "url": "#"
                  }
                ]
              }
            ]
          },
          {
            "title": "Multisector Strategies and Population Health",
            "url": "#",
            "children": []
          },
          {
            "title": "Public Health Events and Convenings Management",
            "url": "#",
            "children": []
          },
          {
            "title": "Public Health Infrastructure Grant",
            "url": "#",
            "children": []
          },
          {
            "title": "Public health training",
            "url": "#",
            "children": []
          }
        ]
      },
      {
        "title": "Explore the Network",
        "url": "#",
        "children": [
          {
            "title": "Member Directory",
            "url": "#",
            "children": []
          },
          {
            "title": "Membership paths",
            "url": "#",
            "children": []
          }
        ]
      },
      {
        "title": "Partner with us",
        "url": "#"
      },
      {
        "title": "About",
        "url": "#",
        "children": [
          {
            "title": "Blog",
            "url": "#",
            "children": []
          },
          {
            "title": "Events",
            "url": "#",
            "children": []
          },
          {
            "title": "Newsletters",
            "url": "#",
            "children": []
          },
          {
            "title": "Signature programs",
            "url": "#",
            "children": []
          },
          {
            "title": "Contact us",
            "url": "#",
            "children": []
          },
          {
            "title": "Meet the team",
            "url": "#",
            "children": []
          }
        ]
      }
    ]
  },
  "post": {
    "title": "Center for Health Innovation"
  }
}
  • Content:
    .member-header {
        --tagBackgroundColor: var(--purple);
    
        position: relative;
        margin-bottom: 7rem;
    
        &:before {
            content: '';
            position: absolute;
            inset: 0;
            background: var(--lightGrayTint) url('/app/themes/custom/dist/images/member-header-background.webp') 50% / cover no-repeat;
            opacity: .33;
        }
    
        &[data-fractal]:before {
            background-image: url('/images/member-header-background.webp');
        }
    
        &__content-container {
            @include contentContainer;
            padding-top: 21rem;
            padding-bottom: 5.75rem;
            position: relative;
        }
    
        &__content {
            align-items: flex-start;
    
            display: flex;
            flex-direction: column;
            max-width: 100%;
        }
    
        &__title {
            @include billboardTitle;
        }
    
        &__tag {
            background-color: var(--tagBackgroundColor);
            padding: 0 1.75rem 0.25rem 1.75rem;
            position: relative;
            margin-bottom: 1.25rem;
    
            &:before {
                background-color: var(--tagBackgroundColor);
                bottom: 0;
                content: '';
                position: absolute;
                right: 0;
                top: 0;
                transform-origin: top left;
                transform: skewX(15deg);
                width: 100%;
            }
        }
    
        &__tag-text {
            @include label;
            color: var(--white);
            position: relative;
            padding: 0;
        }
    }
    
  • URL: /components/raw/member-header/member-header.scss
  • Filesystem Path: patterns/partials/member-header/member-header.scss
  • Size: 1.4 KB

No notes defined.