documents page clean
This commit is contained in:
1 parent
5708f778c7
commit
d732777748
1 file changed
-16
@@ -8,24 +8,8 @@ import { buildMenu } from '../src/lib/menu'
|
||||
import { meta } from '../src/lib/meta'
|
||||
|
||||
import DocumentList from '../src/components/DocumentList'
|
||||
import ImageArtifactType from '../src/core/ImageArtifactType'
|
||||
import { prioritySort } from '../src/lib/sort'
|
||||
import { splitBy } from '../src/lib/array'
|
||||
import { unique } from '../src/utils/common'
|
||||
|
||||
function getDocumentsMeta() {
|
||||
return {
|
||||
description: 'Документы Шлиссельбургской ДХШ',
|
||||
}
|
||||
}
|
||||
|
||||
function getMeta(teacher) {
|
||||
return {
|
||||
title: teacher.name,
|
||||
description: teacher.name,
|
||||
}
|
||||
}
|
||||
|
||||
function getSorted(documents) {
|
||||
const compose = (...fns) => value => fns
|
||||
.map(fn => fn)
|
||||
|
||||
Reference in new issue
Block a user