Update pictures

This commit is contained in:
Alexander Nozik 2022-05-05 21:17:26 +03:00
parent 7cdd5297ac
commit 6a3aefca1d
No known key found for this signature in database
GPG Key ID: F7FCF2DD25C71357
9 changed files with 2 additions and 13 deletions

View File

@ -24,7 +24,6 @@ tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile>{
kotlinOptions{ kotlinOptions{
languageVersion = "1.7" languageVersion = "1.7"
apiVersion = "1.7" apiVersion = "1.7"
freeCompilerArgs = freeCompilerArgs + "-Xcontext-receivers"
} }
} }

View File

@ -45,13 +45,7 @@ class MagProgSection(
val title: String, val title: String,
val style: String, val style: String,
val content: FlowContent.() -> Unit, val content: FlowContent.() -> Unit,
) { )
val meta: Meta
get() = Meta {
"id" put id
"title" put title
}
}
private fun wrapSection( private fun wrapSection(
id: String, id: String,
@ -164,7 +158,7 @@ context(PageContext) private fun FlowContent.team() {
} }
context(PageContext) private fun FlowContent.mentors() { context(PageContext) private fun FlowContent.mentors() {
val mentors = findByType("magprog_mentor").mapValues { Person(it.value) }.entries.sortedBy { it.value.order } val mentors = findByType("magprog_mentor").mapValues { Person(it.value) }.entries.sortedBy { it.value.id }
div("header") { div("header") {
h1("title") { h1("title") {
@ -266,10 +260,6 @@ context(PageContext) internal fun BODY.magProgFooter() {
internal val Person.mentorPageId get() = "mentor-${id}" internal val Person.mentorPageId get() = "mentor-${id}"
internal fun Application.magProgPage(context: Context, rootPath: Path, prefix: String = "/magprog") { internal fun Application.magProgPage(context: Context, rootPath: Path, prefix: String = "/magprog") {
// val io = context.io
// val content = DirectoryDataTree(io, rootPath.resolve("content"))
//
// val magprogPageContext: PageContext = DataSetPageContext(context, prefix, content)
val snark = context.fetch(SnarkPlugin) val snark = context.fetch(SnarkPlugin)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 157 KiB

After

Width:  |  Height:  |  Size: 76 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 168 KiB

After

Width:  |  Height:  |  Size: 84 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 613 KiB

After

Width:  |  Height:  |  Size: 68 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 184 KiB

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 152 KiB

After

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 MiB

After

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 12 KiB