Skip to content

Commit 2326722

Browse files
chore: default branch was renamed to main
1 parent 13f850f commit 2326722

5 files changed

Lines changed: 12 additions & 14 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,14 @@ name: CI
33
on:
44
push:
55
branches:
6-
- master
6+
- main
77
pull_request:
88

99
jobs:
1010
build:
1111
runs-on: ubuntu-latest
1212
steps:
13-
# https://github.com/actions/checkout
1413
- uses: actions/checkout@v6
15-
# https://github.com/actions/setup-node
1614
- uses: actions/setup-node@v6
1715
with:
1816
node-version: 24
@@ -23,7 +21,7 @@ jobs:
2321
- run: npm run build
2422
- name: test
2523
run: npm run test:ci
26-
# https://github.com/codecov/codecov-action
24+
2725
- name: coverage
2826
uses: codecov/codecov-action@v5
2927
with:

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Release
22
on:
33
workflow_run:
44
workflows: ['CI']
5-
branches: [master]
5+
branches: [main]
66
types: [completed]
77

88
permissions:

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<div align="center">
2-
<img src="https://raw.githubusercontent.com/openng-org/ngx-toastr/master/misc/documentation-assets/ngx-toastr-example.png" width="300" alt="Angular Toastr">
2+
<img src="https://raw.githubusercontent.com/openng-org/ngx-toastr/main/misc/documentation-assets/ngx-toastr-example.png" width="300" alt="Angular Toastr">
33
<br>
44
<h1>@openng/ngx-toastr</h1>
55
<br>
@@ -49,7 +49,7 @@ npm install @openng/ngx-toastr --save
4949
**step 1:** add css
5050

5151
- copy
52-
[toast css](https://github.com/openng-org/ngx-toastr/blob/master/projects/ngx-toastr/src/lib/toastr.css)
52+
[toast css](https://github.com/openng-org/ngx-toastr/blob/main/projects/ngx-toastr/src/lib/toastr.css)
5353
to your project.
5454
- If you are using sass you can import the css.
5555

@@ -347,7 +347,7 @@ That's it! No animations.
347347
## Using A Custom Toast
348348

349349
Create your toast component extending Toast see the demo's pink toast for an example
350-
<https://github.com/openng-org/ngx-toastr/blob/master/src/app/pink-toast/pink-toast.component.ts>
350+
<https://github.com/openng-org/ngx-toastr/blob/main/src/app/pink-toast/pink-toast.component.ts>
351351

352352
```typescript
353353
import { ToastrModule } from '@openng/ngx-toastr';
@@ -377,7 +377,7 @@ ngOnInit() {
377377
```
378378

379379
2. Change default icons (check, warning sign, etc)\
380-
Overwrite the css background-image: <https://github.com/openng-org/ngx-toastr/blob/master/projects/ngx-toastr/src/lib/toastr.css>.
380+
Overwrite the css background-image: <https://github.com/openng-org/ngx-toastr/blob/main/projects/ngx-toastr/src/lib/toastr.css>.
381381
3. How do I use this in an ErrorHandler?\
382382
See: <https://github.com/scttcper/ngx-toastr/issues/179>.
383383
4. How can I translate messages?\

src/app/footer/footer.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { Component, VERSION } from '@angular/core';
66
<footer class="footer mb-4 mt-5">
77
Angular {{ version }}
88
<br />
9-
<a href="https://github.com/openng-org/ngx-toastr/blob/master/LICENSE">MIT license</a>
9+
<a href="https://github.com/openng-org/ngx-toastr/blob/main/LICENSE">MIT license</a>
1010
-
1111
<a href="https://github.com/openng-org/ngx-toastr">Source</a>
1212
</footer>

src/index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,26 +17,26 @@
1717
<!-- Search Engine -->
1818
<meta
1919
name="image"
20-
content="https://raw.githubusercontent.com/openng-org/ngx-toastr/master/misc/documentation-assets/ngx-toastr-example.png"
20+
content="https://raw.githubusercontent.com/openng-org/ngx-toastr/main/misc/documentation-assets/ngx-toastr-example.png"
2121
/>
2222
<!-- Schema.org for Google -->
2323
<meta itemprop="name" content="@openng/ngx-toastr" />
2424
<meta
2525
itemprop="image"
26-
content="https://raw.githubusercontent.com/openng-org/ngx-toastr/master/misc/documentation-assets/ngx-toastr-example.png"
26+
content="https://raw.githubusercontent.com/openng-org/ngx-toastr/main/misc/documentation-assets/ngx-toastr-example.png"
2727
/>
2828
<!-- Twitter -->
2929
<meta name="twitter:card" content="summary" />
3030
<meta name="twitter:title" content="@openng/ngx-toastr" />
3131
<meta
3232
name="twitter:image:src"
33-
content="https://raw.githubusercontent.com/openng-org/ngx-toastr/master/misc/documentation-assets/ngx-toastr-example.png"
33+
content="https://raw.githubusercontent.com/openng-org/ngx-toastr/main/misc/documentation-assets/ngx-toastr-example.png"
3434
/>
3535
<!-- Open Graph general (Facebook, Pinterest & Google+) -->
3636
<meta property="og:title" content="@openng/ngx-toastr" />
3737
<meta
3838
property="og:image"
39-
content="https://raw.githubusercontent.com/openng-org/ngx-toastr/master/misc/documentation-assets/ngx-toastr-example.png"
39+
content="https://raw.githubusercontent.com/openng-org/ngx-toastr/main/misc/documentation-assets/ngx-toastr-example.png"
4040
/>
4141
<meta property="og:url" content="https://ngx-toastr.vercel.app/" />
4242
<meta property="og:site_name" content="@openng/ngx-toastr" />

0 commit comments

Comments
 (0)