Skip to content
This repository has been archived by the owner on Feb 4, 2024. It is now read-only.

Commit

Permalink
Prepare English site
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminaaron committed Nov 3, 2023
1 parent 8934690 commit 9292104
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 5 deletions.
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,14 @@
# ckg-site
Website for citizen-knowledge-graph project. Information on idea, goals and team.
Website for the Citizen Knowledge Graph project. Information about the idea, goals and team.

## Setup

```sh
npm install
```

## Run

```sh
npx eleventy --serve # --> localhost:8080
```
12 changes: 10 additions & 2 deletions src/_includes/mylayout.njk
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,18 @@ title: My Rad Blog
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Citizen Knowledge Graph</title>
<link rel="stylesheet" href="static/css/bundle.css">
<link rel="stylesheet" href="/static/css/bundle.css">
<style>
.lang {
text-align: right;
padding: 40px;
}
</style>
</head>
<body>

<div class="lang">
<a href="/">DE</a> / <a href="/en/">EN</a>
</div>
<!-- 1. Fixed Navbar -->
<!-- Deactivate Navbar for now
<div class="navbar">
Expand Down
8 changes: 8 additions & 0 deletions src/en/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
layout: mylayout.njk
---
<div>
<h2 class="title-header">Citizen Knowledge Graph</h2>
<br/>
TODO
</div>
4 changes: 2 additions & 2 deletions src/static/css/bundle.css
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ body, p, a {

/* Central Scrollable Element */
.central-container {
margin-top: 90px; /* Adjust according to navbar's height */
margin-top: 0; /* Adjust according to navbar's height */
padding-left: 25%; /* Left padding */
padding-right: 25%; /* Right padding */
max-width: 70%; /* Or adjust according to your needs */
Expand Down Expand Up @@ -72,4 +72,4 @@ body, p, a {
padding-right: 7%; /* Reduce padding for smaller screens */
max-width: 90%; /* Or adjust according to your needs */
}
}
}

0 comments on commit 9292104

Please sign in to comment.