Skip to content
This repository has been archived by the owner on Feb 1, 2023. It is now read-only.

Commit

Permalink
Add about page
Browse files Browse the repository at this point in the history
I created the `AppBaseLayout` component to consolidate the template, using
named scopes to interpolate the header and contents.
  • Loading branch information
vitorbaptista committed Mar 5, 2018
1 parent acecce8 commit 0514f87
Show file tree
Hide file tree
Showing 8 changed files with 491 additions and 303 deletions.
103 changes: 103 additions & 0 deletions frontend/components/About.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
<script>
import AppBaseLayout from './AppBaseLayout.vue'
export default {
name: 'About',
props: {
baseUrl: String,
},
components: {
AppBaseLayout,
},
}
</script>

<template>
<AppBaseLayout>
<p>
Goodtables.io is a continuous validation service for tabular data by
the <a href="https://okfn.org" rel="external">Open Knowledge
International</a>. It allows for the checking of common erros and problems
in tabular data files, such as:
</p>
<ul>
<li>Can a CSV be loaded?</li>
<li>Are there any blank rows?</li>
<li>Are all values in the column "e-mail" actually e-mails?</li>
<li>Do all rows have the same number of columns?</li>
</ul>
<p>
This frees up data publishers' time to focus on checking if the data
is correct in the first place, increasing the quality and their
confidence in the dataset.
</p>

<h2>Why?</h2>
<p>
We want to increase the usage of data. We believe that it can help
people be more productive and achieve their goals.
</p>
<p>
Although there is a lot of data published by governments and other
institutions, its quality tends to be low on average. This is caused
in part by the lack of resources and training, but also by the lack
of good tools. This is where goodtables fits.
</p>
<p>
By using goodtables, data publishers can do more with less,
increasing the quality of their data, which in turn will increase its
usage by making it easier to work with it.
</p>

<h2>Who?</h2>
<p>
This service is provided by the <a href="https://okfn.org"
rel="external">Open Knowledge International</a>, a global non-profit
organisation that focuses on helping civil society groups access and
use data to achieve their goals. Since we started in 2004, we have been
pushing governments and organisations to release data, building tools and
materials to help them do so, and to help others make use of this data.
Some of our projects include:
</p>
<ul>
<li>
<a href="https://ckan.org">CKAN</a>, the most used open source data
publishing platform;
</li>
<li>
The <a href="https://opendefinition.org/" rel="external">Open
Definition</a> that defines "openness" in relation to data and content;
</li>
<li>
Data literacy materials as
the <a href="https://opendatahandbook.org" rel="external">Open
Data Handbook</a> and <a href="https://schoolofdata.org"
rel="external">School of Data</a>;
</li>
<li>
<a href="https://openspending.org"
rel="external">OpenSpending</a>, a fiscal data publishing
platform, and;
</li>
<li>
<a href="https://frictionlessdata.org" rel="external">Frictionless Data</a>, a
set of specifications and tools to work with data (of which
Goodtables is part of).
</li>
</ul>
<p>
You can read more about us and our work on <a href="https://okfn.org">our
website</a>.
</p>
</AppBaseLayout>
</template>

<style scoped>
.main-header .inner {
padding-bottom: 0;
}
.main-content {
text-align: left;
}
</style>
96 changes: 96 additions & 0 deletions frontend/components/AppBaseLayout.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
<script>
import Logo from './Logo.vue'
import fdLogo from '../images/logo_fd.svg'
import okiLogo from '../images/logo_oki.svg'
export default {
name: 'AppBaseLayout',
props: {
baseUrl: String,
},
components: {
Logo,
},
data() {
return {
fdLogo,
okiLogo,
}
},
}
</script>

<template>
<div class="landing">
<header class="main-header">
<div class="pattern">
<div class="inner">
<div class="container">
<div class="main-nav">
<Logo :baseUrl="baseUrl" />

<nav>
<ul>
<li><a href="/user/login/github">Log in</a></li>
<li><a href="https://docs.goodtables.io">Help</a></li>
<li><a href="/about">About</a></li>
</ul>
</nav>
</div>

<div class="content">
<slot name="header"></slot>
</div>
</div>
</div>
</div>
</header>

<section class="main-content">
<main class="container">
<div class="inner">
<slot></slot>
</div>
</main>
</section>

<section class="orgs">
<div class="container">
<ul class="logos">
<li>
<a v-html="okiLogo" href="https://okfn.org" rel="external" ></a>
</li>
<li class="fd">
<a v-html="fdLogo" href="https://frictionlessdata.org" rel="external" ></a>
</li>
</ul>
<p>
GoodTables is part of the <a href="https://frictionlessdata.io" rel="external">Frictionless Data</a> project from <a href="https://okfn.org" rel="external">Open Knowledge International</a>, which supports a wider discussion around Open Data quality. We believe that GoodTables can reduce the processing time of your data publication workflow, whatever it may be.
</p>
</div>
</section>
</div>
</template>

<style scoped>
header nav {
margin-left: auto;
}
header nav ul {
list-style-type: none;
}
header nav li {
float: left;
}
header nav li a {
display: block;
padding: 14px;
}
header nav li a:hover {
background-color: #eeeeee44;
}
</style>

0 comments on commit 0514f87

Please sign in to comment.