Skip to content

Commit 34aa3cc

Browse files
authored
Merge pull request #512 from zirreal/master
removed indiegogo banner
2 parents da8a71c + 367d10f commit 34aa3cc

File tree

4 files changed

+2
-120
lines changed

4 files changed

+2
-120
lines changed

src/components/header/Header.astro

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,11 @@
22
// components import
33
import HeaderNav from './HeaderNav.astro';
44
import LanguageSwitcher from './LanguageSwitcher.astro';
5-
import IndieGoGo from './IndieGoGo.astro';
65
76
const {translated = false} = Astro.props;
87
---
98

109
<header class="header">
11-
12-
<IndieGoGo/>
1310
<div class="header-content">
1411
<div class="header-logo">
1512
<a href="/">
@@ -38,7 +35,6 @@ const {translated = false} = Astro.props;
3835
</svg>
3936
</a>
4037
</div>
41-
4238
<div class="header-side">
4339
<LanguageSwitcher translated={translated}/>
4440
<HeaderNav/>

src/components/header/HeaderNav.astro

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ import Socials from '../blocks/Socials.astro'
6464
position: fixed;
6565
right: 0;
6666
text-align: left;
67-
top: calc(var(--screen-padding-top) + 44px);
67+
top: calc(var(--screen-padding-top) + 1px);
6868
transform: translateX(-20px);
6969
z-index: 1012;
7070
}
@@ -173,16 +173,9 @@ import Socials from '../blocks/Socials.astro'
173173

174174
.nav-content {
175175
height: 100%;
176-
top: calc(var(--screen-padding-top) + 44px);
177-
/* top: calc(var(--screen-padding-top) + 90px); */
178176
}
179177
}
180178

181-
@media screen and (max-width: 480px) {
182-
.nav-content {
183-
top: calc(var(--screen-padding-top) + 90px);
184-
}
185-
}
186179

187180

188181
</style>

src/components/header/IndieGoGo.astro

Lines changed: 0 additions & 95 deletions
This file was deleted.

src/layouts/Layout.astro

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ const isHome = Astro.url.pathname === '/';
180180
position: relative;
181181
background-color: var(--color-light);
182182
/* padding-top: var(--screen-padding-top); */
183-
padding-top: calc(var(--screen-padding-top) + 50px);
183+
padding-top: var(--screen-padding-top);
184184
padding-bottom: var(--screen-padding-bottom);
185185
height: 100vh;
186186
scrollbar-width: none;
@@ -193,23 +193,11 @@ const isHome = Astro.url.pathname === '/';
193193
background-color: var(--color-light);
194194
}
195195

196-
@media screen and (max-width: 1000px) {
197-
.screen {
198-
padding-top: calc(var(--screen-padding-top) + 45px);
199-
}
200-
}
201-
202196
@media screen and (max-width: 680px) {
203197
.footer-form.layout__content {
204198
padding-left: 0;
205199
}
206200
}
207-
208-
@media screen and (max-width: 520px) {
209-
.screen {
210-
padding-top: calc(var(--screen-padding-top) + 105px);
211-
}
212-
}
213201

214202

215203
</style>

0 commit comments

Comments
 (0)