Some more screens

This commit is contained in:
Asaf Gartner 2024-06-20 22:01:11 +03:00
parent 02a41f56bd
commit 8cd968a495
7 changed files with 15 additions and 19 deletions

View File

@ -1,7 +1,7 @@
<div class="mw7 margin-center link--white"> <div class="mw7 center link--white">
<div class="flex flex-column pv4 tc"> <div class="flex flex-column pv4 tc">
<img class="jam-logo margin-center" src="{{ static "learningjam2024/logo.svg" }}"> <img class="jam-logo center" src="{{ static "learningjam2024/logo.svg" }}">
<div class="margin-center mt3 mt4-ns"> <div class="center mt3 mt4-ns">
<a class="jam-title db mb3" href="{{ .JamUrl }}">Learning Jam</a> <a class="jam-title db mb3" href="{{ .JamUrl }}">Learning Jam</a>
<div class="flex flex-column flex-row-ns justify-between lh-solid g3 g0-ns"> <div class="flex flex-column flex-row-ns justify-between lh-solid g3 g0-ns">
<div> <div>

View File

@ -1,4 +1,4 @@
<div class="mw7 margin-center link--white"> <div class="mw7 center link--white">
<div class="flex flex-column flex-row-ns justify-center items-center pv4 g3 tc tl-ns"> <div class="flex flex-column flex-row-ns justify-center items-center pv4 g3 tc tl-ns">
<img class="jam-logo-small" src="{{ static "learningjam2024/logo.svg" }}"> <img class="jam-logo-small" src="{{ static "learningjam2024/logo.svg" }}">
<div class="flex flex-column justify-between"> <div class="flex flex-column justify-between">

View File

@ -5,7 +5,7 @@
{{ end }} {{ end }}
{{ define "content" }} {{ define "content" }}
<div class="mw7 margin-center flex flex-column"> <div class="mw7 center flex flex-column">
<div class="ph3 pv4 bb b--rich-gray"> <div class="ph3 pv4 bb b--rich-gray">
<h2 class="c--theme-gradient-light mb3">Projects</h2> <h2 class="c--theme-gradient-light mb3">Projects</h2>
{{ template "jam_2024_lj_projects.html" .Projects }} {{ template "jam_2024_lj_projects.html" .Projects }}

View File

@ -5,7 +5,7 @@
{{ end }} {{ end }}
{{ define "content" }} {{ define "content" }}
<div class="mw7 margin-center flex flex-column"> <div class="mw7 center flex flex-column">
{{ template "jam_2024_lj_guidelines.html" . }} {{ template "jam_2024_lj_guidelines.html" . }}
<div> <div>
<div class="mv5 h3 fill-current link--white"> <div class="mv5 h3 fill-current link--white">

View File

@ -9,7 +9,7 @@
{{ end }} {{ end }}
{{ define "content" }} {{ define "content" }}
<div class="mw7 margin-center flex flex-column"> <div class="mw7 center flex flex-column">
{{ if gt .DaysUntilStart 0 }} {{ if gt .DaysUntilStart 0 }}
{{ template "before-jam" . }} {{ template "before-jam" . }}
{{ else if gt .DaysUntilEnd 0 }} {{ else if gt .DaysUntilEnd 0 }}

View File

@ -1,4 +1,4 @@
{{ template "base.html" . }} {{ template "base-2024.html" . }}
{{ define "extrahead" }} {{ define "extrahead" }}
<script src="{{ static "js/templates.js" }}"></script> <script src="{{ static "js/templates.js" }}"></script>
@ -8,24 +8,20 @@
{{ template "showcase_templates.html" }} {{ template "showcase_templates.html" }}
<div class="content-block"> <div class="content-block">
<div class="ph2 ph0-ns pb4"> <div class="pa3">
<div class="optionbar"> <div class="optionbar">
<div class="tc tl-l w-100 pb2"> <div class="w-100 pb2 flex flex-row items-end">
<h2 class="di-l mr2-l">Community Showcase</h2> <h2 class="f3 flex-grow-1">Community Showcase</h2>
<ul class="list dib-l"> <a href="{{ .ShowcaseAtomFeedUrl }}"><span class="icon big">4</span> Showcase Feed</a>
<li class="dib-ns ma0 ph2">
<a href="{{ .ShowcaseAtomFeedUrl }}"><span class="icon big">4</span> Showcase Feed</a>
</li>
</ul>
</div> </div>
</div> </div>
<div id="showcase-container" class="mh2 mh0-ns pb4"></div> <div id="showcase-container" class=""></div>
</div> </div>
</div> </div>
<template id="showcase-month"> <template id="showcase-month">
<h3 data-tmpl="dateHeader" class="mt3 f4 fw5">Unknown Date</h3> <h3 data-tmpl="dateHeader" class="mt3 f4 fw5">Unknown Date</h3>
<div data-tmpl="itemsContainer" class="month-container"></div> <div data-tmpl="itemsContainer" class="mt2 month-container"></div>
</template> </template>
<script> <script>

View File

@ -53,7 +53,7 @@
{{ range .ProfileUserLinks }} {{ range .ProfileUserLinks }}
<div class="pair flex"> <div class="pair flex">
<div class="key flex-auto flex-shrink-0 mr2">{{ .Name }}</div> <div class="key flex-auto flex-shrink-0 mr2">{{ .Name }}</div>
<div class="value projectlink truncate"><a class="external" href="{{ .Url }}" ><span class="icon-{{ .Icon }}"></span> {{ .LinkText }}</a></div> <div class="value projectlink truncate"><a class="external" href="{{ .Url }}" ><span class="icon-{{ .Icon }}"></span> {{ .ServiceName }}</a></div>
</div> </div>
{{ end }} {{ end }}