Skip to content

Commit 458bc98

Browse files
Updated mobile view
1 parent f1f4bb7 commit 458bc98

File tree

6 files changed

+20
-6
lines changed

6 files changed

+20
-6
lines changed

astro.config.mjs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,8 @@ import react from '@astrojs/react';
66
// https://astro.build/config
77
export default defineConfig({
88
integrations: [react()],
9-
site: 'https://zetaplugins.com'
9+
server: {
10+
allowedHosts: ['zetaplugins.com', 'www.zetaplugins.com', 'mbjan.local'],
11+
},
12+
site: 'https://zetaplugins.com',
1013
});

src/components/sections/HeroSection.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import './HeroSection.scss';
55
<section class="hero">
66
<img src="/img/logo.svg" alt="ZetaPlugins logo" />
77
<div class="hero-content">
8-
<h1># ZetaPlugins</h1>
8+
<h1># Zeta<wbr />Plugins</h1>
99
<p>We are a group of developers who create plugins for Minecraft.</p>
1010
</div>
1111
</section>

src/components/sections/HeroSection.scss

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,11 @@ section.hero {
5555
flex-direction: column;
5656
align-items: flex-start;
5757

58+
--top-offset: -150px;
59+
5860
img {
5961
margin-top: -50px;
60-
}
61-
62-
.hero-content {
63-
margin-top: 0px;
62+
display: none;
6463
}
6564
}
6665
}

src/components/sections/PluginsSection.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,4 +95,8 @@ section.plugins {
9595
}
9696
}
9797
}
98+
99+
@media screen and (max-width: 800px) {
100+
margin-bottom: 200px;
101+
}
98102
}

src/components/sections/PrinciplesSection.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,8 @@ section.principles {
3636
}
3737
}
3838
}
39+
40+
@media screen and (max-width: 800px) {
41+
margin-bottom: 200px;
42+
}
3943
}

src/components/sections/SupportSection.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,4 +85,8 @@ section.support {
8585
}
8686
}
8787
}
88+
89+
@media screen and (max-width: 800px) {
90+
margin-bottom: 200px;
91+
}
8892
}

0 commit comments

Comments
 (0)