diff --git a/front/views/component/Title.tsx b/front/views/component/Title.tsx
new file mode 100644
index 0000000..83eec34
--- /dev/null
+++ b/front/views/component/Title.tsx
@@ -0,0 +1,30 @@
+
+
+export function MainTitle({title, id} : {title : string, id : string|null}) {
+ let titre;
+ if (id==null){
+ titre =
{title}
;
+ }
+ else {
+ titre =
{title}
;
+ }
+ return (
+
+
{title}
+
+ )
+}
+export function SecondTitle({title, id} : {title : string, id : string|null}) {
+ let titre;
+ if (id==null){
+ titre =
{title}
;
+ }
+ else {
+ titre =
{title}
;
+ }
+ return (
+
+ {titre}
+
+ )
+}