mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 03:59:50 +02:00
feat: better hero responsiveness
This commit is contained in:
1 parent
d6993c802f
commit
ee66dd31b5
2 files changed
+2
-3
No files matched your search
@@ -18,7 +18,7 @@ export function HeroSection() {
|
|||||||
style={{
|
style={{
|
||||||
background: `linear-gradient(${wideFormat ? -90 : 180}deg, ${theme.colors.appBackground1}, ${theme.colors.appBackground2})`,
|
background: `linear-gradient(${wideFormat ? -90 : 180}deg, ${theme.colors.appBackground1}, ${theme.colors.appBackground2})`,
|
||||||
position: 'relative',
|
position: 'relative',
|
||||||
height: wideFormat ? undefined : 'calc(100vh - 64px)',
|
height: wideFormat ? undefined : 'calc(87.5vh - 64px)',
|
||||||
}}
|
}}
|
||||||
gap="4"
|
gap="4"
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -8,7 +8,6 @@ import { mutateTankopediaTemporary } from '../../../../stores/tankopedia';
|
|||||||
import { CharacteristicsSection } from './components/Model/CharacteristicsSection';
|
import { CharacteristicsSection } from './components/Model/CharacteristicsSection';
|
||||||
import { HeroSection } from './components/Model/HeroSection';
|
import { HeroSection } from './components/Model/HeroSection';
|
||||||
import { HistoricalSection } from './components/Model/HistoricalSection';
|
import { HistoricalSection } from './components/Model/HistoricalSection';
|
||||||
import { TankopediaPlug } from './components/Model/TankopediaPlug';
|
|
||||||
import { TankopediaSeparator } from './components/TankopediaSeparator';
|
import { TankopediaSeparator } from './components/TankopediaSeparator';
|
||||||
import { Videos } from './components/Videos';
|
import { Videos } from './components/Videos';
|
||||||
|
|
||||||
@@ -62,7 +61,7 @@ export default function Page({ params }: { params: { id: string } }) {
|
|||||||
{assigned && (
|
{assigned && (
|
||||||
<>
|
<>
|
||||||
<HeroSection />
|
<HeroSection />
|
||||||
<TankopediaPlug />
|
{/* <TankopediaPlug /> */}
|
||||||
<CharacteristicsSection />
|
<CharacteristicsSection />
|
||||||
<TankopediaSeparator />
|
<TankopediaSeparator />
|
||||||
<Videos />
|
<Videos />
|
||||||
|
|||||||
Reference in new issue
Block a user