Website landing page

pull/725/head
Mattia Iavarone 5 years ago
parent 821a21a1bd
commit 14e777e7c7
  1. 4
      docs/_config.yml
  2. 2
      docs/_includes/header.html
  3. 2
      docs/_includes/navigation.html
  4. 29
      docs/_layouts/landing.html
  5. 46
      docs/_posts/2019-12-04-home.md
  6. 35
      docs/css/main.css
  7. 43
      docs/index.md
  8. BIN
      docs/static/icon_foreground.png

@ -52,8 +52,8 @@ sections: [
# path (e.g. on GitHub pages) leave off the trailing slash, e.g. /my-project
baseurl: '/CameraView'
# Dates are not included in permalinks
permalink: none
# Ensure permalinks have no date nor extension
permalink: /:categories/:title
# Syntax highlighting
highlighter: rouge

@ -1,3 +1,3 @@
<h4><a class="brand" href="{{ site.baseurl }}/">{{ site.title }}</a>
<h4><a class="brand" href="{{ site.baseurl }}/home">{{ site.title }}</a>
{% if site.subtitle %}<small>{{ site.subtitle }}</small>{% endif %}
</h4>

@ -1,5 +1,5 @@
<ul class="nav nav-pills nav-stacked">
<li><a href="{{ site.baseurl }}/">Home</a></li>
<li><a href="{{ site.baseurl }}/home">Home</a></li>
{% for section in site.sections %}
{% assign attr = section[0] %}
{% assign label = section[1] %}

@ -0,0 +1,29 @@
<!DOCTYPE html>
<html style="height:100%;width:100%;margin:0px;">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width">
<title>{{ site.title }}{% if page.title %} | {{ page.title }}{% endif %}</title>
<meta name="description" content="{{ site.subtitle }}">
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="{{ site.baseurl }}/css/syntax.css">
<link rel="stylesheet" href="{{ site.baseurl }}/css/main.css">
{% seo %}
</head>
<body id="landing" style="display:table;height:100%;width:100%;margin:0px;">
<div class="container" style="display:table-cell; vertical-align:middle;">
<div id="content" align="center">
<img src="static/icon_foreground.png" width="45%">
{{ content }}
</div>
</div>
{% if site.google_analytics_id != "" %}
{% include google_analytics.html %}
{% endif %}
</body>
</html>

@ -0,0 +1,46 @@
---
layout: default
title: "CameraView"
---
# CameraView
CameraView is a well documented, high-level library that makes capturing pictures and videos easy,
addressing all of the common issues and needs and much more.
<p align="center">
<img src="static/banner.png" vspace="10" width="100%">
</p>
- Fast & reliable
- Gestures support [[docs]](docs/gestures)
- Real-time filters [[docs]](docs/filters)
- Camera1 or Camera2 powered engine [[docs]](docs/previews)
- Frame processing support [[docs]](docs/frame-processing)
- Watermarks & animated overlays [[docs]](docs/watermarks-and-overlays)
- OpenGL powered preview [[docs]](docs/previews)
- Take high-quality content with `takePicture` and `takeVideo` [[docs]](docs/capturing-media)
- Take super-fast snapshots with `takePictureSnapshot` and `takeVideoSnapshot` [[docs]](docs/capturing-media)
- Smart sizing: create a `CameraView` of any size [[docs]](docs/preview-size)
- Control HDR, flash, zoom, white balance, exposure, location, grid drawing & more [[docs]](docs/controls)
- RAW pictures support [[docs]](docs/controls)
- Lightweight
- Works down to API level 15
- Well tested
### Get started
Get started with [install info](about/install), [quick setup](about/getting-started), or
start reading the in-depth [documentation](docs/camera-events).
### Older versions
This website contains documentation and informations about version 2.X.X of the library.
For older versions, please take a look at the v1 branch in the [project page](https://github.com/natario1/CameraView).
For migration guide, take a look at the [migration page](extra/v1-migration-guide).
### Support
If you like the project, use it with profit, and want to thank back, please consider [donating or
becoming a supporter](extra/donate).

@ -89,6 +89,41 @@ a {
font-size: 0.45em;
}
#landing {
background: radial-gradient(ellipse, #f7a816, #f76c16) !important;
background-attachment: fixed !important;
}
#landing h1 {
font-size: 4.5em;
color: white;
margin-top: 16px;
margin-bottom: 0px;
letter-spacing: 0.04em;
font-weight: bold;
}
#landing p {
font-size: 1.2em;
color: rgba(255, 255, 255, 0.7);
margin: 8px;
max-width: 80%;
line-height: 100%;
}
#landing a {
background-color: rgba(240, 240, 240, 0.3);
color: white;
border-radius: 24px;
padding: 10px 20px 10px 20px;
margin-top: 16px;
margin-left: 8px;
margin-right: 8px;
display: inline-block;
font-family: 'Calistoga', sans-serif;
font-size: 1.1em;
}
#navigation {
font-size: 1.0em;
}

@ -1,46 +1,13 @@
---
layout: default
layout: landing
title: "CameraView"
---
# CameraView
CameraView is a well documented, high-level library that makes capturing pictures and videos easy,
addressing most of the common issues and needs, and still leaving you with flexibility where needed.
A well documented, high-level library that makes capturing pictures and videos easy,
addressing all of the common issues and needs. Supports real-time filters, gestures, watermarks, frame processing, RAW, outputs of any size and much more.
<p align="center">
<img src="static/banner.png" vspace="10" width="100%">
</p>
- Fast & reliable
- Gestures support [[docs]](docs/gestures)
- Real-time filters [[docs]](docs/filters)
- Camera1 or Camera2 powered engine [[docs]](docs/previews)
- Frame processing support [[docs]](docs/frame-processing)
- Watermarks & animated overlays [[docs]](docs/watermarks-and-overlays)
- OpenGL powered preview [[docs]](docs/previews)
- Take high-quality content with `takePicture` and `takeVideo` [[docs]](docs/capturing-media)
- Take super-fast snapshots with `takePictureSnapshot` and `takeVideoSnapshot` [[docs]](docs/capturing-media)
- Smart sizing: create a `CameraView` of any size [[docs]](docs/preview-size)
- Control HDR, flash, zoom, white balance, exposure, location, grid drawing & more [[docs]](docs/controls)
- RAW pictures support [[docs]](docs/controls)
- Lightweight
- Works down to API level 15
- Well tested
### Get started
Get started with [install info](about/install), [quick setup](about/getting-started), or
start reading the in-depth [documentation](docs/camera-events).
### Older versions
This website contains documentation and informations about version 2.X.X of the library.
For older versions, please take a look at the v1 branch in the [project page](https://github.com/natario1/CameraView).
For migration guide, take a look at the [migration page](extra/v1-migration-guide).
### Support
If you like the project, use it with profit, and want to thank back, please consider [donating or
becoming a supporter](extra/donate).
<br/>
[Documentation](home) [GitHub](https://github.com/natario1/CameraView) [Support](extra/donate)

Binary file not shown.

After

Width:  |  Height:  |  Size: 174 KiB

Loading…
Cancel
Save