diff --git a/assets/css/app.scss b/assets/css/app.scss index e09ba63..aaa063b 100644 --- a/assets/css/app.scss +++ b/assets/css/app.scss @@ -14,6 +14,12 @@ body{ #root{ } +.red{ + background-color: red; + color:white; + +} + header[role="banner"]{ div.wrapper{ display: grid; @@ -116,7 +122,7 @@ section[role="main-content"]{ } } - #corpus, .index{ + #list-corpus, .index{ >header>h1{ font-family: "noto_sans"; color: $rouge; @@ -140,6 +146,20 @@ section[role="main-content"]{ .index{ } + #texts{ + .text-title{ + font-size: 1.323em; + color: $bleuroi; + font-weight: 400; + margin:0; + } + span.placeName, + span.objectName, + span.persName{ + font-weight: 600; + } + } + #text{ .content{ color: $bleuroi; diff --git a/src/components/Content/CorpusItem.vue b/src/components/Content/CorpusItem.vue index 70f7ba0..21c4916 100644 --- a/src/components/Content/CorpusItem.vue +++ b/src/components/Content/CorpusItem.vue @@ -10,7 +10,13 @@ /> -
+
+

{{ item.author }}

+

{{ item.date }}

+

{{ item.editionsQuantity }}

+

{{ item.textsQuantity }}

+
+
@@ -29,12 +35,10 @@ export default { methods: { onclick () { console.log('clicked on corpus item', this.item) - // this.$router.push({ - // name:`article`, - // params: { alias:this.alias }, - // query: { uuid: this.item.uuid } - // // meta: { uuid:this.item.uuid }, - // }) + this.$router.push({ + name: `corpus`, + params: { id: this.item.uuid } + }) } } } diff --git a/src/components/Content/LocorumItem.vue b/src/components/Content/LocorumItem.vue index db31831..a46bc1b 100644 --- a/src/components/Content/LocorumItem.vue +++ b/src/components/Content/LocorumItem.vue @@ -9,6 +9,7 @@ v-html="item.title" /> +

{{ item.type }}

@@ -28,10 +29,11 @@ export default { methods: { onclick () { console.log('clicked on locorum item', this.item) - // this.$router.push({ - // name: `locorumItem`, - // query: { id: this.item.uuid } - // }) + this.$router.push({ + name: `locorum`, + params: { id: this.item.uuid } + // query: { id: this.item.uuid } + }) } } } diff --git a/src/components/Content/NominumItem.vue b/src/components/Content/NominumItem.vue index 1f2e226..17f3c98 100644 --- a/src/components/Content/NominumItem.vue +++ b/src/components/Content/NominumItem.vue @@ -32,8 +32,8 @@ export default { onclick () { console.log('clicked on nominum item', this.item) this.$router.push({ - name: `nominumItem`, - query: { id: this.item.uuid } + name: `nominum`, + params: { id: this.item.uuid } }) } } diff --git a/src/components/Content/OperumItem.vue b/src/components/Content/OperumItem.vue index 7197dc8..f3b5ef8 100644 --- a/src/components/Content/OperumItem.vue +++ b/src/components/Content/OperumItem.vue @@ -2,12 +2,18 @@

+ + > + {{ item.title }} + + + {{ item.title }} +

@@ -28,10 +34,14 @@ export default { methods: { onclick () { console.log('clicked on Operum item', this.item) - this.$router.push({ - name: `operuumItem`, - query: { id: this.item.uuid } - }) + if (this.item.uuid) { + this.$router.push({ + name: `operum`, + params: { id: this.item.uuid } + }) + } else { + console.warn('no uuid', this.item) + } } } } diff --git a/src/pages/Corpus.vue b/src/pages/Corpus.vue index c9d0044..c1b169d 100644 --- a/src/pages/Corpus.vue +++ b/src/pages/Corpus.vue @@ -1,52 +1,80 @@