Skip to content

Commit 3fc18cc

Browse files
committed
some diz fixes
1 parent 64b1f8f commit 3fc18cc

File tree

5 files changed

+38
-24
lines changed

5 files changed

+38
-24
lines changed

eng_2025/01/2025-01-30-01-19-47.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,13 @@ Code Actions
1111

1212
Roo Code now integrates directly with the native VS Code Code Actions system, providing quick fixes and refactoring options right in the editor. Look for a light bulb above the code 💡
1313

14-
Advanced mode capabilities
1514

16-
Markdown Editing: implemented one of the most requested features - "Ask" and "Architect" modes can now create and edit Markdown files!
15+
Advanced mode capabilities:
1716

18-
Custom File Restrictions: in general, custom modes can now be limited to certain file patterns (can only edit Markdown files).
17+
- Markdown Editing: implemented one of the most requested features - "Ask" and "Architect" modes can now create and edit Markdown files!
1918

20-
**Self-switching mode**: modes can intelligently request switching between each other depending on the task. For example, the "Code" mode may request switching to the "Test Engineer" mode when it is ready to write tests.
19+
- Custom File Restrictions: in general, custom modes can now be limited to certain file patterns (can only edit Markdown files).
20+
21+
- **Self-switching mode**: modes can intelligently request switching between each other depending on the task. For example, the "Code" mode may request switching to the "Test Engineer" mode when it is ready to write tests.
22+
23+
#roo

ukr_2025/01/2025-01-30-01-19-47.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,13 @@ Code Actions
1111

1212
Roo Code тепер інтегрується безпосередньо з рідною системою Code Actions VS Code, надаючи швидкі виправлення та опції рефакторингу прямо у редакторі. Шукайте над кодом лампочку 💡
1313

14-
Розширені можливості режимів
14+
Розширені можливості режимів:
1515

16-
Редагування Markdown: реалізовано одне з найбільш запитуваних функцій - режими "Ask" і "Architect " тепер можуть створювати та редагувати файли Markdown!
16+
- Редагування Markdown: реалізовано одне з найбільш запитуваних функцій - режими "Ask" і "Architect " тепер можуть створювати та редагувати файли Markdown!
1717

18-
Обмеження користувацьких файлів: загалом, користувацькі режими тепер можна обмежити певними шаблонами файлів (може редагувати тільки файли Markdown).
18+
- Обмеження користувацьких файлів: загалом, користувацькі режими тепер можна обмежити певними шаблонами файлів (може редагувати тільки файли Markdown).
1919

20-
**Самостійне перемикання режиму**: режими можуть розумно запитувати перемикання між собою залежно від завдання. Наприклад, режим "Code" може запитувати перемикання на режим "Test Engineer ", коли він готовий писати тести.
20+
- **Самостійне перемикання режиму**: режими можуть розумно запитувати перемикання між собою залежно від завдання. Наприклад, режим "Code" може запитувати перемикання на режим "Test Engineer ", коли він готовий писати тести.
21+
22+
23+
#roo

ukr_2025/02/2025-02-14-12-10.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
У середині 2024 року перейменували функцію на **Cursor Tab** (тому що він працює через кнопку Tab 😉) — ставав швидшим і точнішим. А місяць тому [анонсували нову модель](https://www.cursor.com/blog/tab-update), яку назвали **Fusion**, та краще підримує великі файлі.
44

5-
Тепер конкуренти намагаються **наздогнати**.
5+
*Тепер конкуренти намагаються їх наздогнати.*
66

77
**Windsurf** учора [анонсували Wave 3](https://codeium.com/blog/windsurf-wave-3), де, окрім підтримки MCP ([Model Context Protocol](https://modelcontextprotocol.io/introduction), така є в Cline), також покращили свою модель автодоповнення у редакторі, назвавши це Tab-to-jump.
88

www/compile.js

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ function createCommentsSection(post, language) {
235235
}
236236

237237
function createCommentsLink(post, language, path) {
238-
return `<p class="comments-link"><a href="${path}/#comments">${siteConfig.ui[language === 'uk' ? 'uk' : 'en'].comments}</a></p>`;
238+
return `<p class="comments-link"><a href="${path}#comments">${siteConfig.ui[language === 'uk' ? 'uk' : 'en'].comments}</a></p>`;
239239
}
240240

241241
let createPageWithMenu;
@@ -254,19 +254,22 @@ function createPostPage(post, language) {
254254

255255
function createMonthArchivePage(posts, month, year, language, monthsData, currentMonth, allPosts) {
256256
const title = `${getMonthTitle({year: parseInt(year), month: parseInt(month)}, language)}`;
257-
const monthTags = extractTags(posts); // Получаем теги только из постов текущего месяца
257+
const monthTags = extractTags(posts);
258258
const lang = language === 'uk' ? 'uk' : 'en';
259+
const basePath = language === 'uk' ? '/ua/' : '/';
259260

260261
return createPage(title, `
261262
<div class="container" style="grid-template-columns: 1fr">
262263
${createArchiveNavigation(monthsData, currentMonth, language)}
263264
${posts.map(post => {
264265
const postSlug = getPostSlug(post);
266+
const monthKey = currentMonth;
267+
const fullPath = `${basePath}${monthKey}/${postSlug}/`;
265268
return `
266269
<div class="post-wrapper">
267270
<div class="post" data-title="${post.title.date}" data-time="${post.title.time}" data-date="${post.date}">
268271
${post.content}
269-
${createCommentsLink(post, language, postSlug)}
272+
${createCommentsLink(post, language, fullPath)}
270273
</div>
271274
</div>
272275
`;
@@ -871,14 +874,15 @@ async function compile() {
871874
const engGrouped = groupPostsByYearAndMonth(engPosts);
872875
const ukrGrouped = groupPostsByYearAndMonth(ukrPosts);
873876

874-
// Предварительно генерируем меню для обоих языков
875-
const engMenu = generateMenu('index', engPosts);
876-
const ukrMenu = generateMenu('ukr', ukrPosts);
877+
// Предварительно генерируем меню для всех страниц
878+
const menus = {};
879+
menuItems.forEach(item => {
880+
menus[item.id] = generateMenu(item.id, item.showArchive ? (item.id === 'ukr' ? ukrPosts : engPosts) : []);
881+
});
877882

878883
// Создаем функцию для создания страницы с правильным меню
879884
createPageWithMenu = (title, content, activeMenu, posts = [], currentMonth = '') => {
880-
const menu = activeMenu === 'ukr' ? ukrMenu : engMenu;
881-
return createPage(title, content, activeMenu, posts, currentMonth, menu);
885+
return createPage(title, content, activeMenu, posts, currentMonth, menus[activeMenu] || menus['index']);
882886
};
883887

884888
// Создаем архивные страницы для английской версии

www/template/styles.css

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ body {
132132
}
133133
.post {
134134
background: rgba(255, 255, 255, 0.98);
135-
padding: 20px 40px 60px 70px;
135+
padding: 20px 40px 80px 70px;
136136
border-radius: 0 0.75rem 0.75rem 0.75rem;
137137
overflow-wrap: break-word;
138138
word-wrap: break-word;
@@ -242,7 +242,7 @@ body {
242242
width: 190px;
243243
height: 100vh;
244244
z-index: 999000;
245-
background: #333333;
245+
background: #15191a;
246246
padding: 20px 0;
247247
display: flex;
248248
flex-direction: column;
@@ -255,6 +255,9 @@ body {
255255
font-size: 1.2em;
256256
margin: 10px 0;
257257
color: #EEE65F;
258+
text-shadow: 0 0 10px rgba(238, 230, 95, 0.7),
259+
0 0 20px rgba(238, 230, 95, 0.5),
260+
0 0 30px rgba(238, 230, 95, 0.3);
258261
white-space: nowrap;
259262
padding: 0 10px;
260263
}
@@ -275,7 +278,7 @@ body {
275278
}
276279
.nav a:not(.site-title a):hover {
277280
background-color: rgba(255, 255, 255, 0.1);
278-
color: white;
281+
color: #EEE65F;
279282
}
280283
.nav a.active {
281284
background-color: rgba(255, 167, 90, 0.2);
@@ -381,13 +384,12 @@ body {
381384
}
382385

383386
.post {
384-
padding: 15px 25px 15px 45px;
387+
padding: 15px 25px 45px 45px;
385388
}
386389

387390
.post::before {
388391
font-size: 0.7em;
389392
padding: 10px 3px;
390-
height: 100px;
391393
}
392394

393395
.nav .site-title {
@@ -405,13 +407,12 @@ body {
405407
}
406408

407409
.post {
408-
padding: 12px 20px 12px 35px;
410+
padding: 12px 20px 40px 35px;
409411
}
410412

411413
.post::before {
412414
font-size: 0.6em;
413415
padding: 8px 2px;
414-
height: 80px;
415416
}
416417

417418
.github-stars {
@@ -715,6 +716,8 @@ body {
715716
padding-top: 6px;
716717
text-align: center;
717718
border-bottom: 1px solid rgba(111, 111, 111, 0.3);
719+
margin-bottom: 0.5em;
720+
padding-bottom: 0.5em;
718721
}
719722

720723
.scroll-tags .up-button:hover {
@@ -750,6 +753,7 @@ body {
750753
font-size: 0.9em;
751754
text-decoration: none;
752755
transition: all 0.2s ease;
756+
margin-top: 40px;
753757
}
754758

755759
.post-tag:hover {

0 commit comments

Comments
 (0)