<commit_before>header(role="banner").b-header
	.b-header__logo
		h1.b-logo: a(href="#") Gulp-front

	.b-header__utility-menu
		nav.b-utility-menu(aria-label="utility", role="navigation")
			ul
				each ent, num in ["Careers", "Legal", "Log In"]
					li.b-utility-menu__item: a(href="#")= ent
	
	.b-header__primary-menu
		nav(aria-label="primary", role="navigation").b-primary-menu
			ul
				each ent, num in [ {"title": "Lorem", "submenu": ["Consectetur", "Adipisicing elit", "Reiciendis deleniti", "Suscipit quae", "Drchitecto dolore"]}, {"title": "Ipsum", "submenu": ["Aspernatur eveniet", "Doloremquet", "Autem perferendis", "Ipsum ullam"]}, {"title": "Dolor", "submenu": ["Quaerat", "Doloremquet", "Perferendis", "Assumenda"]}, {"title": "Sit", "submenu": ["Dicta", "Repellendus", "Aspernatur"]}, {"title": "Amet", "submenu": ["Perferendis", "Quaerat", "Dolore", "Reiciendis deleniti", "Suscipit quae",]} ]
					li.b-primary-menu__item
						a(href="#").b-primary-menu__link= ent
						.b-primary-menu__submenu
							.b-primary-menu-submenu
								ul
									each ent2, num2 in ent.submenu
										li.b-primary-menu-submenu__item: a(href="#")= ent2
	
	.b-header__secondary-menu
		nav(aria-label="secondary", role="navigation").b-secondary-menu
			ul
				each ent, num in ["Typography", "Articles", "Lists", "Tables", "Forms", "Breaks and Headings"]
					li.b-secondary-menu__item: a(href="#")= ent<commit_msg>Переделал heder<commit_after>script.
	$(function() {

		var $header    = $('.b-header__top'),
			$window    = $(window),
			marginTop  = 0,
			offset     = $header.offset(),
			classAdded = false;

		$window.scroll(function() {
			if ($window.scrollTop() > offset.top) {
				if (classAdded === false) {
					$header.parent().addClass('b-header_fixed');
				}
				classAdded = true;
			} else {
				$header.parent().removeClass('b-header_fixed');
				classAdded = false;
			}
		});


		$('.js-link-sroll a[href^="#"]').on('click',function (event) {
			event.preventDefault();

			var target = this.hash;
			var $target = $(target);

			if ($(this).parent().hasClass('b-main-menu-submenu__item')) {
				$('.b-main-menu-submenu__item').removeClass('b-main-menu-submenu__item_active');
				$(this).parent().addClass('b-main-menu-submenu__item_active');
			}

			$('html, body').stop().animate({
				'scrollTop': $target.offset().top
			}, 900, 'swing', function () {
				window.location.hash = target;
			});
		});

		$('.b-logo').click(function(event) {
			event.preventDefault();

			$('html, body').stop().animate({
				'scrollTop': 0
			}, 900, 'swing', function () {
				var loc = window.location.href,
					index = loc.indexOf('#');
				window.location = loc.substring(0, index);
			});
		});
		
	});

header(role="banner").b-header
	.b-header__top
		.b-header__inner
			.b-header__logo
				a(href="#").b-logo
					svg(width="100%", height="100%", viewBox="0 0 510 510").b-logo__icon
						g#gulp-front-heart
							path(d="M255,489.6l-35.7-35.7C86.7,336.6,0,257.55,0,160.65C0,81.6,61.2,20.4,140.25,20.4c43.35,0,86.7,20.4,114.75,53.55C283.05,40.8,326.4,20.4,369.75,20.4C448.8,20.4,510,81.6,510,160.65c0,96.9-86.7,175.95-219.3,293.25L255,489.6z")
					span.b-logo__name Gulp front
			
			.b-header__menu
				- var menuData = [ {"title": "Typography", "url": "#typography", "submenu": [ {"title": "Titles &amp; Paragraphs", "url": "#titles-and-paragraphs"}, {"title": "Unordered lists", "url": "#unordered-lists"}, {"title": "Ordered lists", "url": "#ordered-lists"}, {"title": "Tables", "url": "#tables"}, {"title": "Quotes", "url": "#quotes"}, {"title": "Description lists", "url": "#description-lists"}, {"title": "Code", "url": "#code"}, {"title": "Text level elements", "url": "#text-elements"} ]}, {"title": "Articles", "url": "#articles", "submenu": false}, {"title": "Forms", "url": "#forms", "submenu": [{"title": "Messaging", "url": "#messaging"}, {"title": "Text Inputs", "url": "#text-inputs"}, {"title": "Radios and Checkboxes", "url": "#radios-and-checkboxes"}, {"title": "Selects", "url": "#selects"}, {"title": "Textareas and Files", "url": "#textareas-and-files"}, {"title": "Captcha", "url": "#captcha"}, {"title": "Buttons", "url": "#buttons"} ]} ];
				nav(aria-label="primary", role="navigation").b-main-menu.js-link-sroll
					ul
						each ent, num in menuData
							if (ent.submenu !== false)
								- var mainMenuDropdownClass = 'b-main-menu__item_has_dropdown'
							else
								- var mainMenuDropdownClass = ''
							li(class="b-main-menu__item #{mainMenuDropdownClass}")
								a(href="#{ent.url}").b-main-menu__link= ent.title
								if (ent.submenu !== false)
									.b-main-menu__submenu
										.b-main-menu-submenu
											ul
												each ent2, num2 in ent.submenu
													li.b-main-menu-submenu__item: a(href="#{ent2.url}")= ent2.title

					.clear

			.b-header__github
				a(href="//github.com/Zoxon/gulp-front", target="_blank").b-github-button
					svg(width="100%", height="100%", viewBox="0 0 100 100").b-github-button__icon
						g#github-button-octocat-icon
							path(fill-rule="evenodd", clip-rule="evenodd", d="M49.941,99.039c-27.115,0-49.095-21.98-49.095-49.096c0-27.115,21.98-49.096,49.095-49.096c27.116,0,49.098,21.982,49.098,49.096C99.039,77.059,77.058,99.039,49.941,99.039z M49.941,8.43c-22.926,0-41.513,18.586-41.513,41.513c0,18.678,12.335,34.474,29.304,39.689c-0.006-0.951,0.006-6.691-0.008-7.696c-0.092-0.056-9.734,2.825-13.88-4.128c-0.659-1.13-1.73-5.102-4.622-7.3c-0.101-0.086-2.239-1.172-2.435-2.239c-0.022-0.148,0.137-0.46,0.348-0.536c0.22-0.081,3.735-1.518,7.652,3.43c1.182,1.656,3.849,8.008,13.183,4.083c0.251-0.979,0.751-3.236,3.715-3.852c-13.9-1.654-20.248-6.929-22.219-18.758c-1.23-8.062,1.135-14.764,4.688-18.072c-0.539-0.703-2.312-6.596,0.444-12.828c2.987-0.595,8.466,1.539,13.282,4.99c6.792-2.441,19.543-1.807,24.106,0c2.168-1.785,9.913-5.953,13.236-4.981c0.976,2.474,2.383,8.468,0.438,12.837c4.327,4.433,5.548,10.158,4.767,17.188c-0.956,10.655-7.515,18.267-22.243,19.523c3.71,2.546,3.874,6.53,4.002,8.101c0.033,3.663-0.042,8.649,0.005,10.225c16.948-5.225,29.265-21.012,29.265-39.676C91.455,27.016,72.869,8.43,49.941,8.43z")
					span.b-github-button__text Github

			.clear

	.b-header__bottom
		.b-header__inner
			.b-header-presentation
				h1.b-header-presentation__name Gulp front
				h2.b-header-presentation__description A lean and powerfull, gulp-based Jade &amp; Stylus boilerplate for better front-end coding.
				.b-header-presentation__try-now
					a(href="#").b-button.b-button_color_white.b-button_style_outline.b-button_size_xxxl 
				.b-header-presentation__version v. 2.2.5
				.b-header-presentation__sub-description Created &amp; maintained by @zoxon
{'fraction_non_alphanumeric': 0.22423606950269623, 'fraction_numerical': 0.1322648292390653, 'mean_word_length': 3.7254069355980186, 'pattern_counts': {'":': 49, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4301006', 'n_tokens_mistral': 3556, 'n_tokens_neox': 2729, 'n_words': 364}