+
+ {% if site.google_analytics_id != "" %}
+ {% include google_analytics.html %}
+ {% endif %}
+
+
diff --git a/docs/_posts/2019-12-04-home.md b/docs/_posts/2019-12-04-home.md
new file mode 100644
index 00000000..40bb19ee
--- /dev/null
+++ b/docs/_posts/2019-12-04-home.md
@@ -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.
+
+
+
+
+
+- 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).
+
diff --git a/docs/css/main.css b/docs/css/main.css
index 761cdd22..4ebd6054 100644
--- a/docs/css/main.css
+++ b/docs/css/main.css
@@ -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;
}
diff --git a/docs/index.md b/docs/index.md
index 6bbe7b6a..d1b7b149 100644
--- a/docs/index.md
+++ b/docs/index.md
@@ -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.
-
-
-
-
-- 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).
+
+[Documentation](home) [GitHub](https://github.com/natario1/CameraView) [Support](extra/donate)
diff --git a/docs/static/icon_foreground.png b/docs/static/icon_foreground.png
new file mode 100644
index 00000000..bc659dfb
Binary files /dev/null and b/docs/static/icon_foreground.png differ