mirror of
https://github.com/jorgev259/soc_site-astro.git
synced 2025-06-29 07:57:41 +00:00
More responsive fixes
This commit is contained in:
parent
3e19a693ca
commit
563ff224cc
2 changed files with 4 additions and 4 deletions
|
|
@ -18,7 +18,7 @@ const { session } = Astro.locals
|
||||||
---
|
---
|
||||||
|
|
||||||
<header class='relative'>
|
<header class='relative'>
|
||||||
<div class='relative h-[150px] bg-top bg-no-repeat bg-cover'>
|
<div class='relative h-[150px] bg-top bg-no-repeat bg-cover justify-center'>
|
||||||
<div class='absolute size-full'>
|
<div class='absolute size-full'>
|
||||||
<Picture
|
<Picture
|
||||||
class={`size-full object-cover object-${bannerPosition || 'top'}`}
|
class={`size-full object-cover object-${bannerPosition || 'top'}`}
|
||||||
|
|
@ -28,11 +28,11 @@ const { session } = Astro.locals
|
||||||
height={150}
|
height={150}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div class='relative px-20 size-full flex'>
|
<div class='relative md:px-20 size-full flex justify-center'>
|
||||||
<a href='/'>
|
<a href='/'>
|
||||||
<Image
|
<Image
|
||||||
src={Astro.currentLocale === 'es' ? logoEs : logo}
|
src={Astro.currentLocale === 'es' ? logoEs : logo}
|
||||||
class='h-full md:py-0.5 w-auto mx-auto md:mx-0'
|
class='h-full md:py-0.5 w-auto'
|
||||||
alt='logo'
|
alt='logo'
|
||||||
height={150}
|
height={150}
|
||||||
width={265}
|
width={265}
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ import LogoutBtn from './LogoutButton'
|
||||||
const session = Astro.locals.session
|
const session = Astro.locals.session
|
||||||
---
|
---
|
||||||
|
|
||||||
<div class='ms-auto hidden md:block'>
|
<div class='px-2 flex gap-x-2 justify-end absolute w-full md:ms-auto md:block md:w-auto md:static'>
|
||||||
{
|
{
|
||||||
session ? (
|
session ? (
|
||||||
<LogoutBtn client:only='react' />
|
<LogoutBtn client:only='react' />
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue