Commit ea188c56 authored by Johan Richer's avatar Johan Richer

Customize for AGDIC hackathon

parent 6551f317
Pipeline #179599 passed with stage
in 55 seconds
......@@ -4,7 +4,7 @@ before_script:
- npm ci
variables:
VITRINE_BASE_PATH: /vitrine
VITRINE_BASE_PATH: /
test:
stage: test
......
<footer class="bg-gray-100 text-center border-t border-grey p-4">
This website is based on
<a class="a" href="https://framagit.org/eraviart/vitrine" target="_blank">
Vitrine
</a>
– a Hackathon Dashboard powered by
<a class="a" href="https://www.discourse.org/" target="_blank">Discourse</a>
and
<a class="a" href="https://about.gitlab.com/" target="_blank">GitLab</a>
Made by
<a class="a" href="https://www.jailbreak.paris/" target="_blank">Jailbreak</a>
with
<a class="a" href="https://framagit.org/agdic-hackathon/vitrine" target="_blank">Vitrine</a>
– a Hackathon Dashboard powered by
<a class="a" href="https://www.discourse.org/" target="_blank">Discourse</a>
and
<a class="a" href="https://about.gitlab.com/" target="_blank">GitLab</a>
</footer>
# basePath: /vitrine # or use VITRINE_BASE_PATH environment variable
appBar:
title:
text: Hackathon XYZ
text: "#AGDIC Hackathon 2019"
# The following classes are provided by TailwindCSS
# See https://tailwindcss.com/docs/font-family and next doc sections
# Or use custom classes
......@@ -11,47 +11,64 @@ appBar:
pages:
- slug: ""
appBarTitle: Home
title: Welcome to hackathon XYZ!
subTitle: Let's do great things all together
backgroundImageUrl: https://images.unsplash.com/photo-1544264747-d8af8eb09999?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=2558&q=80
logoUrl: https://42f2671d685f51e10fc6-b9fcecea3e50b3b59bdc28dead054ebc.ssl.cf5.rackcdn.com/illustrations/detailed_analysis_xn7y.svg
callToActionButtonTitle: Register here
callToActionButtonURL: https://eventmanager.com/register
title: Geospatial Data for Agriculture Hackathon
subTitle: Accra, Ghana - 22-24 October, 2019
backgroundImageUrl: backgroundImage.jpeg
logoUrl: logo.png
callToActionButtonTitle: Register here!
callToActionButtonURL: https://docs.google.com/forms/d/e/1FAIpQLSd7sjXsc0J1ZSJdFi4jNXODAVwu-Wu9mz_kczKAVHWAxnhG3Q/viewform
zones:
- pageSlug: challenges
buttonTitle: See all challenges
limit: 8
- pageSlug: tools
buttonTitle: See all tools
limit: 4
- pageSlug: data
buttonTitle: See all data
limit: 8
- pageSlug: tools
buttonTitle: See all tools
limit: 8
- slug: results
appBarTitle: Results
source:
type: discourse
url: https://forum.ogptoolbox.org
topic: 1452
- slug: program
appBarTitle: Program
source:
type: discourse
url: https://forum.datafin.fr
topic: 8 # ID or slug
url: https://forum.ogptoolbox.org
topic: 1371
- slug: jury
appBarTitle: Jury
source:
type: discourse
url: https://forum.ogptoolbox.org
topic: 1372
- slug: faq
appBarTitle: FAQ
source:
type: discourse
url: https://forum.ogptoolbox.org
topic: 1373
- slug: challenges
appBarTitle: Challenges
title: Challenges of the hackathon
newItemButtonTitle: Add a new challenge
title: Challenges
source:
type: discourse
url: https://forum.ogptoolbox.org
category: agdic/challenges
- slug: tools
appBarTitle: Tools
title: Tools of the hackathon
source:
type: discourse
url: https://forum.datafin.fr
category: outils # ID or slug
- slug: data
appBarTitle: Data
title: Data of the hackathon
title: Data
source:
type: gitlab
url: https://framagit.org
group: agdic-hackathon/data
- slug: tools
appBarTitle: Tools
title: Tools
source:
type: discourse
url: https://forum.ogptoolbox.org
category: agdic/tools
......@@ -50,4 +50,4 @@
"tailwindcss": "^1.1.2",
"tailwindcss-elevation": "^0.3.3"
}
}
\ No newline at end of file
}
......@@ -14,9 +14,9 @@
<Card.Title {title} />
{/if}
</div>
<div slot="media">
<div slot="media" class="text-center">
{#if imageUrl}
<Image class="w-full" src={imageUrl} alt="image" />
<Image class="w-3/4" src={imageUrl} alt="image" />
{/if}
</div>
<div slot="text">
......@@ -41,7 +41,7 @@
{/each}
<div class="ml-auto">
{#if url}
<Button text href={url} target="_blank">View</Button>
<Button text href={url} target="_blank">Read more</Button>
{/if}
</div>
</div>
......
......@@ -31,12 +31,7 @@ export function topicToCardData(source, topic) {
count: topic.vote_count,
icon: "thumb_up", // Cf https://material.io/resources/icons
title: "Votes"
},
{
count: topic.reply_count,
icon: "reply", // Cf https://material.io/resources/icons
title: "Replies"
},
}
],
id: topic.id,
imageUrl: topic.image_url,
......
......@@ -85,7 +85,7 @@
style={backgroundImageUrl && `background-image: url(${backgroundImageUrl});`}>
<div class="text-center mx-4">
{#if logoUrl}
<img class="w-1/4 mx-auto my-8" alt="logo" src={logoUrl} />
<img class="mx-auto my-8" alt="logo" src={logoUrl} />
{/if}
{#if title}
<h1 class="h2">{title}</h1>
......
static/favicon.png

3.05 KB | W: | H:

static/favicon.png

14.4 KB | W: | H:

static/favicon.png
static/favicon.png
static/favicon.png
static/favicon.png
  • 2-up
  • Swipe
  • Onion skin
{
"background_color": "#ffffff",
"theme_color": "#333333",
"name": "TODO",
"short_name": "TODO",
"display": "minimal-ui",
"start_url": "/",
"icons": [
{
"src": "logo-192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "logo-512.png",
"sizes": "512x512",
"type": "image/png"
}
]
}
......@@ -20,7 +20,7 @@ const colors = {
lime: "#cddc39",
yellow: "#ffeb3b",
amber: "#ffc107",
orange: "#ff9800",
orange: "#f7941d",
"deep-orange": "#ff5722",
brown: "#795548"
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment