Skip to content

Commit 031b38f

Browse files
committed
Use netlify as the primary domain
1 parent dff71b6 commit 031b38f

File tree

6 files changed

+16
-11
lines changed

6 files changed

+16
-11
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<a href="http://items.projectceleste.com">
1212
<img alt="Latest" src="https://flat.badgen.net/badge/App/Latest?icon=chrome&color=fb3">
1313
</a>
14-
<a href="https://search.projectceleste.com">
14+
<a href="https://celeste-search.netlify.com">
1515
<img alt="Next" src="https://flat.badgen.net/badge/App/Next?icon=chrome&color=488489">
1616
</a>
1717
<a href="https://raw.githubusercontent.com/n4bb12/celeste-search/master/LICENSE">

src/app/pipes/effect-value.pipe.ts

+2
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ export class EffectValuePipe implements PipeTransform {
1919
const sign = base < 0 ? "-" : "+"
2020
const unit = "%"
2121

22+
console.log(JSON.stringify({ effect, precision, base, sign, unit }, null, 2))
23+
2224
const modified = base * modifier
2325
const absolute = Math.abs(modified)
2426
const rounded = absolute.toFixed(precision)

src/app/results/item/item.component.html

+7-4
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,21 @@
1818
[class.--positive]="effect.beneficial"
1919
[class.--negative]="!effect.beneficial"
2020
>
21-
<span>{{ effect.name }}<ng-container *ngIf="effect.scaling">:
22-
</ng-container></span>
21+
<pre>{{ effect | json }}</pre>
22+
<span>
23+
{{ effect.name }}
24+
<ng-container *ngIf="effect.scaling">:</ng-container>
25+
</span>
2326
<span
2427
class="__value --left"
25-
*ngIf="effect.scaling"
28+
*ngIf="effect.scaling "
2629
>
2730
{{ effect | effectValue:level:1 }}
2831
</span>
2932
<cis-tooltip
3033
class="__value --right"
3134
text="Effect Range (+/- 5%)"
32-
*ngIf="effect.scaling && item.effectsRange"
35+
*ngIf="effect.scaling && item.effectsRange"
3336
>
3437
{{
3538
(effect | effectValue:level:0.95).slice(0, -1) +

src/index.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<meta name="description" content="Find items, advisors, blueprints, designs and consumables – Search by anything" />
1111
<meta name="keywords" content="age, of, empires, online, aoeo, project, celeste, items, advisors, blueprints, designs and consumables, search, db, stats, name, slot, quality, level, effect, material, shop, vendor, currency, materials, marketplace" />
1212
<meta name="image" content="/assets/meta/app-512.png">
13-
<link rel="canonical" href="https://search.projectceleste.com" />
13+
<link rel="canonical" href="https://celeste-search.netlify.com" />
1414

1515
<!-- Web App -->
1616
<link rel="manifest" href="/manifest.json">
@@ -28,15 +28,15 @@
2828
<!-- Open Graph -->
2929
<meta property="og:title" content="Celeste Search" />
3030
<meta property="og:type" content="website" />
31-
<meta property="og:url" content="https://search.projectceleste.com" />
31+
<meta property="og:url" content="https://celeste-search.netlify.com" />
3232
<meta property="og:image" content="/assets/meta/app-128.png" />
3333
<meta property="og:description" content="Find items, advisors, blueprints, designs and consumables – Search by anything" />
3434
<meta property="og:determiner" content="the" />
3535
<meta property="og:locale" content="en_US" />
3636
<meta property="og:site_name" content="Project Celeste - Search" />
3737

3838
<!-- Structured Data -->
39-
<script type="application/ld+json">{"@context": "http://schema.org", "@type": "WebSite", "name": "Celeste Search", "alternateName": "Search", "url": "https://search.projectceleste.com"}</script>
39+
<script type="application/ld+json">{"@context": "http://schema.org", "@type": "WebSite", "name": "Celeste Search", "alternateName": "Search", "url": "https://celeste-search.netlify.com"}</script>
4040

4141
<!-- Favicons -->
4242
<link rel="icon" type="image/png" sizes="16x16" href="/assets/meta/app-16.png">

src/netlify.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[[redirects]]
2-
from = "https://celeste-search.netlify.com/*"
3-
to = "https://search.projectceleste.com/:splat"
2+
from = "https://search.projectceleste.com/*"
3+
to = "https://celeste-search.netlify.com/:splat"
44
status = 301
55
force = true
66

src/sitemap.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
33

44
<url>
5-
<loc>https://search.projectceleste.com/</loc>
5+
<loc>https://celeste-search.netlify.com/</loc>
66
<lastmod>__LASTMOD__</lastmod>
77
<changefreq>weekly</changefreq>
88
<priority>1.0</priority>

0 commit comments

Comments
 (0)