Skip to content

Commit

Permalink
using custom layouts for tos and pp
Browse files Browse the repository at this point in the history
  • Loading branch information
jbicker committed Jun 24, 2024
1 parent a472391 commit f88c8a4
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 7 deletions.
10 changes: 5 additions & 5 deletions hugo/content/_index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
title: "Open Collaboration Tools"
type: oct
---
<section class="hero-section bg-indigo-dark" style="border-bottom: solid 20px #A50132;">
<div class="hero-content">
<div class="hero-text fg-white">
<section class="bg-indigo-dark hero-section">
<div class="content">
<div class="hero-text fg-indigo-light">
<div class="hero-text-content">
<h1 class="urbanist-bold">Collaborative Editing for your IDE or custom Editor</h1>
<p class="urbanist-regular">Open Collaboration Tools is an set of open-source tools, libraries and extensions to allow real-time collaborative editing across devices and tools</p>
Expand All @@ -16,8 +16,8 @@ <h1 class="urbanist-bold">Collaborative Editing for your IDE or custom Editor</h
</div>
</div>
</section>
<section class="feature-section">
<div class="feature-content" style="justify-content: space-between;">
<section>
<div class="content" style="justify-content: space-between;">
<div class="feature-text">
<!--TODO more detail and more content-->
<h1 class="urbanist-bold">Features</h1>
Expand Down
1 change: 1 addition & 0 deletions hugo/content/privacy.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: "Privacy Policy"
layout: "privacy"
type: oct
---

Expand Down
1 change: 1 addition & 0 deletions hugo/content/tos.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: "Open Collaboration Tools Website Terms of Use"
layout: "privacy"
type: oct
---

Expand Down
7 changes: 7 additions & 0 deletions hugo/layouts/oct/privacy.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{{ define "main"}}
<section>
<div class="content" style="flex-direction: column;">
{{ .Content }}
</div>
</section>
{{ end }}
8 changes: 6 additions & 2 deletions hugo/static/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,18 @@ main {
flex-basis: auto;
}

.hero-section, .feature-section {
section {
display: flex;
justify-content: center;
align-items: center;
width: 100%;
}

.hero-content, .feature-content {
.hero-section {
border-bottom: solid 20px #A50132;
}

.content {
display: flex;
align-items: center;
justify-content: center;
Expand Down

0 comments on commit f88c8a4

Please sign in to comment.