feat: better hero responsiveness

This commit is contained in:
TrèsAbhi committed 2024-05-03 20:52:59 -05:00
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"
> >
+1 -2
View File
@@ -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 />