From 7c0560415819d5f9f243e93864b5f5aa763425c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=BCdiger=20Diedrich?= Date: Mon, 10 Jun 2024 22:09:30 +0200 Subject: [PATCH] resume changes --- assets/css/app.css | 30 +--- .../components/layouts/resume.html.heex | 27 ++++ .../components/layouts/root.html.heex | 8 + .../controllers/page_controller.ex | 5 +- lib/homepage_web/controllers/page_html.ex | 56 ++++++- .../controllers/page_html/resume.html.heex | 147 ++++++++++++++++++ lib/homepage_web/router.ex | 1 + 7 files changed, 246 insertions(+), 28 deletions(-) create mode 100644 lib/homepage_web/components/layouts/resume.html.heex create mode 100644 lib/homepage_web/controllers/page_html/resume.html.heex diff --git a/assets/css/app.css b/assets/css/app.css index 7e6064a..28b7c9f 100644 --- a/assets/css/app.css +++ b/assets/css/app.css @@ -2,24 +2,6 @@ @import "tailwindcss/components"; @import "tailwindcss/utilities"; -@font-face { - font-family: 'Inter var'; - font-style: normal; - font-weight: 100 900; - font-display: swap; - src: url('/fonts/Inter-roman.var.woff2?v=3.19') format('woff2'); - font-named-instance: 'Regular'; -} - -@font-face { - font-family: 'Inter var'; - font-style: italic; - font-weight: 100 900; - font-display: swap; - src: url('/fonts/Inter-italic.var.woff2?v=3.19') format('woff2'); - font-named-instance: 'Italic'; -} - html { @apply bg-white; } body { @@ -27,13 +9,17 @@ body { @apply grid grid-rows-[min-content_1fr_min-content]; } +header .navbar { @apply absolute w-full pr-10 flex justify-end; } + section p { @apply mb-4; } strong { @apply font-semibold; } -.dropdown .btn { @apply normal-case text-base; } -header { @apply flex justify-end; } +em { @apply font-semibold not-italic; } -header h1 { @apply font-normal text-lg m-2; } +ul { @apply pl-4; } +li { list-style-type: '- '; } + +.dropdown .btn { @apply normal-case text-base; } section h2 { @apply font-bold text-4xl; @@ -43,4 +29,4 @@ section h2 { .projects h3 { @apply font-semibold text-lg; } .project { @apply mb-4; } -.icon-link { @apply flex items-start gap-1; } \ No newline at end of file +.icon-link { @apply flex items-start gap-1; } diff --git a/lib/homepage_web/components/layouts/resume.html.heex b/lib/homepage_web/components/layouts/resume.html.heex new file mode 100644 index 0000000..7076eb9 --- /dev/null +++ b/lib/homepage_web/components/layouts/resume.html.heex @@ -0,0 +1,27 @@ +
+ <.flash_group flash={@flash} /> +
+
+

Rüdiger Diedrich

+

+ „Inspirieren und sich inspirieren lassen.
+ Gemeinsam neue Horizonte entdecken und Wege in die Zukunft bahnen.“ +

+
+ +
+ + <%= @inner_content %> + +
+
diff --git a/lib/homepage_web/components/layouts/root.html.heex b/lib/homepage_web/components/layouts/root.html.heex index b13557d..ef604da 100644 --- a/lib/homepage_web/components/layouts/root.html.heex +++ b/lib/homepage_web/components/layouts/root.html.heex @@ -26,6 +26,14 @@ href={static_path(@conn, ~p"/favicon-16x16.png")} /> + + +