Skip to content

Commit

Permalink
updates logos and backgrounds
Browse files Browse the repository at this point in the history
  • Loading branch information
andresgnlez committed Mar 4, 2024
1 parent a799263 commit f0c582a
Show file tree
Hide file tree
Showing 11 changed files with 267 additions and 176 deletions.
14 changes: 14 additions & 0 deletions public/bg-desktop.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed public/bg-desktop.webp
Binary file not shown.
14 changes: 14 additions & 0 deletions public/bg-mobile.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed public/bg-mobile.webp
Binary file not shown.
264 changes: 132 additions & 132 deletions public/flag-of-europe.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
44 changes: 44 additions & 0 deletions public/logo-desktop.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
44 changes: 44 additions & 0 deletions public/logo-mobile.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
30 changes: 0 additions & 30 deletions public/logo.svg

This file was deleted.

4 changes: 2 additions & 2 deletions src/layouts/Layout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ const { title } = Astro.props;
</html>
<style is:global>
body {
background-image: url(/bg-mobile.webp);
background-image: url(/bg-mobile.svg);
@apply bg-blue-500 bg-cover bg-fixed bg-center bg-no-repeat font-sans text-white antialiased;
}

@media only screen and (min-width: 1023px) {
body {
background-image: url(/bg-desktop.webp);
background-image: url(/bg-desktop.svg);
}
}
</style>
24 changes: 12 additions & 12 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -4,31 +4,31 @@ import Layout from '../layouts/Layout.astro';

<Layout title="Coming soon | More4Nature">
<div class="flex min-h-dvh flex-col">
<!-- <header class="p-4 md:p-10">
<header class="p-4 md:p-10">
<picture>
<source
srcset="/logo.svg"
srcset="/logo-desktop.svg"
media="(min-width: 1024px)"
width="189"
height="40"
width="263"
height="68"
/>
<source
srcset="/logo.svg"
srcset="/logo-mobile.svg"
media="(max-width: 1023px)"
width="117"
height="24"
/>
<img
src="/logo.svg"
width="189"
height="40"
src="/logo-desktop.svg"
width="263"
height="68"
alt="Logo More4Nature"
/>
</picture>
</header> -->
</header>
<main class="m-auto flex max-w-7xl flex-1 items-center p-4 md:py-10 lg:px-0">
<div class="grid grid-cols-12">
<div class="col-span-12 space-y-8 text-center lg:col-span-8 lg:col-start-3">
<div class="col-span-12 space-y-8 text-center text-blue-950 lg:col-span-8 lg:col-start-3">
<h1 class="text-2xl md:text-8xl">Coming soon</h1>
<p class="text-sm md:text-2xl">
The more4nature programme is on a mission to trigger transformative change in
Expand All @@ -40,8 +40,8 @@ import Layout from '../layouts/Layout.astro';
</main>
<footer class="p-4 md:p-10">
<div class="float-right flex max-w-[470px] items-center space-x-2 text-right">
<div class="font-serif text-2xs lg:text-xs">
This project has received funding from the European Unions Horizon Europe research and
<div class="font-serif text-2xs text-blue-950 lg:text-xs">
This project has received funding from the European Union&apos;s Horizon Europe research and
innovation programme under grant agreement No. 101133983
</div>
<picture class="shrink-0">
Expand Down
5 changes: 5 additions & 0 deletions tailwind.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ export default {
fontSize: {
'2xs': '.65rem', // 10px
},
colors: {
blue: {
950: '#243B4A',
},
},
fontFamily: {
sans: ['Lexend', ...defaultTheme.fontFamily.sans],
},
Expand Down

0 comments on commit f0c582a

Please sign in to comment.