diff --git a/src/main/java/rest/Application.java b/src/main/java/rest/Application.java index 10c763c..2ff03cd 100644 --- a/src/main/java/rest/Application.java +++ b/src/main/java/rest/Application.java @@ -85,8 +85,10 @@ public static native TemplateInstance speakers(List speakers, List sponsors = Sponsor.list("level", sponsorShip); return Templates.schools(sponsorShip, sponsors); } - + + @Path("/speaker-banner") + public TemplateInstance speakerBanner(@RestPath Long id) { + Speaker speaker = Speaker.findById(id); + notFoundIfNull(speaker); + return Templates.speakerBanner(speaker); + } + + + @Path("/sponsor-banner") + public TemplateInstance sponsorBanner(@RestPath Long id) { + Sponsor sponsor = Sponsor.findById(id); + notFoundIfNull(sponsor); + return Templates.sponsorBanner(sponsor); + } + } diff --git a/src/main/resources/messages.properties b/src/main/resources/messages.properties index bafb52c..de4e0cf 100644 --- a/src/main/resources/messages.properties +++ b/src/main/resources/messages.properties @@ -418,6 +418,11 @@ views.application.cfp.motivation.1=On top of the great conference, make sure to views.application.cfp.motivation.2=Don't miss the speaker dinner on Friday evening, with a great views.application.cfp.motivation.3=dinner on the beach. +views.application.banner.speaker.date.1=July 08 | 09 | 10 +views.application.banner.speaker.date.2=2024 +views.application.banner.speaker.date.3=They'll be here in 2024 +views.application.banner.sponsor.date.1=Our 2024 sponsors + tags.sponsorsPreviousYears.title=They trusted us the previous years tags.previousSpeakers.title=They were at Riviera DEV tags.newsletter.placeholder=Your email address diff --git a/src/main/resources/messages_fr.properties b/src/main/resources/messages_fr.properties index 0f5995c..92dc17e 100644 --- a/src/main/resources/messages_fr.properties +++ b/src/main/resources/messages_fr.properties @@ -420,6 +420,11 @@ views.application.cfp.motivation.1=En plus de la super conf, profitez de votre p views.application.cfp.motivation.2=Venez également profiter du dîner orateur le vendredi soir, avec traditionnellement un super views.application.cfp.motivation.3=repas sur la plage. +views.application.banner.speaker.date.1=08 | 09 | 10 +views.application.banner.speaker.date.2=Juillet 2024 +views.application.banner.speaker.date.3=Ils seront là en 2024 +views.application.banner.sponsor.date.1=Nos sponsors 2024 + tags.sponsorsPreviousYears.title=Ils nous ont fait confiance les années précédentes tags.previousSpeakers.title=Ils sont venus à Riviera DEV tags.newsletter.placeholder=Votre adresse email diff --git a/src/main/resources/templates/Application/speakerBanner.html b/src/main/resources/templates/Application/speakerBanner.html new file mode 100644 index 0000000..5c056e5 --- /dev/null +++ b/src/main/resources/templates/Application/speakerBanner.html @@ -0,0 +1,140 @@ + + + + + +
+ +
{speaker.firstName} {speaker.lastName}
+
{speaker.company}
+
{m:views.application.banner.speaker.date.3.raw}
+
{m:views.application.banner.speaker.date.1.raw}
{m:views.application.banner.speaker.date.2.raw}
+
Sophia Antipolis
+
rivieradev.fr
+
+ {#for talk in speaker.talks} +
{talk.type}:
+
« {talk.title} »
+ {/for} +
+ + + + \ No newline at end of file diff --git a/src/main/resources/templates/Application/sponsorBanner.html b/src/main/resources/templates/Application/sponsorBanner.html new file mode 100644 index 0000000..e790fbc --- /dev/null +++ b/src/main/resources/templates/Application/sponsorBanner.html @@ -0,0 +1,102 @@ + + + + + + + +
+ + +
{m:views.application.banner.sponsor.date.1.raw}
+
{m:views.application.banner.speaker.date.1.raw}
{m:views.application.banner.speaker.date.2.raw}
+
Sophia Antipolis
+
rivieradev.fr
+ + + + + \ No newline at end of file diff --git a/src/main/resources/web/static/fonts/InterstateBold.woff b/src/main/resources/web/static/fonts/InterstateBold.woff new file mode 100644 index 0000000..cb39511 Binary files /dev/null and b/src/main/resources/web/static/fonts/InterstateBold.woff differ diff --git a/src/main/resources/web/static/fonts/InterstateLight.woff b/src/main/resources/web/static/fonts/InterstateLight.woff new file mode 100644 index 0000000..cfb9ed6 Binary files /dev/null and b/src/main/resources/web/static/fonts/InterstateLight.woff differ diff --git a/src/main/resources/web/static/fonts/InterstateRegular.woff b/src/main/resources/web/static/fonts/InterstateRegular.woff new file mode 100644 index 0000000..c58acdd Binary files /dev/null and b/src/main/resources/web/static/fonts/InterstateRegular.woff differ diff --git a/src/main/resources/web/static/images/Speakers-banner-notext.png b/src/main/resources/web/static/images/Speakers-banner-notext.png new file mode 100644 index 0000000..eb571f5 Binary files /dev/null and b/src/main/resources/web/static/images/Speakers-banner-notext.png differ diff --git a/src/main/resources/web/static/images/Sponsors-Diamond.png b/src/main/resources/web/static/images/Sponsors-Diamond.png new file mode 100644 index 0000000..84695da Binary files /dev/null and b/src/main/resources/web/static/images/Sponsors-Diamond.png differ diff --git a/src/main/resources/web/static/images/Sponsors-Gold.png b/src/main/resources/web/static/images/Sponsors-Gold.png new file mode 100644 index 0000000..31413ea Binary files /dev/null and b/src/main/resources/web/static/images/Sponsors-Gold.png differ diff --git a/src/main/resources/web/static/images/Sponsors-Lunches.png b/src/main/resources/web/static/images/Sponsors-Lunches.png new file mode 100644 index 0000000..e1640cd Binary files /dev/null and b/src/main/resources/web/static/images/Sponsors-Lunches.png differ diff --git a/src/main/resources/web/static/images/Sponsors-Party.png b/src/main/resources/web/static/images/Sponsors-Party.png new file mode 100644 index 0000000..faed7d0 Binary files /dev/null and b/src/main/resources/web/static/images/Sponsors-Party.png differ diff --git a/src/main/resources/web/static/images/Sponsors-Platinum.png b/src/main/resources/web/static/images/Sponsors-Platinum.png new file mode 100644 index 0000000..2b71626 Binary files /dev/null and b/src/main/resources/web/static/images/Sponsors-Platinum.png differ diff --git a/src/main/resources/web/static/images/Sponsors-Silver.png b/src/main/resources/web/static/images/Sponsors-Silver.png new file mode 100644 index 0000000..89ff8d6 Binary files /dev/null and b/src/main/resources/web/static/images/Sponsors-Silver.png differ diff --git a/src/main/resources/web/static/images/Sponsors-banner-notext.png b/src/main/resources/web/static/images/Sponsors-banner-notext.png new file mode 100644 index 0000000..d4c9bac Binary files /dev/null and b/src/main/resources/web/static/images/Sponsors-banner-notext.png differ