Skip to content

Commit

Permalink
#6.10~12 navigation
Browse files Browse the repository at this point in the history
  • Loading branch information
shtjrgus010 committed Feb 8, 2024
1 parent d43385e commit d7e1dba
Show file tree
Hide file tree
Showing 7 changed files with 120 additions and 43 deletions.
17 changes: 17 additions & 0 deletions css/components/nav-bar.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
.nav{
position: fixed;
bottom: 0;
width: 100%;
background-color: #f9f9fa;
padding: 20px 50px;
box-sizing: border-box;
border-top: 1px solid rgba(121,121,123,0.3);
}
.nav__list{
display: flex;
justify-content: space-between;
padding: 20px 40px;
}
.nav__link{
color: #2e363e;
}
1 change: 0 additions & 1 deletion css/status-bar.css → css/components/status-bar.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

.status-bar{
display: flex;
justify-content: center;
Expand Down
4 changes: 4 additions & 0 deletions css/reset.css
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,7 @@ table {
input:focus{
outline: none;
}
a {
color: inherit;
text-decoration: none;
}
37 changes: 37 additions & 0 deletions css/screens/login.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
#login-form {
display: flex;
flex-direction: column;
margin: 0px 30px;
}

#login-form input {
border: none;
padding: 15px 0px;
font-size: 18px;
margin-bottom: 25px;
}

#login-form input:not([type="submit"]) {
border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

#login-form input::placeholder {
color: rgba(0, 0, 0, 0.4);
}

#login-form input:focus {
border-color: var(--yellow);
}

#login-form input[type="submit"] {
background-color: var(--yellow);
cursor: pointer;
padding: 20px 0px;
border-radius: 5px;
}
#login-form a{
text-align: center;
text-decoration: none;
color: inherit;
font-size: 13px;
}
43 changes: 4 additions & 39 deletions css/stlyles.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
@import "reset.css";
@import "status-bar.css";
@import "components/status-bar.css";
@import "components/nav-bar.css";
@import "variables.css";
@import "screens/login.css";


body {
font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
Expand All @@ -22,42 +25,4 @@ body {
.Welcome-header__text {
width: 60%;
opacity: 0.7;
}

#login-form {
display: flex;
flex-direction: column;
margin: 0px 30px;
}

#login-form input {
border: none;
padding: 15px 0px;
font-size: 18px;
margin-bottom: 25px;
}

#login-form input:not([type="submit"]) {
border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

#login-form input::placeholder {
color: rgba(0, 0, 0, 0.4);
}

#login-form input:focus {
border-color: var(--yellow);
}

#login-form input[type="submit"] {
background-color: var(--yellow);
cursor: pointer;
padding: 20px 0px;
border-radius: 5px;
}
#login-form a{
text-align: center;
text-decoration: none;
color: inherit;
font-size: 13px;
}
55 changes: 55 additions & 0 deletions friends.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="css/stlyles.css">
<title>friends - KoKoa Clone</title>
</head>

<body>
<div class="status-bar">
<div class="status-bar__column">
<span>No Service</span>
<i class="fa-solid fa-wifi"></i>
</div>
<div class="status-bar__column">
<span>18:43</span>
</div>
<div class="status-bar__column">
<span>71%</span>
<i class="fa-solid fa-battery-three-quarters"></i>
<i class="fa-solid fa-bolt"></i>
</div>
</div>
<nav class="nav">
<ul class="nav__list">
<li class="nav__btn">
<a class="nav__link" href="#">
<i class="fa-solid fa-user fa-2x"></i>
</a>
</li>
<li class="nav__btn">
<a class="nav__link" href="#">
<i class="fa-regular fa-comment fa-2x"></i>
</a>
</li>
<li class="nav__btn">
<a class="nav__link" href="#">
<i class="fa-solid fa-magnifying-glass fa-2x"></i>
</a>
</li>
<li class="nav__btn">
<a class="nav__link" href="#">
<i class="fa-solid fa-ellipsis fa-2x"></i>
</a>
</li>
</ul>
</nav>

<script src="https://kit.fontawesome.com/59ff05d9f3.js" crossorigin="anonymous"></script>
</body>


</html>
6 changes: 3 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@
<h1 class="Welcome-header__title">Welcome to KoKoa Clone</h1>
<p class="Welcome-header__text"> If you have a Kokoa Account, log in with your email or phone number.</p>
</header>
<form id="login-form">
<input type="text" placeholder="Email or phone number"/>
<input type="password" placeholder="Password"/>
<form action="friends.html" method="get" id="login-form">
<input name="username" type="text" placeholder="Email or phone number"/>
<input name="password" type="password" placeholder="Password"/>
<input type="submit" value="Log In"/>
<a href="#">Find Kokoa Acoount or Password</a>
<script src="https://kit.fontawesome.com/59ff05d9f3.js" crossorigin="anonymous"></script>
Expand Down

0 comments on commit d7e1dba

Please sign in to comment.