Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
183 changes: 183 additions & 0 deletions feed/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,183 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Feed</title>
<link rel="stylesheet" href="../src/scss/index.css" />
<script
src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js"
integrity="sha384-kenU1KFdBIe4zVF0s0G1M5b4hcpxyD9F7jL+jjXkk+Q2h455rYXK/7HAuoJl+0I4"
crossorigin="anonymous"
defer></script>
<script
src="https://kit.fontawesome.com/5e248e42c9.js"
crossorigin="anonymous"></script>
</head>
<body>
<header>
<nav class="navbar navbar-expand-lg bg-primary">
<div class="container-fluid">
<a class="navbar-brand" href="../index.html">'Sitename'</a>
<button
class="navbar-toggler"
type="button"
data-bs-toggle="collapse"
data-bs-target="#navbarSupportedContent"
aria-controls="navbarSupportedContent"
aria-expanded="false"
aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav me-auto mb-2 mb-lg-0">
<li class="nav-item">
<a class="nav-link" href="/profile/"
>Profile</a
>
</li>
<li class="nav-item">
<a class="nav-link active" aria-current="page" href="/feed/">Feed</a>
</li>
<li class="nav-item"></li>
<a class="nav-link" href="/index.html">Log Out</a>
</li>
</ul>

<form class="d-flex" role="search">
<input
class="form-control me-2"
type="search"
placeholder="Search"
aria-label="Search" />
<button class="btn btn-outline-success" type="submit">
Search
</button>
</form>
</div>
</div>
</nav>
</header>
<main>
<div class="container py-3 ">
<div class="row d-flex justify-content-center">
<div class="col col-sm-10 col-md-8 col-lg-6 col-xl-5">
<form class="d-flex" role="search">
<input
class="form-control me-2"
type="search"
placeholder="Search"
aria-label="Search" />
<button class="btn btn-primary" type="submit">
Search
</button>
<div class="dropdown"></div>
<button class="btn btn-secondary dropdown-toggle mx-2" type="button" data-bs-toggle="dropdown" aria-expanded="false">
Sort by:
</button>
<ul class="dropdown-menu">
<li><a class="dropdown-item" href="#">Relevance</a></li>
<li><a class="dropdown-item" href="#">Date</a></li>
<li><a class="dropdown-item" href="#">Name</a></li>
<li><a class="dropdown-item" href="#">Comments</a></li>
</ul>
</div>
</form>
</div>
</div>
</div>
<!-- Posts section -->
<div class="container p-4">
<h2>Recent posts:</h2>
<div class="row">
<div class="col-md-4 col-sm-6">
<div class="card mb-4">
<i class="bi bi-1-circle card-img-top p-4"></i>
<div class="card-body">
<h5 class="card-title">Post 1</h5>
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
<a href="#" class="btn btn-primary">Go somewhere</a>
</div>
</div>
</div>
<div class="col-md-4 col-sm-6">
<div class="card mb-4">
<i class="bi bi-2-circle card-img-top p-4"></i>
<div class="card-body">
<h5 class="card-title">Post 2</h5>
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
<a href="#" class="btn btn-primary">Go somewhere</a>
</div>
</div>
</div>
<div class="col-md-4 col-sm-6">
<div class="card mb-4">
<i class="bi bi-3-circle card-img-top p-4"></i>
<div class="card-body">
<h5 class="card-title">Post 3</h5>
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
<a href="#" class="btn btn-primary">Go somewhere</a>
</div>
</div>
</div>
<div class="col-md-4 col-sm-6">
<div class="card mb-4">
<i class="bi bi-4-circle card-img-top p-4"></i>
<div class="card-body">
<h5 class="card-title">Post 4</h5>
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
<a href="#" class="btn btn-primary">Go somewhere</a>
</div>
</div>
</div>
<div class="col-md-4 col-sm-6">
<div class="card mb-4">
<i class="bi bi-5-circle card-img-top p-4"></i>
<div class="card-body">
<h5 class="card-title">Post 5</h5>
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
<a href="#" class="btn btn-primary">Go somewhere</a>
</div>
</div>
</div>
<div class="col-md-4 col-sm-6">
<div class="card mb-4">
<i class="bi bi-6-circle card-img-top p-4"></i>
<div class="card-body">
<h5 class="card-title">Post 6</h5>
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
<a href="#" class="btn btn-primary">Go somewhere</a>
</div>
</div>
</div>
</div>
<!-- Create post section -->
<div class="container py-3">
<H2>Create post:</H2>
<form action="" method="POST">
<div class="form-group">
<label for="title">Title <span class="require">*</span></label>
<input type="text" class="form-control" name="title" />
</div>
<div class="form-group">
<label for="description">Description</label>
<textarea rows="5" class="form-control" name="description" ></textarea>
</div>
<div class="form-group">
<p><span class="require">*</span> = required fields</p>
</div>
<div class="form-group">
<button type="submit" class="btn btn-primary">
Create
</button>
<button class="btn btn-default">
Cancel
</button>
</div>

</form>
</div>
</main>
<footer class="bg-primary primary-color d-flex fixed-bottom justify-content-center p-3 ">&copy;Copyright 2024</footer>
</body>
</html>
Binary file added img/profile.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
109 changes: 109 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>`Sitename`</title>
<link rel="stylesheet" href="src/scss/index.css" />
<script
src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js"
integrity="sha384-kenU1KFdBIe4zVF0s0G1M5b4hcpxyD9F7jL+jjXkk+Q2h455rYXK/7HAuoJl+0I4"
crossorigin="anonymous"
defer></script>
<script
src="https://kit.fontawesome.com/5e248e42c9.js"
crossorigin="anonymous"></script>
</head>
<body>
<header class="fixed-top">
<nav class="navbar navbar-expand-lg bg-primary">
<div class="container-fluid">
<a class="navbar-brand" href="#">'Sitename'</a>
<button
class="navbar-toggler"
type="button"
data-bs-toggle="collapse"
data-bs-target="#navbarSupportedContent"
aria-controls="navbarSupportedContent"
aria-expanded="false"
aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav me-auto mb-2 mb-lg-0">
<li class="nav-item">
<a class="nav-link active" aria-current="page" href="/profile/"
>Profile</a
>
</li>
<li class="nav-item">
<a class="nav-link" href="/feed/">Feed</a>
</li>
<li class="nav-item"></li>
<a class="nav-link" href="/index.html">Log Out</a>
</li>
</ul>

<form class="d-flex" role="search">
<input
class="form-control me-2"
type="search"
placeholder="Search"
aria-label="Search" />
<button class="btn btn-outline-success" type="submit">
Search
</button>
</form>
</div>
</div>
</nav>
</header>
<main>
<div class="container position-absolute top-50 start-50 translate-middle">
<div class="row">
<div class="col-md-6 offset-md-3">
<div class="card my-5 shadow-lg rounded-4">
<form class="card-body cardbody-color p-lg-5 shadow-lg rounded-4" action="/profile/">
<div class="text-center">
<img
src="/img/profile.jpg"
class="img-fluid profile-image-pic img-thumbnail rounded-circle my-3"
width="200px"
alt="profile" />
</div>

<div class="mb-3">
<input type="email"class="form-control" id="email" required />
<label for="email" class="form-label"
>Email address</label
>
</div>
<div class="mb-3">
<input
type="password"
id="password"
class="form-control"
required
minlength="8" />
<label class="form-label" for="form2Example2">Password</label>
</div>
<div class="text-center">
<button type="submit" class="btn btn-color px-5 mb-5 w-100">
Login
</button>
</div>
<div
id="emailHelp"
class="form-text text-center mb-5 text-dark">
Not Registered?
<a href="#" class="text-dark fw-bold"> Create an Account</a>
</div>
</form>
</div>
</div>
</div>
</div>
</main>
<footer class="bg-primary primary-color d-flex fixed-bottom justify-content-center p-3">&copy;Copyright 2024</footer>
</body>
</html>
Loading