Update icons and page names

This commit is contained in:
Alexander Nozik 2022-10-04 12:55:05 +03:00
parent 38b6147794
commit ade8f61aa0
No known key found for this signature in database
GPG Key ID: F7FCF2DD25C71357
16 changed files with 33 additions and 16 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 97 KiB

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 810 B

After

Width:  |  Height:  |  Size: 226 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

After

Width:  |  Height:  |  Size: 396 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

View File

@ -1 +1 @@
{"name":"","short_name":"","icons":[{"src":"/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#ffffff","background_color":"#ffffff","display":"standalone"}
{"name":"Scientific Programming Centre","short_name":"SPC","icons":[{"src":"/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#ffffff","background_color":"#ffffff","display":"standalone"}

View File

@ -1,6 +1,7 @@
---
type: page
title: Consulting
pageName: SPC.consulting
transformation: snark.basic
language: en
---

View File

@ -1,6 +1,7 @@
---
type: page
title: Research
pageName: SPC.research
language: en
---

View File

@ -1,6 +1,7 @@
---
type: page
title: Education
pageName: SPC.education
transformation: snark.basic
language: en
---
@ -21,25 +22,32 @@ language: en
## Courses in 2022-2023:
* Scientific literature seminar
### Scientific literature seminar
curated by Aleksandr Svetlichnyi
* [Statistical methods and data analysis](https://t.me/mipt_statmethods) ([SPC-A-6](https://npm.mipt.ru/youtrack/articles/SPC-A-6))
### [Statistical methods and data analysis](https://t.me/mipt_statmethods)
Program: [SPC-A-6](https://npm.mipt.ru/youtrack/articles/SPC-A-6)
by Alexander Nozik and Vladimir Palmin
* Численные методы ([SPC-A-3](https://npm.mipt.ru/youtrack/articles/SPC-A-3))
### Численные методы
Program: [SPC-A-3](https://npm.mipt.ru/youtrack/articles/SPC-A-3)
by Konstantin Tikhonov and Rolan Grinis
* Instruments of development ([SPC-A-5](https://npm.mipt.ru/youtrack/articles/SPC-A-5))
### Instruments of development
Program: [SPC-A-5](https://npm.mipt.ru/youtrack/articles/SPC-A-5)
* [Advanced Python](https://t.me/mipt_npm_python) ([SPC-A-4](https://npm.mipt.ru/youtrack/articles/SPC-A-4))
curated by Alexander Nozik
### [Advanced Python](https://t.me/mipt_npm_python)
Program: [SPC-A-4](https://npm.mipt.ru/youtrack/articles/SPC-A-4)
by Mikhail Zelenyy
* Computational finance ([SPC-A-10](https://npm.mipt.ru/youtrack/articles/SPC-A-10))
### Computational finance
Program: [SPC-A-10](https://npm.mipt.ru/youtrack/articles/SPC-A-10)
by Rolan Grinis

View File

@ -1,6 +1,7 @@
---
type: page
title: Research
pageName: SPC.research
language: en
---

View File

@ -1,6 +1,7 @@
---
type: page
title: Консалтинг
pageName: ЦНП.консалтинг
language: ru
published: false
---

View File

@ -1,5 +1,6 @@
---
type: page
title: Team
pageName: SPC.team
language: en
---

View File

@ -97,8 +97,9 @@ internal fun SiteBuilder.spcSpotlight(
val meta = body.meta
page(name) {
val title = meta["title"].string ?: SPC_TITLE
spcHead(title)
val title by meta.string { SPC_TITLE }
val pageName by meta.string { title }
spcHead(pageName)
body("is-preload") {
wrapper {
spcSpotlightContent(body, content)

View File

@ -16,10 +16,11 @@ import kotlin.reflect.typeOf
context(WebPage) internal fun HTML.spcPageContent(
meta: Meta,
title: String = meta["title"].string ?: SPC_TITLE,
fragment: FlowContent.() -> Unit,
) {
spcHead(title)
val title by meta.string { SPC_TITLE }
val pageName by meta.string { title }
spcHead(pageName)
body("is-preload") {
wrapper {
div("alt") {
@ -73,7 +74,9 @@ context(WebPage) private fun HTML.spcHome() {
id = "banner"
div("inner") {
header("major") {
h1 { +"""Scientific Programming Centre""" }
h1 {
+"""Scientific Programming Centre"""
}
}
div("content") {
p {
@ -103,8 +106,8 @@ context(WebPage) private fun HTML.spcHome() {
img {
src = "images/FPMI.jpg"
alt = "FPMI"
height = "60"
width = "60"
height = "60dp"
width = "60dp"
}
}
}

View File

@ -60,8 +60,8 @@ context(WebPage) internal fun FlowContent.spcHomeMenu() {
}
li {
a {
href = resolvePageRef("magprog.index")
+"""Master"""
href = resolvePageRef("education.index")
+"""Education"""
}
}
li {