Skip to content

Commit

Permalink
minor updates to improve lighthouse scores
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewJBateman committed Mar 25, 2021
1 parent 992e443 commit fbf5c3a
Show file tree
Hide file tree
Showing 46 changed files with 696 additions and 3,348 deletions.
1 change: 0 additions & 1 deletion .env

This file was deleted.

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ speed-measure-plugin*.json
.history/*

# misc
/dist
/.sass-cache
/connect.lock
/coverage
Expand Down
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@
| ![Angular page](./img/home.png) | ![Angular page](./img/about.png) | ![Angular page](./img/contact.png) |
|:---:|:---:|:---:|
| Home | About | Contact |
![Angular page](./img/lighthouse-home.jpg)
![Angular page](./img/lighthouse-about.jpg)
![Angular page](./img/lighthouse-contact.jpg)

## :signal_strength: Technologies

Expand All @@ -59,7 +62,7 @@
* `npm run serve:ssr` to run SSR build file
* Run `npm run build` for a production build with css purging.
* Run `http-server` to view build on an apple/android phone or simulator (pick 2nd http address supplied)
* The build artifacts will be stored in the `dist/angular-tailwind-ratp` directory.
* The build artifacts will be stored in the `dist/angular-tailwind-unsplash` directory.

## :wrench: Testing

Expand Down Expand Up @@ -97,15 +100,16 @@ photoQuery(): Observable<any> {

## :clipboard: Status & To-Do List

* Status: Working PWA. Deploy and add robots file info etc. and redo lighthouse.
* To-Do: tests, publish
* Status: Working Server-Side-Rendered PWA.
* To-Do: add splash screens, tests, deploy and add robots file info etc. and redo lighthouse.

## :clap: Inspiration

* [Angular Architects: article: Extending the Angular CLI’s build process without ejecting](https://www.angulararchitects.io/aktuelles/extending-the-angular-clis-build-process/)
* [StackOverflow: How to solve semi-colon expected css(css-semicolonexpected)](https://stackoverflow.com/questions/61443484/how-to-solve-semi-colon-expected-csscss-semicolonexpected)
* [dev.to: Setup TailwindCSS in Angular the easy way](https://dev.to/angular/setup-tailwindcss-in-angular-the-easy-way-1i5l)
* [LogRocket: Types vs. interfaces in TypeScript](https://blog.logrocket.com/types-vs-interfaces-in-typescript/)
* [Free svg site](https://freesvg.org/) for butterfly svg on about page

## :envelope: Contact

Expand Down
247 changes: 0 additions & 247 deletions dist/angular-tailwind-unsplash/browser/3rdpartylicenses.txt

This file was deleted.

This file was deleted.

Loading

0 comments on commit fbf5c3a

Please sign in to comment.