Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions data/schedule.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,15 @@
{
"title": "Acreditação",
"hours": "05/06/2023 9:30 AM",
"location": "Acreditação",
"speaker": null,
"company": null,
"href": null
},
{
"title": "Sessão de abertura",
"hours": "05/06/2023 10:00 AM",
"location": "CP1 A1",
"speaker": null,
"company": null,
"href": null
Expand All @@ -24,6 +26,7 @@
{
"title": "[Talk] Do algoritmo ao impacto: uma viagem pela disrupção da IA",
"hours": "05/06/2023 11:30 AM",
"location": "CP1 0.20",
"speaker": "Michel Ozzello",
"company": "Agentifai",
"href": null
Expand All @@ -38,27 +41,31 @@
{
"title": "[Pitch] Agentifai",
"hours": "05/06/2023 02:00 PM",
"location": "CP1 0.20",
"speaker": null,
"company": "Agentifai",
"href": null
},
{
"title": "[Talk] Functional Web Development",
"hours": "05/06/2023 02:10 PM",
"location": "CP1 0.20",
"speaker": "Nelson Estevão",
"company": "Marmelasoft",
"href": null
},
{
"title": "[Pitch] Bliss",
"hours": "05/06/2023 03:10 PM",
"location": "CP1 0.20",
"speaker": null,
"company": "Bliss",
"href": null
},
{
"title": "[Talk] Web and Mobile Development in 2023",
"hours": "05/06/2023 03:20 PM",
"location": "CP1 0.20",
"speaker": "Nuno Pereira",
"company": "Bliss",
"href": null
Expand All @@ -73,13 +80,15 @@
{
"title": "[Pitch] DTx CoLAB",
"hours": "05/06/2023 04:50 PM",
"location": "CP1 0.20",
"speaker": null,
"company": "DTx CoLAB",
"href": null
},
{
"title": "[Talk] Accenture READY! SET! CLOUD!",
"hours": "05/06/2023 05:00 PM",
"location": "CP1 0.20",
"speaker": "Zeeshan Hurmat & Ana Costeira",
"company": "Accenture",
"href": null
Expand All @@ -96,6 +105,7 @@
{
"title": "[Workshop] Kick-Start a React Project",
"hours": "06/06/2023 09:00 AM",
"location": "CP1 0.20",
"speaker": "Rui Rigueira",
"company": "Bliss",
"href": "https://www.eventbrite.pt/e/workshop-kick-start-a-react-project-tickets-648159040137"
Expand All @@ -110,13 +120,15 @@
{
"title": "[Pitch] Atice Labs",
"hours": "06/06/2023 11:20 AM",
"location": "CP1 0.20",
"speaker": null,
"company": "Altice Labs",
"href": null
},
{
"title": "[Talk] Mobile Development and MEO Go Showcase",
"hours": "06/06/2023 11:30 AM",
"location": "CP1 0.20",
"speaker": "Romeu Gomes",
"company": "Altice Labs"
},
Expand All @@ -130,27 +142,31 @@
{
"title": "[Talk] Inteligência Artificial nos nossos dias",
"hours": "06/06/2023 02:00 PM",
"location": "CP1 0.20",
"speaker": "Paulo Novais",
"company": "Professor Universitário",
"href": null
},
{
"title": "[Pitch] Retail Consult",
"hours": "06/06/2023 03:00 PM",
"location": "CP1 0.20",
"speaker": null,
"company": "Retail Consult",
"href": null
},
{
"title": "[Pitch] Wintouch",
"hours": "06/06/2023 03:10 PM",
"location": "CP1 0.20",
"speaker": null,
"company": "Wintouch",
"href": null
},
{
"title": "Concurso de Programação",
"hours": "06/06/2023 03:20 PM",
"location": "CP1 0.20",
"speaker": null,
"company": null,
"href": null
Expand All @@ -165,13 +181,15 @@
{
"title": "[Pitch] Accenture",
"hours": "06/06/2023 04:50 PM",
"location": "CP1 0.20",
"speaker": null,
"company": "Accenture",
"href": null
},
{
"title": "[Talk] CI/CD > Build/Deploy Automation",
"hours": "06/06/2023 5:00 PM",
"location": "CP1 0.20",
"speaker": "Riardo Castro",
"company": "Blip.pt",
"href": null
Expand All @@ -188,6 +206,7 @@
{
"title": "[Workshop] Testa ou detesta o teu código (Testes unitários)",
"hours": "07/06/2023 09:00 AM",
"location": "CP1 0.20",
"speaker": "Hugo Cardoso",
"company": "Agentifai",
"href": "https://www.eventbrite.pt/e/workshop-kick-start-a-react-project-tickets-648159040137"
Expand All @@ -202,13 +221,15 @@
{
"title": "[Talk] Gerando novas moléculas adoçantes com Inteligência Artificial",
"hours": "07/06/2023 11:30 AM",
"location": "CP1 0.20",
"speaker": "João Capela",
"company": "CEB",
"href": null
},
{
"title": "[Pitch] Algoritmi",
"hours": "06/06/2023 12:10 PM",
"location": "CP1 0.20",
"speaker": null,
"company": "Algoritmi",
"href": null
Expand All @@ -223,20 +244,23 @@
{
"title": "[Talk] Regulamentação e Futuro da IA na Comunidade Europeia",
"hours": "07/06/2023 02:00 PM",
"location": "CP1 0.20",
"speaker": "Alexandra Oliveira",
"company": "Retail Consult",
"href": null
},
{
"title": "[Talk] What is quantum computing … and why you should care",
"hours": "07/06/2023 03:00 PM",
"location": "CP1 0.20",
"speaker": "Luís Soares Barbosa",
"company": "Professor Universitário",
"href": null
},
{
"title": "[Pitch] INESC TEC",
"hours": "07/06/2023 04:00 PM",
"location": "CP1 0.20",
"speaker": null,
"company": "INESC TEC + Universidade do Minho",
"href": null
Expand All @@ -251,13 +275,15 @@
{
"title": "Mesa redonda",
"hours": "07/06/2023 04:30 PM",
"location": "CP1 0.20",
"speaker": null,
"company": null,
"href": null
},
{
"title": "🏆 Cerimónia de encerramento + Entrega de prémios",
"hours": "07/06/2023 05:30 PM",
"location": "CP1 A1",
"speaker": null,
"company": null,
"href": null
Expand Down
24 changes: 19 additions & 5 deletions lib/parzival_web/live/landing/home_live/index.html.heex
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
</div>

<div
x-data={"{ date: new Date().toISOString() >= '#{hd(Map.get(@schedule, "monday"))["hours"]}.to_iso8601!()' && new Date().toISOString() <= '#{List.last(Map.get(@schedule, "wednesday"))["hours"]}.to_iso8601!()' ? new Date().getDay() +1 : 2 }"}
x-data={"{ date: new Date().toISOString() >= '#{hd(Map.get(@schedule, "monday"))["hours"]}.to_iso8601!()' && new Date().toISOString() <= '#{List.last(Map.get(@schedule, "wednesday"))["hours"]}.to_iso8601!()' ? new Date().getDay() + 1 : 2 }"}
class="flex flex-row mt-10 h-auto sm:mt-20 lg:mt-48 1.5xl:h-[1000px]"
>
<div class="hidden absolute transform -rotate-90 -translate-x-40 translate-y-48 md:-translate-x-44 1.5xl:block">
Expand Down Expand Up @@ -102,14 +102,23 @@
else
"bg-[#BB2A22]"
end} w-36 h-44 rounded-3xl relative -z-50"}>
<span class="text-white">
<p class="absolute left-3 top-4 w-32 text-sm font-light">
<span class="inline-block py-3 px-3 text-white">
<p class="text-sm font-light">
<%= if String.length(activity["title"]) < 50 do
activity["title"]
else
String.slice(activity["title"], 0..48) <> "... "
end %>
</p>
<%= if activity["location"] do %>
<p class="text-md">
<%= if String.length(activity["location"]) < 15 do
activity["location"]
else
String.slice(activity["location"], 0..13) <> "... "
end %>
</p>
<% end %>
<p class="absolute left-3 w-32 font-bold text-md top-[105px]">
<%= Calendar.strftime(activity["hours"], "%Hh%M") %>
</p>
Expand Down Expand Up @@ -174,8 +183,8 @@
else
'font-thin text-[12px] md:text-[16px] opacity-70'
end} text-white"}>
<div class="flex flex-col w-40 text-right sm:w-96 md:w-[420px]">
<span>
<div class="flex flex-col w-40 font-semibold text-right opacity-100 sm:w-96 md:w-[420px]">
<span class="text-red-100 opacity-100">
<%= activity["title"] %>
</span>
<%= if activity["href"] do %>
Expand All @@ -193,6 +202,11 @@
<%= activity["company"] %>
</span>
<% end %>
<%= if activity["location"] do %>
<span class="text-sm">
<%= activity["location"] %>
</span>
<% end %>
</div>
<span class="text-center w-[60px] md:w-[70px]">
<%= Calendar.strftime(activity["hours"], "%Hh%M") %>
Expand Down
18 changes: 16 additions & 2 deletions lib/parzival_web/live/landing/schedule_live/index.html.heex
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,23 @@
else
"bg-[#BB2A22]"
end} w-36 h-44 rounded-3xl relative -z-50"}>
<span class="text-white">
<p class="absolute left-3 top-4 w-32 text-sm font-light">
<span class="inline-block py-3 px-3 text-white">
<p class="text-sm font-light">
<%= if String.length(activity["title"]) < 50 do
activity["title"]
else
String.slice(activity["title"], 0..48) <> "... "
end %>
</p>
<%= if activity["location"] do %>
<p class="text-md">
<%= if String.length(activity["location"]) < 15 do
activity["location"]
else
String.slice(activity["location"], 0..13) <> "... "
end %>
</p>
<% end %>
<p class="absolute left-3 w-32 font-bold text-md top-[105px]">
<%= Calendar.strftime(activity["hours"], "%Hh%M") %>
</p>
Expand Down Expand Up @@ -141,6 +150,11 @@
<%= activity["company"] %>
</span>
<% end %>
<%= if activity["location"] do %>
<span class="text-sm">
<%= activity["location"] %>
</span>
<% end %>
</div>
<span class="font-normal text-center w-[60px] md:w-[70px]">
<%= Calendar.strftime(activity["hours"], "%Hh%M") %>
Expand Down