{% extends 'base.html' %}
{% load static from staticfiles %}

{% block extra_head %}
<link rel="stylesheet" href="{% static 'css/leaflet.css' %}" />
{% endblock %}

{% block content %}

  <div class="row">
    <div class="col-md-12">
      <h2>
        Where is BornHack going to take place?
      </h2>
      <div id="map" class="map"></div>
      <p>
      <strong>Coordinates</strong>: 55.011520, 14.975360<br />
      <strong>Address</strong>: Baunevej 11, 3720 Aakirkeby
      </p>
    </div>
  </div>
  <div class="row">
    <div class="col-md-12">
      <h2>How do I get to Bornholm?</h2>
      <h3>From/Via Copenhagen</h3>
      <p>
        There are several ways to get to Bornholm from Copenhagen.
        A domestic plane departs from Copenhagen Airport, and you
        can get from Copenhagen Central station by either bus or
        train via Ystad or the Køge-Rønne ferry connection.
      </p>
      <dl>
        <dt>Plane (expensive)</dt>
        <dd>
          You can check plane departures and book tickets at
          <a href="https://www.dat.dk/en/">dat.dk</a>. There are
          multiple departures daily. The flight takes approximately
          35 minutes.
        </dd>
        <dt>Via Ystad (easy)</dt>
        <dd>
          You can drive over Øresundsbroen to Ystad or you can
          take the train/bus from Copenhagen Central Station. You
          can buy train and ferry ticket at
          <a href="http://www.dsb.dk/en/#open">dsb.dk</a> (Type
          in "København H" and "Rønne Havn"). More information
          about the <a href="http://www.faergen.com/services/fares/bornholmerfaergen/ystad-roenne.aspx">
          crossing</a>.
          The crossing takes 1 hour 20 minutes. In total about
          3 hours 15 minutes.
        </dd>
        <dt>Via Køge (cheap)</dt>
        <dd>
          Take the S-train to Køge Station (you need an "all zones"
          ticket) or travel by car. The ferry terminal is within
          walking distance from the station. You can check out
          prices
          <a href="http://www.faergen.com/services/fares/bornholmerfaergen/koege-roenne.aspx">here</a>.
          It takes approximately 1 hour to get to Køge. The crossing
          takes 5 hours 30 minutes.
        </dd>
        <dt>Sassnitz (Germany)</dt>
        <dd>
          There is a direct ferry taking cars going from <a href="http://www.faergen.com/services/fares/bornholmerfaergen/sassnitz-roenne.aspx">Sassnitz</a>.
        </dd>
        <dt>Kolobrzeg (Poland)</dt>
        <dd>
          There is a passenger ferry from Kolobrzeg to Nexø havn.
        </dd>
      </dl>
      <p>
        The venue is 24km from Rønne Havn. It is possible to take
        a bus with a route nearby the venue. Local taxis can also
        get you here.
      </p>
    </div>
  </div>
  <div class="row">
    <div class="col-md-12">
      <h2>What kind of power supply can I expect?</h2>
        We are working on sorting out the details. Current is 220V.
    </div>
  </div>

  <div class="row">
    <div class="col-md-12">
      <h2>How much bandwidth is there going to be?</h2>
        We will have at least a 1
        gigabit fiber connection. Should be enough for everyone. ;)
    </div>
  </div>

  <div class="row">
    <div class="col-md-12">
      <h2>Where do I buy food?</h2>
        <p>
          It will not be possible to buy food at the venue.
          We are expecting to light up a large grill every evening.
        </p>
        <p>
          The closest place to buy groceries is approximately
          3.5 km away at Pedersker.
        </p>
        <p>
          About 7 km from the venue there is a larger selection
          at Aakirkeby.
        </p>
    </div>
  </div>

  <script src="{% static 'js/leaflet.js' %}"></script>
  <script>
    var map = L.map('map', {center: [55.131520, 14.903000], zoom: 10});

    L.tileLayer(
        'http://{s}.tile.osm.org/{z}/{x}/{y}.png',
        {
            attribution: '&copy; <a href="http://osm.org/copyright">OpenStreetMap</a> contributors',
        }
    ).addTo(map);

    var camp_latlong = [55.011520, 14.975360];
    L.marker(camp_latlong).addTo(map);
  </script>
{% endblock %}