diff --git a/src/main/java/swiss/fihlon/apus/ui/view/NextSessionView.java b/src/main/java/swiss/fihlon/apus/ui/view/NextSessionView.java index 23543f2..89cfe19 100644 --- a/src/main/java/swiss/fihlon/apus/ui/view/NextSessionView.java +++ b/src/main/java/swiss/fihlon/apus/ui/view/NextSessionView.java @@ -18,6 +18,7 @@ package swiss.fihlon.apus.ui.view; import com.vaadin.flow.component.dependency.CssImport; +import com.vaadin.flow.component.html.Div; import com.vaadin.flow.component.html.H4; import com.vaadin.flow.component.html.Paragraph; import com.vaadin.flow.component.orderedlayout.VerticalLayout; @@ -29,10 +30,9 @@ public class NextSessionView extends VerticalLayout { public NextSessionView(@NotNull final Session session) { add(new H4(session.title())); - add(new Paragraph(session.speaker())); - add(new Paragraph(String.format("starts at %s in room %s", - session.startDate().toLocalTime(), - session.room()))); + add(new Paragraph("\uD83D\uDC64 " + session.speaker())); + add(new Div("\uD83D\uDCCD " + String.format("Room %s", session.room()))); + add(new Paragraph("⌚ " + session.startDate().toLocalTime())); } } diff --git a/src/main/java/swiss/fihlon/apus/ui/view/RunningSessionView.java b/src/main/java/swiss/fihlon/apus/ui/view/RunningSessionView.java index 5f38abe..55fc2f3 100644 --- a/src/main/java/swiss/fihlon/apus/ui/view/RunningSessionView.java +++ b/src/main/java/swiss/fihlon/apus/ui/view/RunningSessionView.java @@ -35,9 +35,9 @@ public RunningSessionView(@NotNull final Session session) { final long timeLeft = Math.round(duration.getSeconds() / 60f); final String timeUnit = timeLeft == 1 ? "minute" : "minutes"; add(new H4(session.title())); - add(new Div(session.speaker())); - add(new Div(String.format("Room %s", session.room()))); - add(new Div(String.format("%d %s left", timeLeft, timeUnit))); + add(new Div("\uD83D\uDC64 " + session.speaker())); + add(new Div("\uD83D\uDCCD " + String.format("Room %s", session.room()))); + add(new Div("⌛ " + String.format("%d %s left", timeLeft, timeUnit))); } }