Browse Source

pages liminaires

Tibo 5 years ago
parent
commit
46614f8b0e
4 changed files with 47 additions and 6 deletions
  1. 2 2
      param.JSON
  2. 45 4
      src/pages/Index.vue
  3. BIN
      static/logo_popsu.png
  4. BIN
      static/motifs/croix.png

+ 2 - 2
param.JSON

@@ -1,7 +1,7 @@
 {
   "meta": {
-    "title": "",
-    "subtitle": "",
+    "title": "La métropole performative",
+    "subtitle": "Récits et échelles de la fabrique institutionnelle métropolitaine de rouen",
     "authors": [
       "Jean Debrie",
       "Xavier Desjardins"

+ 45 - 4
src/pages/Index.vue

@@ -2,8 +2,7 @@
   <Layout>
 
     <!-- Mise en page -->
-
-
+    <!-- introductions -->
     <div v-for="edge in $page.introductions.edges.slice().reverse()" :key="`introductions${edge.node.id}`">
       <VueMarkdown
       class="chapter-content justify"
@@ -11,7 +10,40 @@
     </VueMarkdown>
     </div>
 
+    <div class="blank-page no-folio fill-motif-cross-left" />
+    <!-- Auteurs, titre, sous-titre -->
+    <div class="column no-folio">
+      <div class="fill-motif-cross-right layer-1">
+
+      </div>
+      <div class="column layer-2">
+        <div
+          class="bold center"
+          v-for="auteur in $static.metadata.authors"
+        >
+          {{auteur}}
+        </div>
+        <div class="v-center grow">
+          <h1
+            class="main-title center highlight-white"
+            v-html="$static.metadata.title"
+          />
+          <h2
+            class="main-pre-title center highlight-white"
+            v-html="$static.metadata.subtitle"
+          />
+        </div>
+        <div class="center">
+          <img src="/logo_popsu.png" alt="" style="width:2cm;">
+        </div>
 
+      </div>
+    </div>
+    <!-- Page de fond -->
+    <div
+      class="column image-cover image-bleed"
+      v-bind:style='{ backgroundImage: `url()`, }'
+    />
     <!-- Sommaire -->
 
     <div class="column no-folio">
@@ -32,10 +64,10 @@
       <h2
       :id="`chapitres${edge.node.id}`"
       class="chapter-title canbreak"
-      >{{edge.node.titre}}</h2>
+      >{{edge.node.Titre}}</h2>
       <VueMarkdown
       class="chapter-content justify"
-      >{{edge.node.contenu}}
+      >{{edge.node.Contenu}}
     </VueMarkdown>
     </div>
 
@@ -82,3 +114,12 @@ export default {
 
   }
 </page-query>
+<static-query>
+query {
+  metadata {
+    title
+    subtitle
+    authors
+  }
+}
+</static-query>

BIN
static/logo_popsu.png


BIN
static/motifs/croix.png