<!DOCTYPE html>
<html lang="ko"
	xmlns:th="http://www.thymeleaf.org"
	xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout">

<head th:replace="~{web/common/fragments/HeadWeb :: head}"></head>

<body>

<div class="skipComment">
	<a href="#content">본문 바로가기</a>
	<a href="#gnb">주메뉴 바로가기</a>
	<a href="#footer">하단메뉴 바로가기</a>
</div>
	
<th:block th:replace="~{web/common/fragments/VariablesWeb :: variables}"></th:block>
<th:block th:replace="~{web/common/fragments/ScriptsWeb :: scripts}"></th:block>

<!-- GNB -->
<th:block th:if="${brandGroupInfo == null }">
	<header id="header" th:replace="~{web/common/fragments/GnbWeb :: gnb}"></header>
</th:block>
<th:block th:unless="${brandGroupInfo == null }">
	<header id="header" th:replace="~{web/common/fragments/BrandGnbWeb :: gnb}"></header>
</th:block>
<!--// GNB -->

<!-- CONTENT AREA -->
<th:block layout:fragment="content"></th:block>
<!-- // CONTENT AREA-->

<!-- Footer -->
<footer id="footer" th:replace="~{web/common/fragments/FooterWeb :: footer}"></footer>

<script th:inline="javascript">
/*<![CDATA[*/
	$(document).ready(function() {
		let brandGroupInfo = [[${brandGroupInfo}]];

		if(brandGroupInfo != null){
			$("#container").css('backgroundColor', brandGroupInfo.rgbCd);
		}else{
			$("#container").css('backgroundColor','#fff');
		}
	});
/*]]>*/
</script>

</body>
</html>
