<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* Layouts/base.html.twig */
class __TwigTemplate_2a0f5ea3a30b9d2489584af36053cfccb10978d25365f2513d814b712cbee52c extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'stylesheets' => [$this, 'block_stylesheets'],
'javascripts' => [$this, 'block_javascripts'],
'header' => [$this, 'block_header'],
'body' => [$this, 'block_body'],
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Layouts/base.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Layouts/base.html.twig"));
// line 1
echo "<!DOCTYPE html>
<html lang=\"en\">
<head>
<meta charset=\"UTF-8\"/>
<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\"/>
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"/>
";
// line 7
$this->loadTemplate("Layouts/_favico.html.twig", "Layouts/base.html.twig", 7)->display($context);
// line 8
echo " ";
// line 9
echo " <link rel=\"preload\" href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/fonts/Zilla_Slab-normal-400.woff"), "html", null, true);
echo "\" as=\"font\" crossorigin=\"\">
<link rel=\"preload\" href=\"";
// line 10
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/fonts/Zilla_Slab-normal-600.woff"), "html", null, true);
echo "\" as=\"font\" crossorigin=\"\">
<link rel=\"preload\" href=\"";
// line 11
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/fonts/Open_Sans-normal-400.woff"), "html", null, true);
echo "\" as=\"font\" crossorigin=\"\">
<link rel=\"preload\" href=\"";
// line 12
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/fonts/Open_Sans-normal-500.woff"), "html", null, true);
echo "\" as=\"font\" crossorigin=\"\">
<link rel=\"preload\" href=\"";
// line 13
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/fonts/Open_Sans-normal-600.woff"), "html", null, true);
echo "\" as=\"font\" crossorigin=\"\">
<link rel=\"preload\" href=\"";
// line 14
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/fonts/Open_Sans-normal-700.woff"), "html", null, true);
echo "\" as=\"font\" crossorigin=\"\">
<title>
";
// line 16
if ( $this->hasBlock("title", $context, $blocks)) {
// line 17
echo " ";
$this->displayBlock("title", $context, $blocks);
echo " - DataWiz
";
} else {
// line 19
echo " DataWiz - Research data management made easy!
";
}
// line 21
echo " </title>
";
// line 22
$this->displayBlock('stylesheets', $context, $blocks);
// line 25
echo " ";
$this->displayBlock('javascripts', $context, $blocks);
// line 28
echo "</head>
<body>
";
// line 30
$this->displayBlock('header', $context, $blocks);
// line 44
$this->displayBlock('body', $context, $blocks);
// line 45
echo twig_include($this->env, $context, "Components/_footer.html.twig");
echo "
</body>
</html>
";
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 22
public function block_stylesheets($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
// line 23
echo " ";
echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("app");
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 25
public function block_javascripts($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
// line 26
echo " ";
echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("app");
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 30
public function block_header($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header"));
// line 31
echo " <div class=\"bg-gradient-to-r from-[#240d46] to-zpid-purple-700\">
<header class=\"flex w-full max-w-screen-xl mx-auto border-b bg-mono-50 h-14 border-mono-300\">
<a class=\"flex flex-row items-center pl-8 pr-6 font-serif text-3xl text-white bg-zpid-blue\" href=\"/\">
<span class=\"font-semibold\">Data</span>Wiz<span
class=\"self-start px-1.5 mt-1 font-sans text-xs italic font-medium bg-white border rounded-md text-zpid-blue-800\">beta</span>
</a>
<div class=\"flex w-full pl-6 pr-8\">
";
// line 38
echo twig_include($this->env, $context, "Components/_navigationHeader.html.twig");
echo "
";
// line 39
echo twig_include($this->env, $context, "Components/_userProfileReference.html.twig");
echo "
</div>
</header>
</div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 44
public function block_body($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "Layouts/base.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 211 => 44, 196 => 39, 192 => 38, 183 => 31, 173 => 30, 160 => 26, 150 => 25, 137 => 23, 127 => 22, 113 => 45, 111 => 44, 109 => 30, 105 => 28, 102 => 25, 100 => 22, 97 => 21, 93 => 19, 87 => 17, 85 => 16, 80 => 14, 76 => 13, 72 => 12, 68 => 11, 64 => 10, 59 => 9, 57 => 8, 55 => 7, 47 => 1,);
}
public function getSourceContext()
{
return new Source("<!DOCTYPE html>
<html lang=\"en\">
<head>
<meta charset=\"UTF-8\"/>
<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\"/>
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"/>
{% include \"Layouts/_favico.html.twig\" %}
{# TODO: create svg logo, so zilla-slab font can be removed #}
<link rel=\"preload\" href=\"{{ asset('build/fonts/Zilla_Slab-normal-400.woff') }}\" as=\"font\" crossorigin=\"\">
<link rel=\"preload\" href=\"{{ asset('build/fonts/Zilla_Slab-normal-600.woff') }}\" as=\"font\" crossorigin=\"\">
<link rel=\"preload\" href=\"{{ asset('build/fonts/Open_Sans-normal-400.woff') }}\" as=\"font\" crossorigin=\"\">
<link rel=\"preload\" href=\"{{ asset('build/fonts/Open_Sans-normal-500.woff') }}\" as=\"font\" crossorigin=\"\">
<link rel=\"preload\" href=\"{{ asset('build/fonts/Open_Sans-normal-600.woff') }}\" as=\"font\" crossorigin=\"\">
<link rel=\"preload\" href=\"{{ asset('build/fonts/Open_Sans-normal-700.woff') }}\" as=\"font\" crossorigin=\"\">
<title>
{% if block(\"title\") is defined %}
{{ block(\"title\") }} - DataWiz
{% else %}
DataWiz - Research data management made easy!
{% endif %}
</title>
{% block stylesheets %}
{{ encore_entry_link_tags(\"app\") }}
{% endblock %}
{% block javascripts %}
{{ encore_entry_script_tags(\"app\") }}
{% endblock %}
</head>
<body>
{% block header %}
<div class=\"bg-gradient-to-r from-[#240d46] to-zpid-purple-700\">
<header class=\"flex w-full max-w-screen-xl mx-auto border-b bg-mono-50 h-14 border-mono-300\">
<a class=\"flex flex-row items-center pl-8 pr-6 font-serif text-3xl text-white bg-zpid-blue\" href=\"/\">
<span class=\"font-semibold\">Data</span>Wiz<span
class=\"self-start px-1.5 mt-1 font-sans text-xs italic font-medium bg-white border rounded-md text-zpid-blue-800\">beta</span>
</a>
<div class=\"flex w-full pl-6 pr-8\">
{{ include(\"Components/_navigationHeader.html.twig\") }}
{{ include(\"Components/_userProfileReference.html.twig\") }}
</div>
</header>
</div>
{% endblock %}
{% block body %}{% endblock %}
{{ include(\"Components/_footer.html.twig\") }}
</body>
</html>
", "Layouts/base.html.twig", "/app/source/View/Templates/Layouts/base.html.twig");
}
}