Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

html_Instagram_bootstrap #69

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
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
328 changes: 328 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,328 @@
<!DOCTYPE html>
<html>

<head>
<title>Instagram Feed con Bootstrap</title>
<link rel="stylesheet" type="text/css" href="styles.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/[email protected]/css/fontawesome.min.css"
integrity="sha384-BY+fdrpOd3gfeRvTSMT+VUZmA728cfF9Z2G42xpaRkUGu2i3DyzpTURDo5A6CaLK" crossorigin="anonymous">
<!--<link rel="stylesheet" href="./node_modules/bootstrap-icons/font/bootstrap-icons.min.css">-->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.min.css">
</head>

<body>
<div class="p-2 mb-2 bg-dark">

<div class="container p-0 bg-white">
<!-- nuevo NavBAr para el menu principal 20 Marzo 2024-->
<nav class="navbar navbar-expand-lg">
<div class="container">
<a class="navbar-brand text-dark d-flex align-items-center" href="#"><i class="bi bi-instagram fa-2x"></i>
<h2 class="mb-0"> Instagram </h2>
</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarText"
aria-controls="navbarText" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse d-flex justify-content-end" id="navbarText">
<ul class="navbar-nav mb-2 mb-lg-0 ">
<li class="nav-item">


<a class="nav-link text-dark" href="#exampleModal">

<button type="button" class="btn btn-success" data-bs-toggle="modal" data-bs-target="#exampleModal">
Create a new post
</button>
</a>
<!-- Inicio Modal -->

<div class="modal fade" id="exampleModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="newpostmodallLabel">Create a new post</h5>
<button type="button" class="close btn-light" data-bs-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
</div>
<div class="modal-body">
<form>
<div class="form-group">
<label for="recipient-name" class="col-form-label">Caption:</label>
<input type="text" class="form-control" id="recipient-name">
</div>
<div class="form-group">
<i class="bi bi-camera-fill fa-1x "></i>
<i class="bi bi-geo-alt-fill fa-1x"></i>

</div>

</form>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
<button type="button" class="btn btn-success">Publish</button>
</div>
</div>
</div>
</div>
<!--Fin modal-->
</li>
<!--menú desplegable-->
<ul class="nav nav-pills align-items-center">
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle text-white bg-secondary" data-bs-toggle="dropdown" href="#menud"
role="button"><i class="bi bi-gear-fill fa-1x" aria-label="Close"></i>
</a>
<ul class="dropdown-menu align-items-center">
<li><a class="dropdown-item" href="#menud">Profile</a></li>
<li><a class="dropdown-item" href="#menud">Accesibility</a></li>
<li><a class="dropdown-item" href="#menud">Privacy and Data</a></li>
<li>
<hr class="dropdown-divider">
</li>
<li><a class="dropdown-item link-danger" href="#menud">Log out</a></li>
</ul>
</li>
</ul>
<!--Fin Menú desplegable-->
</ul>
</div>
</div>
</nav>
<!-- ***FIN*** nuevo NavBAr para el menu principal 20 Marzo 2024-->

<!-- Menu para cambiar de grid a post-->
<ul class="nav nav-tabs justify-content-lg-center d-flex" id="myTab" role="tablist">
<li class="nav-item" role="presentation">
<button class="nav-link active" id="grid-tab" data-bs-toggle="tab" data-bs-target="#grid" type="button"
role="tab" aria-controls="home" aria-selected="true"><i class="bi bi-grid fa-1x"></i></button>
</li>
<li class="nav-item" role="presentation">
<button class="nav-link" id="post-tab" data-bs-toggle="tab" data-bs-target="#post" type="button" role="tab"
aria-controls="post" aria-selected="false"><i class="bi bi-square-fill fa-1x"></i></button>
</li>
</ul>
<div class="tab-content" id="myTabContent">
<div class="tab-pane fade show active" id="grid" role="tabpanel" aria-labelledby="grid-tab">
<!-- inicio contenido grid-->
<div class="d-grid-fluid gap-1 bg-white">
<div class="row g-1">
<div class="col-4">
<img src="https://loremflickr.com/320/240/soccer?lock=10" class="img-fluid img-thumbnail w-100" alt="">
</div>
<div class="col-4">
<img src="https://loremflickr.com/320/240/dog?lock=55" class=" img-fluid img-thumbnail w-100" alt="">
</div>

<div class="col-4">
<img src="https://loremflickr.com/320/240/laptop?lock=6" class=" img-fluid img-thumbnail w-100" alt="">
</div>
</div>
<div class="row g-1 justify-content-lg-center">
<div class="col-4 mx-0 ">
<img src="https://loremflickr.com/320/240/dog?lock=50" class="img-fluid img-thumbnail w-100" alt="">
</div>
<div class="col-4">
<img src="https://loremflickr.com/320/240/dog?lock=45" class=" img-fluid img-thumbnail w-100" alt="">
</div>

<div class="col-4">
<img src="https://loremflickr.com/320/240/laptop?lock=16" class=" img-fluid img-thumbnail w-100"
alt="">
</div>
</div>
<div class="row g-1 justify-content-lg-center">
<div class="col-4 mx-0 ">
<img src="https://loremflickr.com/320/240/cat?lock=50" class="img-fluid img-thumbnail w-100" alt="">
</div>
<div class="col-4">
<img src="https://loremflickr.com/320/240/sport?lock=45" class=" img-fluid img-thumbnail w-100" alt="">
</div>

<div class="col-4">
<img src="https://loremflickr.com/320/240/women?lock=16" class=" img-fluid img-thumbnail w-100" alt="">
</div>
</div>
</div>
<!-- fin contenido grid-->
</div>
<div class="tab-pane fade" id="post" role="tabpanel" aria-labelledby="post-tab">
<!-- inicio Post-->
<div class="container align-items-center">
<!-- Inicio CARD -->
<div class="container ">
<div class="row justify-content-center mb-20">
<div class="col-md-7 d-flex ">
<div class="card ">
<div class="card-header bg-white">
<div class="row d-flex align-items-center ">
<div class="col-md-10 d-flex justify-content-start">
<h2>Excellent Sport</h2>
</div>
<div class="col-md-2 m-0 d-flex justify-content-end">
08/15
</div>
</div>
</div>
<div class="card-body d-flex mb-0">
<img src="https://loremflickr.com/320/240/soccer?lock=10" class="img-fluid w-100" alt="">
</div>
<div class="card-footer bg-white ">
<p><strong>1250 Likes</strong></p>
<p>This is my first photo of the feed. This is a multi line comment for testing purposes. I am
learning
to code with <strong>#BreatheCode</strong></p>
</div>
</div>
</div>
</div>

<div class="row justify-content-center ">
<div class="col-md-7 d-flex ">
<div class="card ">
<div class="card-header bg-white">
<div class="row d-flex align-items-center ">
<div class="col-md-10 d-flex justify-content-start">
<h2>Cute Dog</h2>
</div>
<div class="col-md-2 m-0 d-flex justify-content-end">
05/23
</div>
</div>
</div>
<div class="card-body d-flex mb-0">
<img src="https://loremflickr.com/320/240/dog?lock=55" class="img-fluid w-100" alt="">
</div>
<div class="card-footer bg-white">
<p><strong>100 Likes</strong></p>
<p>This is my first photo of the feed. This is a multi line comment for testing purposes. I am
learning
to code with <strong>#BreatheCode</strong></p>
</div>
</div>
</div>
</div>

<div class="row justify-content-center ">
<div class="col-md-7 d-flex ">
<div class="card ">
<div class="card-header bg-white">
<div class="row d-flex align-items-center ">
<div class="col-md-10 d-flex justify-content-start">
<h2>Litte Strange!</h2>
</div>
<div class="col-md-2 m-0 d-flex justify-content-end">
03/10
</div>
</div>
</div>
<div class="card-body d-flex mb-0">
<img src="https://loremflickr.com/320/240/women?lock=16" class="img-fluid w-100" alt="">
</div>
<div class="card-footer bg-white">
<p><strong>250 Likes</strong></p>
<p>This is my first photo of the feed. This is a multi line comment for testing purposes. I am
learning
to code with <strong>#BreatheCode</strong></p>
</div>
</div>
</div>
</div>

<div class="row justify-content-center ">
<div class="col-md-7 d-flex ">
<div class="card ">
<div class="card-header bg-white">
<div class="row d-flex align-items-center ">
<div class="col-md-10 d-flex justify-content-start">
<h2>Wonderful!!</h2>
</div>
<div class="col-md-2 m-0 d-flex justify-content-end">
11/24
</div>
</div>
</div>
<div class="card-body d-flex mb-0">
<img src="https://loremflickr.com/320/240/laptop?lock=6" class="img-fluid w-100" alt="">
</div>
<div class="card-footer bg-white">
<p><strong>350 Likes</strong></p>
<p>This is my first photo of the feed. This is a multi line comment for testing purposes. I am
learning
to code with <strong>#BreatheCode</strong></p>
</div>
</div>
</div>
</div>

<div class="row justify-content-center ">
<div class="col-md-7 d-flex ">
<div class="card">
<div class="card-header bg-white">
<div class="row d-flex align-items-center ">
<div class="col-md-10 d-flex justify-content-start">
<h2>Friendly!</h2>
</div>
<div class="col-md-2 m-0 d-flex justify-content-end">
12/14
</div>
</div>
</div>
<div class="card-body d-flex mb-0">
<img src="https://loremflickr.com/320/240/dog?lock=50" class="img-fluid w-100" alt="">
</div>
<div class="card-footer bg-white">
<p><strong>250 Likes</strong></p>
<p>This is my first photo of the feed. This is a multi line comment for testing purposes. I am
learning
to code with <strong>#BreatheCode</strong></p>
</div>
</div>
</div>
</div>
<div class="row justify-content-center ">
<div class="col-md-7 d-flex ">
<div class="card ">
<div class="card-header bg-white">
<div class="row d-flex align-items-center ">
<div class="col-md-10 d-flex justify-content-start">
<h2>Aweson Dog</h2>
</div>
<div class="col-md-2 m-0 d-flex justify-content-end">
12/14
</div>
</div>
</div>
<div class="card-body d-flex mb-0">
<img src="https://loremflickr.com/320/240/dog?lock=45" class="img-fluid w-100" alt="">
</div>
<div class="card-footer bg-white">
<p><strong>1500 Likes</strong></p>
<p>This is my first photo of the feed. This is a multi line comment for testing purposes. I am
learning
to code with <strong>#BreatheCode</strong></p>
</div>
</div>
</div>
</div>
</div>
<!--Fin CARD-->

<!-- fin menu para cambiar-->

</div>
</div>
<!-- Bootstrap JS files DON'T REMOVE THESE FILES -->
<script src="https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js"
integrity="sha384-IQsoLXl5PILFhosVNubq5LC7Qb9DXgDA9i+tQ8Zj3iwWAwPtgFTxbJ8NT4GN1R8p"
crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js"
integrity="sha384-cVKIPhGWiC2Al4u+LWgxfKTRIcfu0JTxR+EQDz/bgldoEyl4H0zUF0QKbrJ0EcQF"
crossorigin="anonymous"></script>
</body>

</html>