Skip to content

Commit

Permalink
feat: replace old url for logo.png
Browse files Browse the repository at this point in the history
  • Loading branch information
xsf0105 committed Aug 28, 2024
1 parent 0d602f9 commit e22b9de
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions demo/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class MyComponent extends QuarkElement {
window.clearInterval(timer);
return;
}

this.welcomes = [...this.welcomes, WELCOME[i++]];
}, 100);
}
Expand Down Expand Up @@ -82,7 +82,7 @@ class MyComponent extends QuarkElement {
<div>
<a href="https://quarkc.hellobike.com" target="_blank">
<img
src="https://quark-design.hellobike.com/assets/quark-logo.f9a6a307.png"
src="https://fastly.jsdelivr.net/npm/quark-static@latest/quark-logo.png"
class="logo"
alt="quark logo"
/>
Expand Down
2 changes: 1 addition & 1 deletion examples/using-local-bundle/src/lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ let l = class extends r {
r.h(
"a",
{ href: "https://quarkc.hellobike.com", target: "_blank" },
r.h("img", { src: "https://quark-design.hellobike.com/assets/quark-logo.f9a6a307.png", class: "logo", alt: "quark logo" })
r.h("img", { src: "https://fastly.jsdelivr.net/npm/quark-static@latest/quark-logo.png", class: "logo", alt: "quark logo" })
)
),
r.h(
Expand Down
2 changes: 1 addition & 1 deletion examples/using-local-bundle/src/lib/index.umd.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ export default class Header extends QuarkElement {
}]

componentDidMount(): void {}

render() {
return (
<header class="header sticky">
<div>
<div class="container">
<div class="left-bar">
<a href="/">
<img src="https://quark-design.hellobike.com/assets/quark-logo.f9a6a307.png" alt="" />
<img src="https://fastly.jsdelivr.net/npm/quark-static@latest/quark-logo.png" alt="" />
</a>
<span href="/">
{ this.version }
Expand All @@ -36,7 +36,7 @@ export default class Header extends QuarkElement {
<div class="toper-bar">
<div class="menu-group">
{
this.menus.map((item) =>
this.menus.map((item) =>
<div class="nav-item menu">
<a href={item.link}>
{item.name}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ export default class Header extends QuarkElement {
}]

componentDidMount(): void {}

render() {
return (
<header class="header sticky">
<div>
<div class="container">
<div class="left-bar">
<a href="/">
<img src="https://quark-design.hellobike.com/assets/quark-logo.f9a6a307.png" alt="" />
<img src="https://fastly.jsdelivr.net/npm/quark-static@latest/quark-logo.png" alt="" />
</a>
<span href="/">
{ this.version }
Expand All @@ -36,7 +36,7 @@ export default class Header extends QuarkElement {
<div class="toper-bar">
<div class="menu-group">
{
this.menus.map((item) =>
this.menus.map((item) =>
<div class="nav-item menu">
<a href={item.link}>
{item.name}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class MyComponent extends QuarkElement {
<div>
<a href="https://quarkc.hellobike.com" target="_blank">
<img
src="https://quark-design.hellobike.com/assets/quark-logo.f9a6a307.png"
src="https://fastly.jsdelivr.net/npm/quark-static@latest/quark-logo.png"
class="logo"
alt="quark logo"
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class MyComponent extends QuarkElement {
<div>
<a href="https://quarkc.hellobike.com" target="_blank">
<img
src="https://quark-design.hellobike.com/assets/quark-logo.f9a6a307.png"
src="https://fastly.jsdelivr.net/npm/quark-static@latest/quark-logo.png"
class="logo"
alt="quark logo"
/>
Expand Down

0 comments on commit e22b9de

Please sign in to comment.