Skip to content

Commit

Permalink
Update to Angular 7 (+ other dependencies)
Browse files Browse the repository at this point in the history
  • Loading branch information
Enngage committed Oct 22, 2018
1 parent ae86961 commit 473d4f4
Show file tree
Hide file tree
Showing 8 changed files with 1,582 additions and 1,213 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ Features:

Live examples: [https://enngage.github.io/ngx-captcha/](https://enngage.github.io/ngx-captcha/)

## Supported versions

1. For Angular 6 use ngx-captcha on version `< 5.0.0`
2. For Angular 7 use ngx-captcha on version `>= 6.0.0`

## Installation

```javascript
Expand Down
2 changes: 1 addition & 1 deletion demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<base href="/ngx-captcha">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="Google invisible Captcha and ReCAPTCHA2 components for Angular 6 and beyond">
<meta name="description" content="Google invisible Captcha, ReCaptcha3 and ReCaptcha2 components for Angular 6, Angular 7 and beyond">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" integrity="sha384-WskhaSGFgHYWDcbwN70/dfYBj47jz9qbsMId/iRN3ewGhXQFZCSftd1LZCfmhktB"
crossorigin="anonymous">
<link href="https://use.fontawesome.com/releases/v5.0.7/css/all.css" rel="stylesheet">
Expand Down
2 changes: 1 addition & 1 deletion demo/src/demo.component.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<header>
<nav class="navbar navbar-expand-md navbar-dark fixed-top bg-dark">
<a class="navbar-brand" routerLink="/installation">Google reCaptcha for Angular 6+</a>
<a class="navbar-brand" routerLink="/installation">Google reCaptcha for Angular</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarCollapse" aria-controls="navbarCollapse"
aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
Expand Down
7 changes: 6 additions & 1 deletion demo/src/installation.component.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@

<h2>Installation</h2>
<h3>Supported versions</h3>

<div>For Angular 6 use ngx-captcha on version 5.0.0 or lower</div>
<div>For Angular 7 use ngx-captcha on version 6.0.0 or higher</div>

<h2 class="mt-4">Installation</h2>


<h5 class="mt-4">npm</h5>
Expand Down
Loading

0 comments on commit 473d4f4

Please sign in to comment.