mirror of
https://koodu.h-i.works/projects/thebadspace
synced 2025-08-14 17:27:21 -05:00
The Big Switch
Archived previous version to switch codebase to Laravel framework for the sake of reducing complexity to lower the barrier for entry for potential contributers. Because easier is always better.
This commit is contained in:
36
index.twig
Normal file
36
index.twig
Normal file
@ -0,0 +1,36 @@
|
||||
{% extends "base/frame.twig" %}
|
||||
{% block stylesheets %}
|
||||
<link rel="stylesheet" type="text/css" href="/assets/css/front/start.css?=sdfsdf">
|
||||
{% endblock %}
|
||||
|
||||
{% block main %}
|
||||
<section role="start">
|
||||
<div role="index-wrapper">
|
||||
<div role="index-search">
|
||||
<form action="{{ path('index') }}" method="post" enctype="multipart/form-data">
|
||||
<input type="text" name="index_search" value="" placeholder="SEARCH ME!"/>
|
||||
<button>
|
||||
<i class="ti ti-search"></i>
|
||||
</button>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
|
||||
<div role="index-results">
|
||||
{% if options.items is defined %}
|
||||
<h1>Found Stuff for:
|
||||
{{ options.terms }}</h1>
|
||||
{% for item in options.items %}
|
||||
<a class="search-link" href="/location/{{ item.uuid }}">{{ item.name }}</a><br/>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{{ options.count }}
|
||||
Bad Spaces tracked. Shot by
|
||||
<a href="https://unsplash.com/photos/935EcPU1pBI">Ussama Azam</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</section>
|
||||
{% endblock %}
|
Reference in New Issue
Block a user