<template>
  <div id="app">
    <header>
      <h1>Sebin Nyshkim Character Reference Page</h1>
    </header>

    <h2>Quick info</h2>
    <data-table :dataset="getSebinData.generic"></data-table>

    <h2>Colors</h2>
    <data-table :dataset="getSebinData.colors"></data-table>

    <h2>Penis</h2>
    <data-table :dataset="getSebinData.penis"></data-table>

    <section class="prose">
      <h2>Anatomy</h2>
      <p>
        <img
          class="float left"
          src="/img/fullbody-ref.jpg"
          alt="Full Body Reference"
        />Sebin is a bipedal plantigrade. His body is mostly covered by red
        scales with yellow chest plates running from below his chin over his
        torso all the way down between his legs and underside of his tail. His
        physique is athletic to muscular. His fingers and toes are equipped
        sharp black claws. Brown spikes run along his spine down to the tip of
        his tail. His tail is about one meter in length.
      </p>
      <p>
        His wing span is around 3-4 meters. He has them closed when on the
        ground. His wings function like a second pair of arms, at which ends are
        hand-like limbs with a black talon on top and finger-like extensions, in
        between which are the membranes of his wings. He can use his wings to
        fly short distances. Longer distances become difficult due to fatigue of
        having to carry his own weight with his wings alone.
      </p>
      <img-p imgPos="top" imgSrc="/img/head-ref.jpg"
        >He has round pupils instead of the slit ones typical for reptilians. He
        has short yellow spikes above his eyes that resemble eyebrows, as well
        as spikes along the jawline of his cheeks. He has black horns growing
        out of his head which are mostly straight but slightly curve downwards.
        His hair is blue and he wears it in varying styles. He has long pointy
        ears which he can move to determine the origin of sounds around him. He
        also uses them to express emotion. His teeth are very sharp. In his
        throat are glands that produce a mixture that allows him to breathe
        fire. His tongue has a pointy tip.</img-p
      >
      <p>
        <img
          class="float right"
          src="/img/penis-erect-ref.jpg"
          alt="Penis Reference (Erect)"
        />Despite his majorly reptilian appearance he has nipples, a feature of
        the human side of his family, which also shows with his external
        testicles. Rather than a slit which houses his penis he has a pouch-like
        sheath, with the tip slightly peeking out of it. His penis is mainly
        humanoid in shape but is surrounded by several ridges. He can take it
        out of its pouch while it's still soft (e.g. for passing water). When
        erect his charcoal black shaft protrudes from the pouch, its base girded
        by the sheath like a ring.
      </p>
    </section>

    <section class="prose">
      <h2>Muscle Reference</h2>
      <p>Sebin loves working out! As a result his body is very muscular.</p>
      <gallery :images="muscleRefs"></gallery>
    </section>

    <section class="prose">
      <h2>Personality</h2>
      <p>
        Sebin is an affectionate guy who cares immensely for his loved ones. If
        he notices someone having a hard time he always tries to lift them back
        up again. He will protect them no matter what. Not being able to help a
        friend in need equals to failing them for him and he will feel extremely
        guilty for it.
      </p>
      <p>
        He is honest and direct about his feelings and doesn't mince words,
        which some people might find brash.
      </p>
      <p>
        He likes to laugh and is easily amused, sometimes to the point of being
        utterly childish and immature. He doesn't take himself too serious. His
        vocabulary is often vulgar, he's not afraid to curse, though he still
        knows when it's better to stay rationally diplomatic.
      </p>
      <p>
        He's very enthusiastic about his hobbies and will talk your ears off if
        he notices the slightest common interest. Sometimes his passion for
        certain things might get the better of him though and he gets stubborn,
        hotheaded and even outright rude in disagreements.
      </p>
      <p>He can also be quite impatient at times.</p>
      <p>
        He is also a naughty hornball sometimes. He knows what he's got and he's
        not afraid to show it off playfully. He loves to wear jockstraps and
        bottomless briefs. He is vers, with a preference to top.
      </p>
    </section>

    <section class="prose">
      <h2>Clothing Styles</h2>
      <template v-for="(style, index) in clothingStyles">
        <h3 :key="style.name">{{ style.name }}</h3>
        <ul :key="index">
          <li v-for="(part, index) in style.clothes" :key="index">{{ part }}</li>
        </ul>
      </template>
    </section>
  </div>
</template>

<script>
import DataTable from "./components/DataTable.vue";
import ImgP from "./components/ImageParagraph.vue";
import Gallery from "./components/Gallery.vue";

import Sebin from "./mixins/Sebin.js";
import Helper from "./mixins/Helper.js";

export default {
  name: "app",
  components: {
    DataTable,
    ImgP,
    Gallery
  },
  data() {
    return {
      muscleRefs: this.getMuscleRefPics(17)
    };
  },
  mixins: [Sebin, Helper]
};
</script>

<style lang="scss">
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,700&display=swap');

:root {
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

#app {
  font-size: 1.125em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  max-width: 40rem;
  margin: auto;
}

header {
  text-align: center;
}

.prose {
  text-align: justify;
}

.float {
  max-width: 15em;

  &.left {
    float: left;
    margin: 0 1em 1em 0;
  }

  &.right {
    float: right;
    margin: 0 0 1em 1em;
  }
}
</style>
