extends partials/page-templates/_layout.pug
include partials/mixins-demo/_nav-text.pug

block append variables
  -var active_nav_item = "text"
  -var sidebar = true
    - var page_title = "Links in text"

mixin link-in-text()
  p(class!=attributes.class) The very 
    a(href="#") quick brown fox jumps over the lazy dog that
    | 
    | is sleeping. 

mixin link-samples(h2 = false)
  -var heading = "Regular weight"
  if h2 == true ? h2 : h3 
    h2= heading
  else 
    h3= heading
  div(class!=attributes.class)
    +link-in-text.text--small
    +link-in-text()
    +link-in-text.text--large
    +link-in-text.text--larger
    +link-in-text.text--largest
  
  -var heading = "Bold weight"
  if h2 == true ? h2 : h3 
    h2= heading
  else 
    h3= heading
  div(class!=attributes.class)
    +link-in-text.text--small.text--strong
    +link-in-text.text--strong
    +link-in-text.text--larger.text--strong
    +link-in-text.text--largest.text--strong
  
  -var heading = "Light weight"
  if h2 == true ? h2 : h3 
    h2= heading
  else 
    h3= heading
  div(class!=attributes.class)
    +link-in-text.text--small.text--light
    +link-in-text.text--light
    +link-in-text.text--larger.text--light
    +link-in-text.text--largest.text--light


block content
  .page__content__block
    h1
      strong Links 
      | to follow
    
    p Links inside body text in the Delphinus Design System adhere to one of the most fundamental conventions of the web, that links are indicated with an underline. 
    p However, instead of using the traditional 
      code text-decoration: underline;
      | 
      | we use a more stylish, colorful and bold underlining, with a nifty little hover animation. Check it out by hovering over the links below - if you are on a mouse-and-keyboard device, that is.
      
    +link-samples(true)
  
  
  .page__content__block
    h2 Default-viewport sizes
    +link-samples.view--default
  
  .page__content__block
    h2 Medium-viewport sizes
    +link-samples.view--medium
  
  .page__content__block
    h2 Wide-viewport sizes
    +link-samples.view--wide
    
block sidebar 

  +text-nav("links")
    
    
    
  
