From c8ea989882e27b831c76e4bbcc47e6caada1e415 Mon Sep 17 00:00:00 2001
From: Felix	Boerner <ich@felix-boerner.de>
Date: Mon, 11 Nov 2024 13:26:11 +0000
Subject: [PATCH] feat: use webflow html

---
 layouts/_default/baseof.html |   22 ++++++----
 layouts/partials/bio.html    |    2 
 layouts/partials/credit.html |    8 ++--
 layouts/partials/links.html  |   10 ++--
 layouts/partials/intro.html  |    6 +-
 layouts/partials/head.html   |    2 
 assets/scss/_content.scss    |   18 +++-----
 7 files changed, 34 insertions(+), 34 deletions(-)

diff --git a/assets/scss/_content.scss b/assets/scss/_content.scss
index bcd28b8..c8b2710 100644
--- a/assets/scss/_content.scss
+++ b/assets/scss/_content.scss
@@ -60,7 +60,7 @@
   line-height: 100%;
 }
 
-.bio {
+.bio p {
   margin-bottom: 40px;
   font-family: Lora, sans-serif;
   color: #848d96;
@@ -68,6 +68,11 @@
   line-height: 140%;
 }
 
+.bio a {
+  border-bottom: 1px solid #848d96;
+  text-decoration: none;
+}
+
 .text-block-2 {
   margin-bottom: 20px;
   color: #485462;
@@ -135,11 +140,6 @@
   flex: 0 auto;
 }
 
-.bio-links {
-  border-bottom: 1px solid #848d96;
-  text-decoration: none;
-}
-
 .credit-links {
   color: #485462;
 }
@@ -197,10 +197,6 @@
     margin-bottom: 20px;
   }
 
-  .column-2 {
-    margin-bottom: 20px;
-  }
-
   .image {
     position: static;
     height: 420px;
@@ -226,7 +222,7 @@
     line-height: 42px;
   }
 
-  .bio {
+  .bio p {
     font-size: 16px;
   }
 
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index b1023e9..11fb01c 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -5,16 +5,17 @@
   {{ partial "head" . }}
 </head>
 
-<body id="fullsingle" class="page-template-page-fullsingle-split">
+<body class="body">
 
-  <div class="fs-split">
+  <div class="columns w-row">
+
+    <!-- Media Side -->
+    <div class="leftcontent w-col w-col-6 w-col-stack">
 
     <!-- Image -->
     {{ if .Params.visual.image.enable | default .Site.Params.visual.image.enable }}
 
-      <div class="split-image">
-
-      </div>
+      <div class="image"></div>
 
     <!-- Video -->
     {{ else if .Params.visual.video.enable | default .Site.Params.visual.video.enable }}
@@ -22,10 +23,12 @@
       {{ partial "video" . }}
 
     {{ end }}
+    </div>
 
     <!-- Content Side -->
-    <div class="split-content">
-      <div class="split-content-vertically-center">
+    <div class="rightcontent w-col w-col-6 w-col-stack">
+
+      <div class="content">
         <!-- Intro -->
         {{ partial "intro" . }}
 
@@ -35,9 +38,10 @@
           {{ partial "bio" . }}
         {{ end }}
 
-        <!-- Footer -->
-        {{ partial "footer" . }}
+        <!-- Credit -->
+        {{ partial "credit" . }}
       </div>
+
     </div>
 
   </div>
diff --git a/layouts/partials/bio.html b/layouts/partials/bio.html
index 4ec2df3..5d9b314 100644
--- a/layouts/partials/bio.html
+++ b/layouts/partials/bio.html
@@ -1,3 +1,3 @@
-<div class="split-bio">
+<div class="bio">
   {{ .Content }}
 </div>
diff --git a/layouts/partials/footer.html b/layouts/partials/credit.html
similarity index 61%
rename from layouts/partials/footer.html
rename to layouts/partials/credit.html
index 397f041..092b9a1 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/credit.html
@@ -1,8 +1,8 @@
-<div class="split-credit">
-  <p>{{ .Site.Copyright | safeHTML }}
+<div class="credit">
+  {{ .Site.Copyright | safeHTML }}
   {{ if not .Site.Params.licensed }}
-  &ndash; <a href="https://onepagelove.com/split" title="Split Template">Split Template</a> by <a href="https://onepagelove.com" title="One Page Love">One Page Love</a>
-  {{- end }}</p>
+  &ndash; <a href="https://onepagelove.com/split" target="_blank" class="credit-links">Split Template</a> by <a href="https://onepagelove.com" target="_blank" class="credit-links">One Page Love</a>
+  {{- end }}
 
   {{ if not .Site.Params.licensed }}
   {{ "<!--" | safeHTML }}
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 8687160..2a90d9d 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -1,4 +1,4 @@
-<meta charset="UTF-8" />
+<meta charset="utf-8" />
 <meta name="viewport" content="width=device-width,initial-scale=1" />
 
 <!-- SEO -->
diff --git a/layouts/partials/intro.html b/layouts/partials/intro.html
index bcaa068..4cd3c2d 100644
--- a/layouts/partials/intro.html
+++ b/layouts/partials/intro.html
@@ -1,4 +1,4 @@
-<div class="split-intro">
-  {{ with .Title }}<h1>{{ . }}</h1>{{ end }}
-  {{ with .Params.tagline }}<h2 class="tagline">{{ . }}</h2>{{ end }}
+<div class="intro">
+  {{ with .Title }}<h1 class="name">{{ . }}</h1>{{ end }}
+  {{ with .Params.tagline }}<h2 class="tagline"><strong class="bold-text">{{ . }}</strong></h2>{{ end }}
 </div>
diff --git a/layouts/partials/links.html b/layouts/partials/links.html
index 3313bc9..fc662c3 100644
--- a/layouts/partials/links.html
+++ b/layouts/partials/links.html
@@ -1,14 +1,14 @@
-<div class="split-lists">
+<div class="links w-row">
 
   {{ range $key, $value := .Site.Params.links }}
     {{ range $key, $list := $value }}
 
     {{ if $list.link }}
-      <div class="split-list">
-        <h3>{{ $list.heading }}</h3>
-        <ul>
+      <div class="column w-col w-col-4">
+        <h3 class="text-block-2">{{ $list.heading }}</h3>
+        <ul class="list w-list-unstyled">
           {{ range $list.link }}
-            <li><a href="{{ .url | safeURL }}" title="{{ .text }}" target="{{ cond (.new_tab | default false) "_blank" "_self" }}">{{ .text }}</a></li>
+            <li><a href="{{ .url | safeURL }}" target="{{ cond (.new_tab | default false) "_blank" "_self" }}">{{ .text }}</a></li>
           {{ end }}
         </ul>
       </div>

--
Gitblit v1.10.0