Skip to content

Commit

Permalink
Merge pull request #100 from undpindia/feature-mobileview
Browse files Browse the repository at this point in the history
Feature mobileview
  • Loading branch information
Maneesh7012 authored Aug 1, 2024
2 parents 1b6cda8 + 6b9e33f commit 0301134
Show file tree
Hide file tree
Showing 86 changed files with 2,651 additions and 107 deletions.
1 change: 1 addition & 0 deletions .anima/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
cache
1 change: 1 addition & 0 deletions src/documentation/.anima/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
cache
5 changes: 5 additions & 0 deletions src/documentation/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
_site
.sass-cache
.jekyll-cache
.jekyll-metadata
vendor
25 changes: 25 additions & 0 deletions src/documentation/404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
permalink: /404.html
layout: default
---

<style type="text/css" media="screen">
.container {
margin: 10px auto;
max-width: 600px;
text-align: center;
}
h1 {
margin: 30px 0;
font-size: 4em;
line-height: 1;
letter-spacing: -1px;
}
</style>

<div class="container">
<h1>404</h1>

<p><strong>Page not found :(</strong></p>
<p>The requested page could not be found.</p>
</div>
35 changes: 35 additions & 0 deletions src/documentation/Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
source "https://rubygems.org"
# Hello! This is where you manage which Jekyll version is used to run.
# When you want to use a different version, change it below, save the
# file and run `bundle install`. Run Jekyll with `bundle exec`, like so:
#
# bundle exec jekyll serve
#
# This will help ensure the proper Jekyll version is running.
# Happy Jekylling!
gem "jekyll", "~> 4.3.3"
# This is the default theme for new Jekyll sites. You may change this to anything you like.
gem "minima", "~> 2.5"
# If you want to use GitHub Pages, remove the "gem "jekyll"" above and
# uncomment the line below. To upgrade, run `bundle update github-pages`.
# gem "github-pages", group: :jekyll_plugins
# If you have any plugins, put them here!
group :jekyll_plugins do
gem "jekyll-feed", "~> 0.12"
gem 'jekyll-seo-tag', '2.8.0'
gem 'jekyll-sitemap', '1.4.0'
end

# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem
# and associated library.
platforms :mingw, :x64_mingw, :mswin, :jruby do
gem "tzinfo", ">= 1", "< 3"
gem "tzinfo-data"
end

# Performance-booster for watching directories on Windows
gem "wdm", "~> 0.1.1", :platforms => [:mingw, :x64_mingw, :mswin]

# Lock `http_parser.rb` gem to `v0.6.x` on JRuby builds since newer versions of the gem
# do not have a Java counterpart.
gem "http_parser.rb", "~> 0.6.0", :platforms => [:jruby]
95 changes: 95 additions & 0 deletions src/documentation/Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
GEM
remote: https://rubygems.org/
specs:
addressable (2.8.6)
public_suffix (>= 2.0.2, < 6.0)
colorator (1.1.0)
concurrent-ruby (1.2.3)
em-websocket (0.5.3)
eventmachine (>= 0.12.9)
http_parser.rb (~> 0)
eventmachine (1.2.7)
ffi (1.16.3-x64-mingw-ucrt)
forwardable-extended (2.6.0)
google-protobuf (4.26.1-x64-mingw-ucrt)
rake (>= 13)
http_parser.rb (0.8.0)
i18n (1.14.5)
concurrent-ruby (~> 1.0)
jekyll (4.3.3)
addressable (~> 2.4)
colorator (~> 1.0)
em-websocket (~> 0.5)
i18n (~> 1.0)
jekyll-sass-converter (>= 2.0, < 4.0)
jekyll-watch (~> 2.0)
kramdown (~> 2.3, >= 2.3.1)
kramdown-parser-gfm (~> 1.0)
liquid (~> 4.0)
mercenary (>= 0.3.6, < 0.5)
pathutil (~> 0.9)
rouge (>= 3.0, < 5.0)
safe_yaml (~> 1.0)
terminal-table (>= 1.8, < 4.0)
webrick (~> 1.7)
jekyll-feed (0.17.0)
jekyll (>= 3.7, < 5.0)
jekyll-sass-converter (3.0.0)
sass-embedded (~> 1.54)
jekyll-seo-tag (2.8.0)
jekyll (>= 3.8, < 5.0)
jekyll-sitemap (1.4.0)
jekyll (>= 3.7, < 5.0)
jekyll-watch (2.2.1)
listen (~> 3.0)
kramdown (2.4.0)
rexml
kramdown-parser-gfm (1.1.0)
kramdown (~> 2.0)
liquid (4.0.4)
listen (3.9.0)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
mercenary (0.4.0)
minima (2.5.1)
jekyll (>= 3.5, < 5.0)
jekyll-feed (~> 0.9)
jekyll-seo-tag (~> 2.1)
pathutil (0.16.2)
forwardable-extended (~> 2.6)
public_suffix (5.0.5)
rake (13.2.1)
rb-fsevent (0.11.2)
rb-inotify (0.10.1)
ffi (~> 1.0)
rexml (3.2.6)
rouge (4.2.1)
safe_yaml (1.0.5)
sass-embedded (1.77.1-x64-mingw-ucrt)
google-protobuf (>= 3.25, < 5.0)
terminal-table (3.0.2)
unicode-display_width (>= 1.1.1, < 3)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
tzinfo-data (1.2024.1)
tzinfo (>= 1.0.0)
unicode-display_width (2.5.0)
wdm (0.1.1)
webrick (1.8.1)

PLATFORMS
x64-mingw-ucrt

DEPENDENCIES
http_parser.rb (~> 0.6.0)
jekyll (~> 4.3.3)
jekyll-feed (~> 0.12)
jekyll-seo-tag (= 2.8.0)
jekyll-sitemap (= 1.4.0)
minima (~> 2.5)
tzinfo (>= 1, < 3)
tzinfo-data
wdm (~> 0.1.1)

BUNDLED WITH
2.5.10
78 changes: 78 additions & 0 deletions src/documentation/_config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
# ----
# Site

title: DiCRA Documents
url:
baseurl: /dicra-documents
google_analytics_key:
show_full_navigation: true

logo:
description:
author:
name:
email:
twitter: # twitter username without the @ symbol
social:
name: DiCRA Documents
links:


# -----
# Build

timezone: Etc/UTC

permalink: pretty

plugins:
- jekyll-sitemap
- jekyll-seo-tag
- jekyll-feed

exclude:
- Gemfile
- Gemfile.lock
- README.md
- LICENCE

collections:
docs:
title: Documentation
permalink: /:path/
output: true

defaults:
-
scope:
path: ""
values:
layout: default
-
scope:
path: ""
type: "docs"
values:
seo:
type: Article
_comments:
category: Group navigation links with this field
order: Used to sort links in the navigation
_options:
content:
width: 800
height: 2000
-
scope:
path: ""
type: "docs"
values:
_comments:
type: Marks the impact of this release

# -----------
# CloudCannon

types:
- minor
- major
10 changes: 10 additions & 0 deletions src/documentation/_docs/How to Use/analytics.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
title: Site Analytics
category: How to Use
order: 6
---
In the Analytics page, the information related to website traffic like New Users,
Sessions, View, Visitors Geography and Engagements etc. are available.


![Image]({{ site.baseurl }}/images/image15.png)
20 changes: 20 additions & 0 deletions src/documentation/_docs/How to Use/downloads.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
title: Downloads
category: How to Use
order: 5
---
### You will be able to download all the layers used in the portal.

![Image]({{ site.baseurl }}/images/image13.png)
![Image]({{ site.baseurl }}/images/image14.png)

#### Steps to download a layer


1. Select the layer
2. Select the date – applicable only if the layer has temporal data
3. Select type - Raster / Vector
4. Select boundary – applicable only if the user selects vector as the layer type.
5. Enter Name – User who downloads the data
6. Enter Email ID
7. Select Usage Type – Commercial / Non-Commercial
12 changes: 12 additions & 0 deletions src/documentation/_docs/How to Use/getting-started.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
title: Getting Started
category: How to Use
order: 2
---

1. Open any installed browser on your desktop
2. Go to https://dicra.undp.org.in/
3. You will enter the Portal and dashboard will appear.
Sync your Facebook contacts with ChatApp. Any of your Facebook friends with ChatApp accounts are automatically added to your contact list!

![Image]({{ site.baseurl }}/images/image1.png)
9 changes: 9 additions & 0 deletions src/documentation/_docs/How to Use/help.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<!-- ---
title: Help
category: How to Use
order: 6
---
The help section has all the project related information and user guides.
![Image]({{ site.baseurl }}/images/image17.png) -->
18 changes: 18 additions & 0 deletions src/documentation/_docs/How to Use/introduction.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
title: Introduction
category: How to Use
order: 1
---

Data in Climate Resilient Agriculture (DiCRA) is a collaborative digital public good
which provides open access to key geospatial datasets pertinent to climate resilient
agriculture. These datasets are curated and validated through collaborative efforts of
hundreds of data scientists and citizen scientists across the world. The pattern
detection and data insights emerging from DiCRA are aimed towards strengthening
evidence-driven policy making for climate resilient food systems. DiCRA is guided by
the digital public good principles of open access, open software, open code, and open
APIs.

The platform is facilitated by Government of Telangana and UNDP, in collaboration with
Zero Huger Lab (Netherlands), JADS (Netherlands), ICRISAT, PJTSAU, and RICH. It is
part of UNDP’s ‘Data for Policy’ initiative supported by Rockefeller Foundation.
Loading

0 comments on commit 0301134

Please sign in to comment.