Initial Commit

This commit is contained in:
Stelian Tsekov 2024-03-05 17:50:01 +01:00
commit a34bc75190
5 changed files with 296 additions and 0 deletions

104
assets/css/home.css Normal file
View file

@ -0,0 +1,104 @@
/* Home Styles */
/* general styles */
.home.content {
align-items: center;
text-align: center;
}
section {
display: flex;
flex-direction: column;
align-items: center;
margin: 2em;
width: 100%;
}
/* header styles */
.header {
width: 100%;
height: 100vh;
background: url(/assets/img/banner-tbz-tower-1600x879.jpg) no-repeat center;
background-size: cover;
}
.header-container {
width: 100%;
height: 100%;
backdrop-filter: blur(5px) brightness(80%);
display: flex;
flex-direction: column;
text-align: center;
align-items: center;
justify-content: center;
}
.header h1,
.header p {
margin: 0;
}
.header h1 {
font-weight: bold;
color: white;
font-size: 4em;
}
.header p {
color: white;
font-size: 1.7em;
}
.home.content h2 {
margin-bottom: 0.2em;
}
.home.content p.subtitle {
margin-bottom: 1.5em;
}
.button-container {
display: flex;
gap: 0.5em;
justify-content: center;
/* margin: 1em; */
}
/* grid styles
.grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(18em, 1fr));
gap: 1.5em;
justify-items: center;
align-items: center;
width: 56em;
} */
.row {
/* margin: 0 16em 0 16em; */
margin: 0 auto 0 auto;
}
.service {
display: flex;
flex-direction: column;
text-align: center;
background-color: lightgray;
border-radius: 1em;
padding: 0.8em;
transition: all ease-in-out 0.2s;
}
.service h2 {
margin-top: 0.35em;
}
.service .button-container {
margin: auto auto 0.35em auto;
}
.service:hover {
transform: scale(1.02);
}

33
assets/css/main.css Normal file
View file

@ -0,0 +1,33 @@
body {
margin: 0;
padding: 0em;
height: 100%;
/* overflow: auto; */
/* width: 100vh; */
}
/* button.button {
padding: 0.5em 1em 0.5em 1em;
} */
.content {
display: flex;
flex-direction: column;
/* height: 100vh; */
padding: 1em;
}
div.notice {
padding: 1em;
width: 100%;
box-sizing: border-box;
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
/* background-color: gray; */
}
div.notice p {
margin: 0;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 209 KiB

98
index-tbz.html Normal file
View file

@ -0,0 +1,98 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>TBZ Community Hub</title>
<style>
/* Basic styling for layout */
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
box-sizing: border-box;
line-height: 1.6;
}
.container {
max-width: 1200px;
margin: auto;
padding: 20px;
}
header, .features, .additional-services, .call-to-action, footer {
padding: 20px;
margin: 20px 0;
}
/* Simple responsive grid for features */
.grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
gap: 20px;
}
.feature, .service {
text-align: center;
}
/* Basic button styling */
.btn {
display: inline-block;
background: #007bff;
color: #ffffff;
padding: 10px 20px;
text-decoration: none;
border-radius: 5px;
}
footer {
text-align: center;
font-size: 0.8em;
}
</style>
</head>
<body>
<header class="container">
<h1>Welcome to the TBZ Community Hub!</h1>
<p>A student-driven platform for collaboration and innovation.</p>
</header>
<section class="features container">
<h2>Main Features</h2>
<div class="grid">
<div class="feature">
<h3>Forum</h3>
<p>Join the conversation! Our forum is your go-to destination for all things TBZ.</p>
</div>
<div class="feature">
<h3>Git for Collaboration</h3>
<p>Collaborate on projects like never before with our Git repository.</p>
</div>
</div>
</section>
<section class="additional-services container">
<h2>Additional Features and Services</h2>
<div class="grid">
<div class="service">
<h3>Tutorials and Workshops</h3>
<p>Information on upcoming educational events, coding bootcamps, and study sessions.</p>
</div>
<div class="service">
<h3>Resource Sharing</h3>
<p>A place for sharing textbooks, lecture notes, and other educational materials.</p>
</div>
<div class="service">
<h3>Project Showcase</h3>
<p>A gallery for students to showcase their projects and receive feedback.</p>
</div>
</div>
</section>
<section class="call-to-action container">
<h2>Join the Community!</h2>
<p>Ready to dive in? Join us now and start contributing to the TBZ Community Hub.</p>
<a href="#" class="btn">Join Us Now</a>
<a href="#" class="btn">Contribute to the Hub</a>
</section>
<footer>
<p>This is an unofficial community platform run by students, for students of the TBZ school. For inquiries and support, please contact us.</p>
</footer>
</body>
</html>

61
index.html Normal file
View file

@ -0,0 +1,61 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>TBZ Community Hub</title>
<link rel="stylesheet" href="https://unpkg.com/chota@latest">
<link rel="stylesheet" href="/assets/css/main.css" />
<link rel="stylesheet" href="/assets/css/home.css" />
</head>
<body>
<div class="header">
<div class="header-container">
<h1>Welcome to the TBZ Community!</h1>
<p>A student-driven hub for the TBZ students to collaborate and innovate.</p>
</div>
<!-- <img class="banner" src="" alt="The TBZ Tower, with Zurich's Hard Tower in the background." /> -->
</div>
<div class="content home">
<section class="services">
<h2>Services</h2>
<p class="subtitle">Services hosted by students, for students, at the TBZ.</p>
<div class="row">
<div class="col-4 service">
<h3>Forum</h3>
<p>Join the conversation! Our forum is your go-to destination for all things TBZ.</p>
<div class="button-container">
<a class="button primary" href="#">Visit</a>
</div>
</div>
<div class="col-4 service">
<h3>Git Forge</h3>
<p>Collaborate on projects with our Git repository. Powered by Forgejo.</p>
<div class="button-container">
<a class="button primary" href="#">Visit</a>
</div>
</div>
<div class="col-4 service">
<h3>Test</h3>
<p>Lorem Ipsum Dolor Sit Amet This Is Random Bullshit To Fill This Card.</p>
<div class="button-container">
<a class="button primary" href="#">Visit</a>
</div>
</div>
</div>
</section>
<section class="join">
<h2>What're you waiting for?</h2>
<p class="subtitle">Ready to dive in? Join us now and start contributing to the TBZ Community Hub.</p>
<div class="button-container">
<a class="button primary" href="#">Join us</a>
<a class="button secondary" href="#">Explore Projects</a>
</div>
</section>
</div>
<div class="notice">
<p>This is an unofficial community platform run by students, for students of the <a href="https://tbz.ch">TBZ</a>. For inquiries and support, please contact us <a href="/contact">here</a>.</p>
<p>This website's been made using the <a href="https://jenil.github.io/chota/">chota</a> CSS framework. You can find this site's source code <a href="https://gitpot.dev">here</a>.</p>
</div>
</body>