diff --git a/templates/Message.tsx b/templates/Message.tsx index fe09d14..bede926 100644 --- a/templates/Message.tsx +++ b/templates/Message.tsx @@ -1,5 +1,5 @@ import { Body, Html, Markdown, Preview, Section, Text } from 'jsx-email' -import { Signature } from './_Signature.tsx' +import { Signature } from './components/Signature.tsx' import type { Template } from '../types.ts' function Message( diff --git a/templates/Welcome.tsx b/templates/Welcome.tsx index b457cee..dae8b07 100644 --- a/templates/Welcome.tsx +++ b/templates/Welcome.tsx @@ -1,6 +1,7 @@ import { Body, Button, + Code, Container, Heading, Html, @@ -8,8 +9,9 @@ import { Section, Text, } from 'jsx-email' -import { Signature } from './_Signature.tsx' +import { Signature } from './components/Signature.tsx' import type { Template } from '../types.ts' +import type { JSX } from 'preact' function Welcome( { firstname, lastname, login }: { @@ -22,14 +24,15 @@ function Welcome( Bienvenue au FabLab Coh@bit - +
Bienvenue à Coh@bit - Bravo ! Vous avez rejoint le FabLab Coh@bit en tant que{' '} - {firstname} {lastname} (login:{' '} - {login}). Laissez parler votre créativité, vous êtes prêt à - collaborer avec toute une communauté ouverte et accueillante. + Bravo ! Vous avez rejoint le FabLab Coh@bit en tant que + {firstname} {lastname} (id :{' '} + {login}). Laissez parler votre créativité, vous êtes + prêt à collaborer avec toute une communauté ouverte et + accueillante. Comment débuter : @@ -80,6 +83,15 @@ function Welcome( ) } +const bodyCss: JSX.CSSProperties = { + fontSize: 'large', + fontFamily: 'sans-serif', +} + +const messageCss: JSX.CSSProperties = { + padding: '1rem', +} + const template: Template[0]> = { props: [ { diff --git a/templates/_Signature.tsx b/templates/components/Signature.tsx similarity index 100% rename from templates/_Signature.tsx rename to templates/components/Signature.tsx