Skip to content

Commit dfccfac

Browse files
committed
added group
1 parent 91f92af commit dfccfac

File tree

3 files changed

+51
-0
lines changed

3 files changed

+51
-0
lines changed

group.qmd

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,57 @@ output:
66
---
77
### Some group photos and memories (to come soon..)
88

9+
```{=html}
10+
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet">
11+
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script>
12+
<style>
13+
/* Custom style to prevent carousel from being distorted
14+
if for some reason image doesn't load */
15+
.carousel-item{
16+
min-height: 280px;
17+
max-height: 350px;
18+
}
19+
</style>
20+
</head>
21+
<body>
22+
<div class="container-lg my-3">
23+
<div id="myCarousel" class="carousel slide" data-bs-ride="carousel">
24+
<!-- Carousel indicators -->
25+
<ol class="carousel-indicators">
26+
<li data-bs-target="#myCarousel" data-bs-slide-to="0" class="active"></li>
27+
<li data-bs-target="#myCarousel" data-bs-slide-to="1"></li>
28+
<li data-bs-target="#myCarousel" data-bs-slide-to="2"></li>
29+
</ol>
30+
31+
<!-- Wrapper for carousel items -->
32+
<div class="carousel-inner">
33+
<div class="carousel-item active">
34+
<img src="images/group/2023-group.jpg" class="d-block w-100" alt="Slide 1">
35+
<div class="carousel-caption d-none d-md-block">
36+
<h5>2 May 2023</h5>
37+
<p>Batch of 2023 (Saagar, Aadesh, Xhitij, Nipun, Zeel (not batch of 2023), Ankita, Eshan, Hitarth, Gautam</p>
38+
</div>
39+
</div>
40+
<div class="carousel-item">
41+
<img src="images/group/2023-cake.jpg" class="d-block w-100" alt="Slide 2">
42+
<div class="carousel-caption d-none d-md-block">
43+
<h5>2 May 2023/h5>
44+
<p>Cake by batch of 2023</p>
45+
</div>
46+
</div>
47+
48+
</div>
49+
50+
<!-- Carousel controls -->
51+
<a class="carousel-control-prev" href="#myCarousel" data-bs-slide="prev">
52+
<span class="carousel-control-prev-icon"></span>
53+
</a>
54+
<a class="carousel-control-next" href="#myCarousel" data-bs-slide="next">
55+
<span class="carousel-control-next-icon"></span>
56+
</a>
57+
</div>
58+
```
59+
960
```{=html}
1061
<!-- Image Carousel with CSS in Quarto
1162
<div class="carousel">

images/group/2023-cake.jpg

3.29 MB
Loading

images/group/2023-group.jpg

2.58 MB
Loading

0 commit comments

Comments
 (0)