Skip to content

Commit

Permalink
website / Add new logo + metas for home page
Browse files Browse the repository at this point in the history
  • Loading branch information
nathan-de-pachtere committed Nov 12, 2024
1 parent 5037ee8 commit 236c7af
Show file tree
Hide file tree
Showing 15 changed files with 48 additions and 11 deletions.
16 changes: 16 additions & 0 deletions libs/assets/logos/lychen/logo-lychen-favicon.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 added libs/assets/logos/lychen/logo-lychen-on-dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added libs/assets/logos/lychen/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added libs/assets/logos/lychen/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added libs/assets/logos/lychen/logo-lychen-on-light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added libs/assets/logos/lychen/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added libs/assets/logos/lychen/[email protected]
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 libs/assets/logos/lychen/logo-lychen.png
Binary file not shown.
6 changes: 6 additions & 0 deletions libs/assets/logos/lychen/logo-lychen.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 libs/assets/logos/lychen/logo-lychen.webp
Binary file not shown.
10 changes: 4 additions & 6 deletions libs/ui-components/logo/LychenLogo.vue
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
<template>
<div class="flex flex-row items-stretch justify-start gap-2">
<!--<div class="h-full">
<img
src="/logos/lychen/logo-lychen.webp"
class="h-full w-auto"
/>
</div>-->
<img
src="/logos/lychen/logo-lychen.svg"
class="h-4/5 w-auto self-center"
/>

<div class="flex flex-col items-start justify-center gap-0 antialiased">
<p class="font-lexend text-xl font-bold leading-5 tracking-wide antialiased">lychen</p>
Expand Down
4 changes: 2 additions & 2 deletions projects/website/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
<meta charset="UTF-8" />
<link
rel="icon"
type="image/webp"
href="/logos/lychen/logo-lychen.webp"
type="image/svg+xml"
href="/logos/lychen/logo-lychen-favicon.svg"
/>
<meta
name="viewport"
Expand Down
2 changes: 1 addition & 1 deletion projects/website/src/layouts/main/LayoutMainFooter.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<div class="flex flex-col gap-4">
<div class="flex flex-col items-stretch justify-between gap-4 lg:flex-row">
<div class="flex basis-1/3 flex-col gap-2">
<LychenLogo />
<LychenLogo class="h-14" />
<p class="text-sm opacity-80">
{{ t(`${TRANSLATION_KEY}.footer.seo_paragraph`) }}
</p>
Expand Down
12 changes: 11 additions & 1 deletion projects/website/src/views/home/ViewHome.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
</template>

<script lang="ts" setup>
import { useHead } from '@unhead/vue';
import heroUrl from '../assets/hero-1.webp';
import { useHead, useSeoMeta } from '@unhead/vue';
import { useTranslations } from './i18n';
import ViewHomeActors from './ViewHomeActors.vue';
Expand All @@ -21,7 +22,16 @@ import ViewHomeOSS from './ViewHomeOSS.vue';
const { t } = useTranslations();
useHead({
title: t('tab.title'),
});
useSeoMeta({
title: t('meta.title'),
description: t('meta.description'),
ogDescription: t('meta.og_description'),
ogTitle: t('meta.og_title'),
ogImage: heroUrl,
twitterCard: 'summary_large_image',
});
</script>

Expand Down
9 changes: 8 additions & 1 deletion projects/website/src/views/home/i18n/fr-FR.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
export default {
tab: {
title: 'Lychen - Acteur de la symbiose du territoire.',
},
meta: {
title: 'Lychen',
title: 'Lychen - Connecter les communautés autour de la biodiversité',
description:
"Lychen, l'écosystème d'applications pour connecter les utilisateurs autour de projets collectifs et locaux est centré sur la biodiversité.",
og_title: '@:view_home.meta.title',
og_description: '@:view_home.meta.description',
},
hero: {
title: {
Expand Down

0 comments on commit 236c7af

Please sign in to comment.