From cd74ed455d0c4511e78196f07061d64e7e10fb16 Mon Sep 17 00:00:00 2001 From: imohkay Date: Mon, 25 Oct 2021 12:22:03 +0530 Subject: [PATCH] update home page text --- app/static/css/partials/_index.scss | 14 ++++++++++++++ app/static/css/partials/_layout.scss | 2 +- app/static/css/partials/_text.scss | 2 -- app/templates/index.html | 26 ++++++++------------------ app/text/views.py | 6 +++--- app/urls.py | 2 +- 6 files changed, 27 insertions(+), 25 deletions(-) diff --git a/app/static/css/partials/_index.scss b/app/static/css/partials/_index.scss index 464d808..c36450a 100755 --- a/app/static/css/partials/_index.scss +++ b/app/static/css/partials/_index.scss @@ -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; diff --git a/app/static/css/partials/_layout.scss b/app/static/css/partials/_layout.scss index 812d623..a56be21 100755 --- a/app/static/css/partials/_layout.scss +++ b/app/static/css/partials/_layout.scss @@ -91,4 +91,4 @@ nav { 100% { opacity: 1; } -} +} \ No newline at end of file diff --git a/app/static/css/partials/_text.scss b/app/static/css/partials/_text.scss index 9a23a11..a7f3ac9 100755 --- a/app/static/css/partials/_text.scss +++ b/app/static/css/partials/_text.scss @@ -89,8 +89,6 @@ main > .texts { main > .index { text-align: center; - //padding-top: 48px; - //font-size: 26px; line-height: 1.3; } diff --git a/app/templates/index.html b/app/templates/index.html index 5a3d656..51298be 100755 --- a/app/templates/index.html +++ b/app/templates/index.html @@ -8,31 +8,21 @@

未至之城

回望未來

-

Video art program
-

Asian Art Biennale 2021

- -
錄像計畫
+
Video art program 錄像計畫
+

Asian Art Biennale 2021

2021亞洲藝術雙年展

-

2021.10.30 - 2022.3.6

+

2021.10.30 - 2022.3.6

- -

21 films on subjects from animism to zoology

- - + +

16 films on Asian futures, past and present

回望未來

-

-

31 sequences of commentary on clips within or across film

- - + +

Essays and edits within or across films

回望未來

-

-

phantas.ma/polis is a ...

- - -

回望未來

+

{% endblock %} diff --git a/app/text/views.py b/app/text/views.py index 9132a52..7cd4aa5 100755 --- a/app/text/views.py +++ b/app/text/views.py @@ -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 = {} diff --git a/app/urls.py b/app/urls.py index 4546ec0..4529c73 100755 --- a/app/urls.py +++ b/app/urls.py @@ -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/', 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 + '/', text.page, name='page'), path(settings.URL_PREFIX[:-1], text.index, name='index'),