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

Horribly rough draft of header. #26

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
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
Next Next commit
Horribly rough draft of header.
  • Loading branch information
marcioRene committed Sep 22, 2022
commit f332bd0745f98b4a6a1412a026bb1bc3931de244
56 changes: 48 additions & 8 deletions src/components/AppHeader.vue
Original file line number Diff line number Diff line change
@@ -1,14 +1,35 @@
<template>
<link rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.0/css/all.min.css">
<div>
<img v-show="darkMode" alt="JTCC logo" src="../assets/logoDark.png">
<img v-show="!darkMode" alt="JTCC logo" src="../assets/logoLight.png">
<br />
<div>
<h1>Welcome to the JTCC Programming Club</h1>
<p>This website was one of the projects developed in our club.</p>
<p>We are currently working on a custom <a href="https://weather.codingcorner.club/">weather station</a> as our main project.</p>
<header>
<div class="container">
<div class="content">
<h1>Codi Hacks</h1>
<hr>
<p>Projects</p>
<hr>
<p>
<a href="https://github.com/codi-hacks">
<i class="fa-brands fa-github" alt="github"></i>
</a>
</p>
<p>
<a href="https://discord.gg/xKgzfkyaha">
<i class="fa-brands fa-discord" alt="discord"></i>
</a>
</p>
<hr>
<p>Navigation</p>
</div>
</div>


<br />
</header>
<img v-show="darkMode" alt="JTCC logo" src="../assets/logoDark.png">
<img v-show="!darkMode" alt="JTCC logo" src="../assets/logoLight.png">
<br>
</div>
</div>
</template>

@@ -40,4 +61,23 @@ export default {
width: 50%;
}
}

header {
backdrop-filter: grayscale(0.25) blur(10px);
position: sticky;
top: 0;
}

hr{
opacity: .25;
}

.container{
height: 80%;
padding-right: 16px;
padding-left: 16px;
}
.content{
display: flex;
}
</style>