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

Apply fix for file paths #8

Merged
merged 4 commits into from
Feb 23, 2024
Merged
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
1 change: 1 addition & 0 deletions CNAME
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ensemble.iisc.ac.in
12 changes: 6 additions & 6 deletions activities/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,15 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>IISc Physics Club | Ensemble</title>

<link rel="stylesheet" href="/css/common.css"/>
<link rel="stylesheet" href="/css/activities/common.css"/>
<link rel="stylesheet" href="/css/activities/home.css"/>
<link rel="stylesheet" href="../css/common.css"/>
<link rel="stylesheet" href="../css/activities/common.css"/>
<link rel="stylesheet" href="../css/activities/home.css"/>
</head>
<body>

<div class="parallaxwrap">
<header></header>
<script src="/scripts/activities_popover.js"></script> <!-- to create a popover for the sub-links in activies page -->
<script src="/scripts/activepage.js"></script> <!-- to highlight active page -->
<script src="../scripts/activepage.js"></script> <!-- to highlight active page -->


<div class="main">
Expand Down Expand Up @@ -59,7 +58,8 @@ <h2>Collaboration with IAP</h2>
<footer>
<div class="footer-container"></div>
</footer>
<script src="/scripts/header.js"></script>
<script src="../scripts/header.js"></script>
<script src="../scripts/activities_popover.js"></script> <!-- to create a popover for the sub-links in activies page -->
</div>

</body>
Expand Down
14 changes: 7 additions & 7 deletions activities/schedule/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,13 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>IISc Physics Club | Ensemble</title>

<link rel="stylesheet" href="/css/common.css"/>
<link rel="stylesheet" href="/css/activities/common.css"/>
<link rel="stylesheet" href="/css/activities/schedule.css"/>
<link rel="stylesheet" href="../../css/common.css"/>
<link rel="stylesheet" href="../../css/activities/common.css"/>
<link rel="stylesheet" href="../../css/activities/schedule.css"/>
</head>
<body>
<header></header>
<script src="/scripts/header.js"></script>
<script src="/scripts/activities_popover.js"></script> <!-- to create a popover for the sub-links in activies page -->
<script src="/scripts/activepage.js"></script> <!-- to highlight active page -->
<script src="../../scripts/activepage.js"></script> <!-- to highlight active page -->


<div class="main">
Expand Down Expand Up @@ -48,8 +46,10 @@ <h2>Talks</h2>
</div>

<footer>
<script src="/scripts/footer.js"></script>
<div class="footer-container"></div>
</footer>

<script src="../../scripts/header.js"></script>
<script src="../../scripts/activities_popover.js"></script> <!-- to create a popover for the sub-links in activies page -->
</body>
</html>
16 changes: 8 additions & 8 deletions activities/talks-and-resources/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,13 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>IISc Physics Club | Ensemble</title>

<link rel="stylesheet" href="/css/common.css"/>
<link rel="stylesheet" href="/css/activities/common.css"/>
<link rel="stylesheet" href="/css/activities/talks-and-resources.css"/>
<link rel="stylesheet" href="../../css/common.css"/>
<link rel="stylesheet" href="../../css/activities/common.css"/>
<link rel="stylesheet" href="../../css/activities/talks-and-resources.css"/>
</head>
<body>
<header></header>
<script src="/scripts/header.js"></script>
<script src="/scripts/activities_popover.js"></script> <!-- to create a popover for the sub-links in activies page -->
<script src="/scripts/activepage.js"></script> <!-- to highlight active page -->
<script src="../../scripts/activepage.js"></script> <!-- to highlight active page -->


<div class="main">
Expand Down Expand Up @@ -100,7 +98,7 @@ <h3>Ensemble Talk Series</h3>
</ol>
</section>
<section class="act-section">
<a href="/activities/schedule">Check the upcoming talks in our "<span data-color=#e98615 class="colored-link">Schedule of Upcoming Events</span>" page.</a>
<a href="../schedule">Check the upcoming talks in our "<span data-color=#e98615 class="colored-link">Schedule of Upcoming Events</span>" page.</a>
</section>
<section class="act-section">
<h3>Let's solve some problems...</h3>
Expand All @@ -114,8 +112,10 @@ <h3>Let's solve some problems...</h3>
</div>

<footer>
<script src="/scripts/footer.js"></script>
<div class="footer-container"></div>
</footer>

<script src="../../scripts/header.js"></script>
<script src="../../scripts/activities_popover.js"></script> <!-- to create a popover for the sub-links in activies page -->
</body>
</html>
42 changes: 42 additions & 0 deletions contact/contact.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

body{
margin:0;
padding:0;
background-image: linear-gradient(0deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.4)), url("../img/home-background.webp");
background-size: cover;
height: 100%;
background-repeat: no-repeat;
background-position: center;
background-attachment: fixed;
text-align: center;
}

#contact-card {
width: 800px;
max-width: 95%;
height: 400px;
margin: 200px auto;

background-color: #222222cc;
color: white;
padding: 100px min(5%, 50px);
}

#contact-card h1 {
font-family: "Playfair Display", serif;
font-size: 40px;
padding-bottom: 30px;
border-bottom: 2px white solid;
}

#contact-card span {
font-family: "Playfair Display", serif;
font-size: 32px;
}

@media screen and (max-width: 800px) {
#contact-card span {
font-size: 24px;
}
}
34 changes: 34 additions & 0 deletions contact/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>IISc Physics Club | Ensemble</title>

<link rel="stylesheet" href="../css/common.css"/>
<link rel="stylesheet" href="./gallery.css"/>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Roboto&family=Ubuntu&display=swap" rel="stylesheet">

<link rel="stylesheet" href="./contact.css"/>
</head>
<body>
<header></header>
<script src="../scripts/activepage.js"></script> <!-- to highlight active page -->

<div class="main">
<div id="contact-card">
<h1>Contact Us</h1>
<span><b>[email protected]</b></span>
</div>
</div>

<footer>
<div class="footer-container"></div>
</footer>

<script src="../scripts/header.js"></script>
<script src="../scripts/activities_popover.js"></script> <!-- to create a popover for the sub-links in activies page -->
</body>
</html>
17 changes: 2 additions & 15 deletions css/activities/common.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,25 +13,12 @@ body {
background: var(--bg);
}


header {
position: sticky;
z-index: 1;
top: 0;
left: 0;
}





img {
object-fit: cover;

object-fit: cover;
}

.main {
margin-top: 0;
margin-top: 120px;
font-family: var(--p-font);
font-weight: 300;
}
Expand Down
2 changes: 1 addition & 1 deletion css/activities/home.css
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ footer {
}

main {
background-image: url("/img/activities/activities_1.webp");
background-image: url("../../img/activities/activities_1.webp");
background-repeat: no-repeat;
background-size: cover;

Expand Down
4 changes: 2 additions & 2 deletions css/home.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ body, html {
body{
margin:0;
padding:0;
background-image: linear-gradient(0deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.4)), url("/img/home-background.webp");
background-image: linear-gradient(0deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.4)), url("../img/home-background.webp");
background-size: cover;
height: 100%;
background-repeat: no-repeat;
Expand Down Expand Up @@ -45,7 +45,7 @@ body{
#about_the_club_container {
width: 90%;
padding: 50px max(calc((90% - 800px) / 2), 20px);
background: linear-gradient(0deg, #ffffffd0, #ffffffd0), url("/img/home-about-background.webp");
background: linear-gradient(0deg, #ffffffd0, #ffffffd0), url("../img/home-about-background.webp");
background-position: center;

font-family: Arial, Helvetica, sans-serif;
Expand Down
38 changes: 19 additions & 19 deletions gallery/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>IISc Physics Club | Ensemble</title>

<link rel="stylesheet" href="/css/common.css"/>
<link rel="stylesheet" href="../css/common.css"/>
<link rel="stylesheet" href="./gallery.css"/>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
Expand All @@ -16,8 +16,7 @@
</head>
<body>
<header></header>
<script src="/scripts/activities_popover.js"></script> <!-- to create a popover for the sub-links in activies page -->
<script src="/scripts/activepage.js"></script> <!-- to highlight active page -->
<script src="../scripts/activepage.js"></script> <!-- to highlight active page -->

<div class="body-background"></div>

Expand All @@ -29,14 +28,14 @@ <h1>Paper Presentation (2023)</h1>
<div class="splide__track">
<ul class="splide__list">
<li class="splide__slide">
<img src="/img/gallery/paper-presentation-2023/img1.webp"/>
<img src="../img/gallery/paper-presentation-2023/img1.webp"/>
</li>
<li class="splide__slide">
<img src="/img/gallery/paper-presentation-2023/img2.webp"/>
<img src="../img/gallery/paper-presentation-2023/img2.webp"/>
<div style="text-align: right;"><b>1st Year Students Presenting</b></div>
</li>
<li class="splide__slide">
<img src="/img/gallery/paper-presentation-2023/img3.webp"/>
<img src="../img/gallery/paper-presentation-2023/img3.webp"/>
<div style="text-align: left;"><b>Conveners silently judging everyone</b></div>
</li>
</ul>
Expand All @@ -48,25 +47,25 @@ <h1>Paper Presentation (2023)</h1>
<div class="section">
<h1>Open Day (2020)</h1>
<div class="section-container">
<img class="poster" src="/img/gallery/open-day-2020/poster.webp"/>
<img class="poster" src="../img/gallery/open-day-2020/poster.webp"/>

<section id="open-day-2020-splide" class="splide" aria-label="Open Day 2020">
<div class="splide__track">
<ul class="splide__list">
<li class="splide__slide">
<img src="/img/gallery/open-day-2020/img1.webp"/>
<img src="../img/gallery/open-day-2020/img1.webp"/>
<div>Cloud Chamber Team</div>
</li>
<li class="splide__slide">
<img src="/img/gallery/open-day-2020/img2.webp"/>
<img src="../img/gallery/open-day-2020/img2.webp"/>
<div>Physics Section</div>
</li>
<li class="splide__slide">
<img src="/img/gallery/open-day-2020/img3.webp"/>
<img src="../img/gallery/open-day-2020/img3.webp"/>
<div>Cloud Chamber Deomstration</div>
</li>
<li class="splide__slide">
<img src="/img/gallery/open-day-2020/img4.webp"/>
<img src="../img/gallery/open-day-2020/img4.webp"/>
<div>Diffraction Demonstration</div>
</li>
</ul>
Expand All @@ -78,33 +77,33 @@ <h1>Open Day (2020)</h1>
<div class="section">
<h1>Decoherence (2020)</h1>
<div class="section-container">
<img class="poster" src="/img/gallery/decoherence-2020/poster.webp"/>
<img class="poster" src="../img/gallery/decoherence-2020/poster.webp"/>

<section id="decoherence-2020-splide" class="splide" aria-label="Open Day 2020">
<div class="splide__track">
<ul class="splide__list">
<li class="splide__slide">
<img src="/img/gallery/decoherence-2020/img1.webp"/>
<img src="../img/gallery/decoherence-2020/img1.webp"/>
<div>Decoherence Finals Presenation</div>
</li>
<li class="splide__slide">
<img src="/img/gallery/decoherence-2020/img2.webp"/>
<img src="../img/gallery/decoherence-2020/img2.webp"/>
<div>The Participants and Visitors</div>
</li>
<li class="splide__slide">
<img src="/img/gallery/decoherence-2020/img3.webp"/>
<img src="../img/gallery/decoherence-2020/img3.webp"/>
<div>The Decoherence 2020 Team and Finalists</div>
</li>
<li class="splide__slide">
<img src="/img/gallery/decoherence-2020/img4.webp"/>
<img src="../img/gallery/decoherence-2020/img4.webp"/>
<div>The experiments ongoing</div>
</li>
<li class="splide__slide">
<img src="/img/gallery/decoherence-2020/img5.webp"/>
<img src="../img/gallery/decoherence-2020/img5.webp"/>
<div>Presentation by teams</div>
</li>
<li class="splide__slide">
<img src="/img/gallery/decoherence-2020/img6.webp"/>
<img src="../img/gallery/decoherence-2020/img6.webp"/>
<div>Experiments and Analysis</div>
</li>
</ul>
Expand All @@ -118,7 +117,8 @@ <h1>Decoherence (2020)</h1>
<div class="footer-container"></div>
</footer>

<script src="/scripts/header.js"></script>
<script src="../scripts/header.js"></script>
<script src="../scripts/activities_popover.js"></script> <!-- to create a popover for the sub-links in activies page -->
<script src="./gallery.js"></script>
</body>
</html>
Loading