parent
d21d0bf64d
commit
d51cb3957f
@ -1,122 +1,91 @@
|
||||
.toolbar {
|
||||
&.dark-theme {
|
||||
background-color: black !important;
|
||||
}
|
||||
@import '../../../styles';
|
||||
|
||||
&.light-theme {
|
||||
background-color: white !important;
|
||||
}
|
||||
.header {
|
||||
padding: 0 1rem;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 4rem;
|
||||
}
|
||||
|
||||
.left_part {
|
||||
.left_part {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
gap: 4rem;
|
||||
}
|
||||
|
||||
.left_part .logo_container {
|
||||
&__logo {
|
||||
&--container{
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
gap: 2rem;
|
||||
}
|
||||
}
|
||||
|
||||
&--sandkasten{
|
||||
width: 4rem;
|
||||
height: auto;
|
||||
aspect-ratio: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.left_part .menu {
|
||||
.right_part {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
gap: 2rem;
|
||||
|
||||
align-items: flex-end;
|
||||
}
|
||||
&--menu {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
gap: 1rem;
|
||||
|
||||
.left_part .menu a {
|
||||
&.dark-theme {
|
||||
color: black !important;
|
||||
a {
|
||||
color: $color-black;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
&.light-theme {
|
||||
color: white !important;
|
||||
}
|
||||
text-decoration: none;
|
||||
padding: .5rem .5rem 0;
|
||||
}
|
||||
|
||||
.left_part .menu a:hover {
|
||||
&.dark-theme {
|
||||
background-color: black !important;
|
||||
}
|
||||
&__connexion {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
gap: 2rem;
|
||||
|
||||
&.light-theme {
|
||||
background-color: white !important;
|
||||
&--login {
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 1rem;
|
||||
color: $color-purple;
|
||||
}
|
||||
transition: background-color .3s ease;
|
||||
}
|
||||
|
||||
.left_part .menu a.active {
|
||||
&.dark-theme {
|
||||
background-color: black !important;
|
||||
&--register {
|
||||
cursor: pointer;
|
||||
border: 1px solid $color-black;
|
||||
border-radius: 10px;
|
||||
padding: .75rem 2rem;
|
||||
}
|
||||
}
|
||||
|
||||
&.light-theme {
|
||||
background-color: white !important;
|
||||
}
|
||||
}
|
||||
|
||||
.sandkasten-logo {
|
||||
width: 4rem;
|
||||
height: auto;
|
||||
aspect-ratio: 1;
|
||||
}
|
||||
|
||||
.logo_title {
|
||||
font-size: 1.5rem;
|
||||
font-weight: 500;
|
||||
&.dark-theme {
|
||||
color: black !important;
|
||||
.dark-theme {
|
||||
.right_part {
|
||||
&--menu {
|
||||
a {
|
||||
color: $color-white;
|
||||
}
|
||||
|
||||
&.light-theme {
|
||||
color: white !important;
|
||||
}
|
||||
}
|
||||
|
||||
.right_part {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
gap: 2rem;
|
||||
&.dark-theme {
|
||||
color: black !important;
|
||||
&__connexion {
|
||||
&--register {
|
||||
border-color: $color-white;
|
||||
}
|
||||
}
|
||||
|
||||
&.light-theme {
|
||||
color: white !important;
|
||||
}
|
||||
}
|
||||
|
||||
.gitea_logo_container .gitea-logo {
|
||||
width: 4rem;
|
||||
height: auto;
|
||||
aspect-ratio: 1;
|
||||
}
|
||||
|
||||
@media (max-width: 1024px) {
|
||||
.toolbar {
|
||||
gap: 2rem;
|
||||
}
|
||||
|
||||
.toolbar .left_part {
|
||||
gap: 2rem;
|
||||
}
|
||||
|
||||
.toolbar .left_part .logo_container .logo_title {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
@ -1,11 +1,9 @@
|
||||
<div class="landing-block">
|
||||
<div class="hero-container">
|
||||
<h2 class="hero-title">{{ 'LandingPage.Welcome' | translate}}</h2>
|
||||
<span class="hero-text">{{ 'LandingPage.Description' | translate}}</span>
|
||||
</div>
|
||||
<div class="landing-links">
|
||||
<div class="button-container">
|
||||
<a class="animated-button" (click)="onContinue()">{{ 'LandingPage.Try' | translate}}</a>
|
||||
<div class="landing-page">
|
||||
<div class="landing-page--container">
|
||||
<h2 class="landing-page--title">{{ 'LandingPage.Welcome' | translate}}</h2>
|
||||
<span class="landing-page--subtitle">{{ 'LandingPage.Description' | translate}}</span>
|
||||
<div class="landing-page__button">
|
||||
<a class="landing-page__button--link" (click)="onContinue()">{{ 'LandingPage.Try' | translate}}</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
Reference in new issue