diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..59d9a3a --- /dev/null +++ b/.editorconfig @@ -0,0 +1,16 @@ +# Editor configuration, see https://editorconfig.org +root = true + +[*] +charset = utf-8 +indent_style = space +indent_size = 2 +insert_final_newline = true +trim_trailing_whitespace = true + +[*.ts] +quote_type = single + +[*.md] +max_line_length = off +trim_trailing_whitespace = false diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0711527 --- /dev/null +++ b/.gitignore @@ -0,0 +1,42 @@ +# See http://help.github.com/ignore-files/ for more about ignoring files. + +# Compiled output +/dist +/tmp +/out-tsc +/bazel-out + +# Node +/node_modules +npm-debug.log +yarn-error.log + +# IDEs and editors +.idea/ +.project +.classpath +.c9/ +*.launch +.settings/ +*.sublime-workspace + +# Visual Studio Code +.vscode/* +!.vscode/settings.json +!.vscode/tasks.json +!.vscode/launch.json +!.vscode/extensions.json +.history/* + +# Miscellaneous +/.angular/cache +.sass-cache/ +/connect.lock +/coverage +/libpeerconnection.log +testem.log +/typings + +# System files +.DS_Store +Thumbs.db diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index eba42c8..0000000 --- a/.travis.yml +++ /dev/null @@ -1,3 +0,0 @@ -language: node_js -node_js: - - 0.12 diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 0000000..77b3745 --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,4 @@ +{ + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=827846 + "recommendations": ["angular.ng-template"] +} diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..740e35a --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,20 @@ +{ + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + { + "name": "ng serve", + "type": "pwa-chrome", + "request": "launch", + "preLaunchTask": "npm: start", + "url": "http://localhost:4200/" + }, + { + "name": "ng test", + "type": "chrome", + "request": "launch", + "preLaunchTask": "npm: test", + "url": "http://localhost:9876/debug.html" + } + ] +} diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..a298b5b --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,42 @@ +{ + // For more information, visit: https://go.microsoft.com/fwlink/?LinkId=733558 + "version": "2.0.0", + "tasks": [ + { + "type": "npm", + "script": "start", + "isBackground": true, + "problemMatcher": { + "owner": "typescript", + "pattern": "$tsc", + "background": { + "activeOnStart": true, + "beginsPattern": { + "regexp": "(.*?)" + }, + "endsPattern": { + "regexp": "bundle generation complete" + } + } + } + }, + { + "type": "npm", + "script": "test", + "isBackground": true, + "problemMatcher": { + "owner": "typescript", + "pattern": "$tsc", + "background": { + "activeOnStart": true, + "beginsPattern": { + "regexp": "(.*?)" + }, + "endsPattern": { + "regexp": "bundle generation complete" + } + } + } + } + ] +} diff --git a/README.md b/README.md index ef1f8ca..29d0266 100644 --- a/README.md +++ b/README.md @@ -1,142 +1,27 @@ -# Seotopper -> Generator of SEO more TOP of the moment, with meta tags of facebook, twitter, google + among others. [Check out] (https://gustavoquinalha.github.io/seotopper) +# Teste -# News -JSON-LD - structured data markup Google Search +This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 15.0.0. -# Meta-tags -- title -- description -- author -- base -- canonical -- sitemap -- robots -- googlebot -- theme-color -- msapplication-navbutton-color -- apple-mobile-web-app-status-bar-style -- name -- description -- image -- og:type -- og:title -- og:url -- og:site_name -- og:image -- og:description -- og:locale -- fb:app_id -- fb:admins -- twitter:card -- twitter:title -- twitter:description -- twitter:creator -- twitter:image -- application/ld+json +## Development server -# v0.5 -```html -
-<title>{{x.title}}</title> -<meta name="description" content="{{x.description}}"/> -<meta name="author" content="{{x.author}}"/> -<link rel="base" href="{{x.base}}"/> -<link rel="canonical" href="{{x.canonical}}"/> -<meta rel="sitemap" type="application/xml" content="{{x.sitemap}}"/> -<meta name="robots" content="{{x.robots}}"/> -<meta name="googlebot" content="{{x.robots}}"/> -<meta name="theme-color" content="{{x.color}}"/> -<meta name="msapplication-navbutton-color" content="{{x.color}}"/> -<meta name="apple-mobile-web-app-status-bar-style" content="{{x.color}}"/> -<!-- Schema.org markup for Google+ --> -<meta itemprop="name" content="{{x.title}}"/> -<meta itemprop="description" content="{{x.description}}"/> -<meta itemprop="image" content="{{x.image}}"/> -<!-- markup for facebook --> -<meta property="og:type" content="{{x.type}}"/> -<meta property="og:title" content="{{x.title}}"/> -<meta property="og:url" content="{{x.canonical}}"/> -<meta property="og:site_name" content="{{x.name}}"/> -<meta property="og:image" content="{{x.image}}"/> -<meta property="og:description" content="{{x.description}}"/> -<meta property="og:locale" content="{{x.locale}}"/> -<meta property="fb:app_id" content="{{x.appid}}"/> -<meta property="fb:admins" content="{{x.fbadmins}}"/> -<!-- markup for twitter --> -<meta name="twitter:card" content="{{x.ttcard}}"/> -<meta name="twitter:title" content="{{x.title}}"/> -<meta name="twitter:description" content="{{x.description}}"/> -<meta name="twitter:creator" content="{{x.author}}"/> -<meta name="twitter:image" content="{{x.image}}"/> -<!-- JSON-LD - structured data markup Google Search --> -<script type="application/ld+json"> -{{jsonFormated}} -</script> - --
form = {{user | json}}-
master = {{master | json}}-
This renders because the controller does not fail to - instantiate, by using explicit annotation style (see - script.js for details) -
-This renders because the controller does not fail to - instantiate, by using explicit annotation style - (see script.js for details) -
-The controller could not be instantiated, due to relying - on automatic function annotations (which are disabled in - strict mode). As such, the content of this section is not - interpolated, and there should be an error in your web console. -
-Cached Values
-Cache Info
-{{ $ctrl.log | json }}', - * controller: function() { - * var previousValue; - * this.log = []; - * this.$doCheck = function() { - * var currentValue = this.date && this.date.valueOf(); - * if (previousValue !== currentValue) { - * this.log.push('doCheck: date mutated: ' + this.date); - * previousValue = currentValue; - * } - * }; - * } - * }); - *
{{ items }}- *
{{ $ctrl.log | json }}', - * controller: function() { - * this.log = []; - * - * this.$doCheck = function() { - * if (this.items_ref !== this.items) { - * this.log.push('doCheck: items changed'); - * this.items_ref = this.items; - * } - * if (!angular.equals(this.items_clone, this.items)) { - * this.log.push('doCheck: items mutated'); - * this.items_clone = angular.copy(this.items); - * } - * }; - * } - * }); - *