Skip to content

Commit 4c6f9cd

Browse files
Merge pull request #312 from pulsar-edit/new-site-cleanup
Simple new website cleanup
2 parents d022e91 + 2a31526 commit 4c6f9cd

File tree

8 files changed

+17
-223
lines changed

8 files changed

+17
-223
lines changed

.github/workflows/update-version.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
run: npm install
2626

2727
- name: Update Latest Pulsar Version
28-
run: node ./update-latest-version.js ${{ github.event.issue.title }}
28+
run: node ./update-latest-version-script.js ${{ github.event.issue.title }}
2929

3030
- name: Create Pull Request with Changes
3131
uses: peter-evans/create-pull-request@v4

docs/blog/20250630-savetheclocktower-pulsar-next-testing.md

Lines changed: 0 additions & 173 deletions
This file was deleted.

docs/blog/20250807-DeeDeeG-v1.129.0.md

Lines changed: 0 additions & 45 deletions
This file was deleted.

layouts/home.ejs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,12 +99,12 @@
9999
<section class="sponsors">
100100
<div class="sponsors__inner">
101101
<header>
102-
<h2>Thank you to the following organizations for sponsoring our project!</h2>
102+
<h2 class="sponsors__heading">Thank you to the following organizations for sponsoring our project!</h2>
103103
</header>
104104
<div class="sponsors__content">
105105
<div class="sponsors__link">
106-
<a href="https://tutanota.com/" target="_blank">
107-
<img src="/static/tutanota-logo.webp" alt="tutanota.com" class="sponsors__logo">
106+
<a href="https://tuta.com/" target="_blank">
107+
<img src="/static/tuta_logo.svg" style="width: min(400px, 50vw);" alt="tuta.com" class="sponsors__logo">
108108
</a>
109109
</div>
110110
</div>

less/home.less

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@
104104

105105
&__heading {
106106
text-wrap: balance;
107+
margin-bottom: 1.5em;
107108
}
108109

109110
&__inner {

static/tuta_logo.svg

Lines changed: 6 additions & 0 deletions
Loading

static/tutanota-logo.webp

-5.41 KB
Binary file not shown.

update-latest-version-script.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,12 @@
33
const fs = require("fs");
44
const path = require("path");
55

6-
const newVer = process.argv.slice(2)[0]; // takes first argument
6+
let newVer = process.argv.slice(2)[0]; // takes first argument
7+
8+
if (newVer.startsWith("v")) {
9+
newVer = newVer.replace("v", "");
10+
}
11+
712
const verFile = JSON.parse(fs.readFileSync(path.join(__dirname, "./docs/global.json"), { encoding: "utf8" }));
813

914
verFile.latest_version = newVer;

0 commit comments

Comments
 (0)