Layout change

This commit is contained in:
2025-02-10 23:42:27 -06:00
parent 72349a96e0
commit b62ad44358
2 changed files with 7 additions and 9 deletions

View File

@@ -27,6 +27,4 @@ sudo pm2 start server.cjs
# TODO
- Image uploads for backgrounds
- Improve mobile
- Update weather modal with design from https://github.com/esnz/react-weather-app?tab=readme-ov-file
- Improve mobile

View File

@@ -21,15 +21,15 @@ export default function CurrentWeather({ weather }: any) {
c={'var(--color-text-pri)'}
style={{
fontSize: '1.375rem',
textAlign: 'left',
textAlign: 'right',
}}
>
Current Weather
</Text>
</Group>
<Group gap={0} w={'100%'}>
<Stack gap={0} w={'50%'}>
<Group gap={0}>
<Group gap={8} w={'100%'} justify='space-between'>
<Stack gap={0} w={'45%'}>
<Group gap={0} justify='flex-end'>
<WeatherIcon textDescription={`${weather.textDescription}`} />
<Text fz={'7rem'} fw={200}>
{weather.temperature}°<sup style={{ fontSize: '3rem' }}>F</sup>
@@ -39,7 +39,7 @@ export default function CurrentWeather({ weather }: any) {
c={'var(--color-text-pri)'}
style={{
fontSize: '1.375rem',
textAlign: 'left',
textAlign: 'right',
marginTop: -32,
marginLeft: 16,
}}
@@ -47,7 +47,7 @@ export default function CurrentWeather({ weather }: any) {
{weather.textDescription}
</Text>
</Stack>
<Stack gap={4} w={'50%'}>
<Stack gap={4} w={'45%'}>
<Text>
Feels like {weather.heatIndex ?? weather.windChill ?? weather.temperature}°
<sup>F</sup>