update home page text
This commit is contained in:
parent
a7ffc402c0
commit
cd74ed455d
6 changed files with 27 additions and 25 deletions
|
@ -1,7 +1,16 @@
|
|||
.body--home {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
background-color: #000;
|
||||
min-height: 100vh;
|
||||
|
||||
.topnav {
|
||||
display: none;
|
||||
}
|
||||
|
||||
main {
|
||||
margin: auto;
|
||||
}
|
||||
}
|
||||
|
||||
.index {
|
||||
|
@ -21,6 +30,11 @@
|
|||
margin-bottom: var(--spacing-2);
|
||||
}
|
||||
|
||||
|
||||
.margin-reset {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-family: "wrong font";
|
||||
margin: auto;
|
||||
|
|
|
@ -91,4 +91,4 @@ nav {
|
|||
100% {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -89,8 +89,6 @@ main > .texts {
|
|||
|
||||
main > .index {
|
||||
text-align: center;
|
||||
//padding-top: 48px;
|
||||
//font-size: 26px;
|
||||
line-height: 1.3;
|
||||
|
||||
}
|
||||
|
|
|
@ -8,31 +8,21 @@
|
|||
<h1 class="h1-zh-home">未至之城</h1>
|
||||
<p>回望未來<p>
|
||||
|
||||
<div class="font-bold">Video art program</div>
|
||||
<p>Asian Art Biennale 2021</p>
|
||||
|
||||
<div class="font-bold">錄像計畫</div>
|
||||
<div class="font-bold">Video art program 錄像計畫</div>
|
||||
<p class="margin-reset">Asian Art Biennale 2021</p>
|
||||
<p>2021亞洲藝術雙年展</p>
|
||||
<p>2021.10.30 - 2022.3.6<p>
|
||||
<p class="font-size-sm">2021.10.30 - 2022.3.6<p>
|
||||
|
||||
<div class="font-size-sm">
|
||||
<div class="h3"><a href="{% url 'films'%}" class="font-bold">Films</a></div>
|
||||
<p>21 films on subjects from animism to zoology</p>
|
||||
|
||||
<div class="h3"><a href="{% url 'films'%}" class="font-bold">亞洲藝術雙年展</a></div>
|
||||
<div class="h3"><a href="{% url 'films'%}" class="font-bold">Films 影片</a></div>
|
||||
<p class="margin-reset">16 films on Asian futures, past and present</p>
|
||||
<p>回望未來<p>
|
||||
|
||||
<div class="h3"><a href="{% url 'texts' %}" class="font-bold">Assemblies</a></div>
|
||||
<p>31 sequences of commentary on clips within or across film</p>
|
||||
|
||||
<div class="h3"><a href="{% url 'texts'%}" class="font-bold">亞洲藝術雙年展</a></div>
|
||||
<div class="h3"><a href="{% url 'texts' %}" class="font-bold">Assemblies 组件</a></div>
|
||||
<p class="margin-reset">Essays and edits within or across films</p>
|
||||
<p>回望未來<p>
|
||||
|
||||
<div class="h3"><a href="{% url 'about' %}" class="font-bold">About</a></div>
|
||||
<p>phantas.ma/polis is a ...</p>
|
||||
|
||||
<div class="h3"><a href="{% url 'about'%}" class="font-bold">亞洲藝術雙年展</a></div>
|
||||
<p>回望未來<p>
|
||||
<div class="h3"><a href="{% url 'about' %}" class="font-bold">About 關於</a></div>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
|
@ -10,9 +10,9 @@ def index(request):
|
|||
context = {}
|
||||
return render(request, 'index.html', context)
|
||||
|
||||
def index_alt(request):
|
||||
context = {}
|
||||
return render(request, 'index-alt.html', context)
|
||||
#def index_alt(request):
|
||||
#context = {}
|
||||
#return render(request, 'index-alt.html', context)
|
||||
|
||||
def page(request, slug=''):
|
||||
context = {}
|
||||
|
|
|
@ -32,7 +32,7 @@ urlpatterns = [
|
|||
path(settings.URL_PREFIX + 'tv/', video.tv, name='tv'),
|
||||
path(settings.URL_PREFIX + 'assemblies/', text.texts, name='texts'),
|
||||
path(settings.URL_PREFIX + 'assemblies/<str:slug>', text.text, name='text'),
|
||||
path(settings.URL_PREFIX + 'index-alt/', text.index_alt, name='index_alt'),
|
||||
#path(settings.URL_PREFIX + 'index-alt/', text.index_alt, name='index_alt'),
|
||||
path(settings.URL_PREFIX + 'about/', text.about, name='about'),
|
||||
path(settings.URL_PREFIX + '<str:slug>/', text.page, name='page'),
|
||||
path(settings.URL_PREFIX[:-1], text.index, name='index'),
|
||||
|
|
Loading…
Reference in a new issue