Toggle navigation
Toggle navigation
This project
Loading...
Sign in
이승윤
/
OpenSource-MyCookBook
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
이승윤
2021-05-31 21:34:50 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
5482bf2d4537ddbc16d0828e9b19aff57421fc5c
5482bf2d
1 parent
534d5ac8
feat: bootstrap 추가
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
21 deletions
views/includes/header.ejs
views/includes/header.ejs
View file @
5482bf2
...
...
@@ -9,38 +9,36 @@
src=
"https://code.jquery.com/jquery-3.2.1.min.js"
integrity=
"sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4="
crossorigin=
"anonymous"
></script>
<link
rel=
"stylesheet"
href=
"https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"
>
<!--bootstrap js 추가 -->
<script
type=
"text/javascript"
src=
"https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"
></script>
<link
href=
"https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/css/bootstrap.min.css"
rel=
"stylesheet"
integrity=
"sha384-+0n0xVW2eSR5OomGNYDnhzAbDsOXxcvSN1TPprVMTNDbiYZCxYbOOl7+AMvyTG2x"
crossorigin=
"anonymous"
>
<script
src=
"https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/js/bootstrap.bundle.min.js"
integrity=
"sha384-gtEjrD/SeCtmISkJkNUaaKMoLD0//ElJ19smozuHV6z3Iehds+3Ulb9Bn9Plx0x4"
crossorigin=
"anonymous"
></script>
</head>
<body>
<div
class=
"container"
style=
"margin-top: 15px;"
>
<div
class=
"container-fluid"
style=
"margin-top: 15px;"
>
<nav
class=
"navbar navbar-light"
style=
"background-color: #e3f2fd;"
>
<div>
<div
class=
"navbar-header"
>
<!-- 오른쪽 메뉴바 -->
<button
type=
"button"
class=
"collapsed navbar-toggle"
data-toggle=
"collapse"
data-target=
"#bs-example-navbar-collapse-9"
aria-expanded=
"false"
>
<span
class=
"sr-only"
>
Toggle navigation
</span>
<span
class=
"icon-bar"
></span>
<span
class=
"icon-bar"
></span>
<span
class=
"icon-bar"
></span>
</button>
<a
href=
"/"
class=
"navbar-brand"
>
MyCookBook
</a>
<div
class=
"navbar-brand"
style=
"float: left;"
>
<a
href=
"/"
class=
"nav-link"
>
MyCookBook
</a>
</div>
<div
class=
"
collapse navbar-collapse
"
>
<ul
class=
"nav
navbar-nav
"
>
<li
>
<a
href=
"/"
>
Home
</a>
<div
class=
"
navbar
"
>
<ul
class=
"nav"
>
<li
class=
"nav-item"
>
<a
class=
"nav-link"
href=
"/"
>
Home
</a>
</li>
<li
><a
href=
"/categori/products"
>
Categori
</a></li>
<li
class=
"nav-item"
><a
class=
"nav-link"
href=
"/categori/products"
>
Categori
</a></li>
<
% if(isLogin){%>
<li
><a
href=
"/accounts/logout"
onclick=
"return confirm('로그아웃 하시겠습니까?')"
>
LOGOUT
</a></li>
<li
class=
"nav-item"
><a
class=
"nav-link"
href=
"/accounts/logout"
onclick=
"return confirm('로그아웃 하시겠습니까?')"
>
LOGOUT
</a></li>
<
%}else{%>
<li
><a
href=
"/accounts/join"
>
SignUp
</a></li>
<li
><a
href=
"/accounts/login"
>
LOGIN
</a></li>
<li
class=
"nav-item"
><a
class=
"nav-link"
href=
"/accounts/join"
>
SignUp
</a></li>
<li
class=
"nav-item"
><a
class=
"nav-link"
href=
"/accounts/login"
>
LOGIN
</a></li>
<
%}%>
</ul>
</div>
</div>
<hr
style=
" border: 2px solid #4dabf7"
/>
</nav>
<hr
style=
" border: 2px solid #4263eb"
/>
...
...
Please
register
or
login
to post a comment