Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: replace solana logo with placeholder #54

Merged
merged 1 commit into from
Apr 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ exports[`application generator custom apps should generate app without anchor 1`
">",
"<div>",
"<Link href="/">",
"<img src="/assets/solana-logo.png" height={24} alt="Solana Logo" />",
"<img src="/assets/logo.png" height={24} alt="Logo" />",
"</Link>",
"</div>",
"<div>",
Expand Down Expand Up @@ -485,7 +485,7 @@ exports[`application generator custom apps should generate app without anchor 1`
">",
"<div>",
"<Link href="/">",
"<img src="/solana-logo.png" height={24} alt="Solana Logo" />",
"<img src="/logo.png" height={24} alt="Logo" />",
"</Link>",
"</div>",
"<div>",
Expand Down Expand Up @@ -650,10 +650,10 @@ exports[`application generator custom apps should generate app without anchor 1`
"isBinary": true,
"path": "./test-app/public/favicon.ico",
},
"solana-logo.png": {
"logo.png": {
"content": null,
"isBinary": true,
"path": "./test-app/public/solana-logo.png",
"path": "./test-app/public/logo.png",
},
},
"path": "./test-app/public",
Expand Down Expand Up @@ -3010,7 +3010,7 @@ exports[`application generator default apps should generate default app with "no
">",
"<div>",
"<Link href="/">",
"<img src="/assets/solana-logo.png" height={24} alt="Solana Logo" />",
"<img src="/assets/logo.png" height={24} alt="Logo" />",
"</Link>",
"</div>",
"<div>",
Expand Down Expand Up @@ -3157,7 +3157,7 @@ exports[`application generator default apps should generate default app with "no
">",
"<div>",
"<Link href="/">",
"<img src="/solana-logo.png" height={24} alt="Solana Logo" />",
"<img src="/logo.png" height={24} alt="Logo" />",
"</Link>",
"</div>",
"<div>",
Expand Down Expand Up @@ -3322,10 +3322,10 @@ exports[`application generator default apps should generate default app with "no
"isBinary": true,
"path": "./test-app/public/favicon.ico",
},
"solana-logo.png": {
"logo.png": {
"content": null,
"isBinary": true,
"path": "./test-app/public/solana-logo.png",
"path": "./test-app/public/logo.png",
},
},
"path": "./test-app/public",
Expand Down Expand Up @@ -7254,11 +7254,7 @@ exports[`application generator default apps should generate default app with "ta
"<div className="navbar bg-base-300 text-neutral-content flex-col md:flex-row space-y-2 md:space-y-0">",
"<div className="flex-1">",
"<Link className="btn btn-ghost normal-case text-xl" href="/">",
"<img",
"className="h-4 md:h-6"",
"alt="Solana Logo"",
"src="/solana-logo.png"",
"/>",
"<img className="h-4 md:h-6" alt="Logo" src="/logo.png" />",
"</Link>",
"<ul className="menu menu-horizontal px-1 space-x-2">",
"{links.map(({ label, path }) => (",
Expand Down Expand Up @@ -7565,10 +7561,10 @@ exports[`application generator default apps should generate default app with "ta
"isBinary": true,
"path": "./test-app/public/favicon.ico",
},
"solana-logo.png": {
"logo.png": {
"content": null,
"isBinary": true,
"path": "./test-app/public/solana-logo.png",
"path": "./test-app/public/logo.png",
},
},
"path": "./test-app/public",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ exports[`next-template generator should generate files for base template 1`] = `
"isBinary": true,
"path": "test/public/favicon.ico",
},
"solana-logo.png": {
"logo.png": {
"content": null,
"isBinary": true,
"path": "test/public/solana-logo.png",
"path": "test/public/logo.png",
},
},
"path": "test/public",
Expand Down Expand Up @@ -145,7 +145,7 @@ exports[`next-template generator should generate files for none template 1`] = `
">",
"<div>",
"<Link href="/">",
"<img src="/solana-logo.png" height={24} alt="Solana Logo" />",
"<img src="/logo.png" height={24} alt="Logo" />",
"</Link>",
"</div>",
"<div>",
Expand Down
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export function AppLayout({ children }: { children: ReactNode }) {
>
<div>
<Link href="/">
<img src="/solana-logo.png" height={24} alt="Solana Logo" />
<img src="/logo.png" height={24} alt="Logo" />
</Link>
</div>
<div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ exports[`react-application generator custom apps should generate app without anc
">",
"<div>",
"<Link to="/">",
"<img src="/assets/solana-logo.png" height={24} alt="Solana Logo" />",
"<img src="/assets/logo.png" height={24} alt="Logo" />",
"</Link>",
"</div>",
"<div>",
Expand Down Expand Up @@ -544,10 +544,10 @@ exports[`react-application generator custom apps should generate app without anc
"isBinary": false,
"path": "./test-app/src/assets/.gitkeep",
},
"solana-logo.png": {
"logo.png": {
"content": null,
"isBinary": true,
"path": "./test-app/src/assets/solana-logo.png",
"path": "./test-app/src/assets/logo.png",
},
},
"path": "./test-app/src/assets",
Expand Down Expand Up @@ -2079,7 +2079,7 @@ exports[`react-application generator default apps should generate default app wi
">",
"<div>",
"<Link to="/">",
"<img src="/assets/solana-logo.png" height={24} alt="Solana Logo" />",
"<img src="/assets/logo.png" height={24} alt="Logo" />",
"</Link>",
"</div>",
"<div>",
Expand Down Expand Up @@ -2264,10 +2264,10 @@ exports[`react-application generator default apps should generate default app wi
"isBinary": false,
"path": "./test-app/src/assets/.gitkeep",
},
"solana-logo.png": {
"logo.png": {
"content": null,
"isBinary": true,
"path": "./test-app/src/assets/solana-logo.png",
"path": "./test-app/src/assets/logo.png",
},
},
"path": "./test-app/src/assets",
Expand Down Expand Up @@ -5350,11 +5350,7 @@ exports[`react-application generator default apps should generate default app wi
"<div className="navbar bg-base-300 text-neutral-content flex-col md:flex-row space-y-2 md:space-y-0">",
"<div className="flex-1">",
"<Link className="btn btn-ghost normal-case text-xl" to="/">",
"<img",
"className="h-4 md:h-6"",
"alt="Solana Logo"",
"src="/assets/solana-logo.png"",
"/>",
"<img className="h-4 md:h-6" alt="Logo" src="/assets/logo.png" />",
"</Link>",
"<ul className="menu menu-horizontal px-1 space-x-2">",
"{links.map(({ label, path }) => (",
Expand Down Expand Up @@ -5526,10 +5522,10 @@ exports[`react-application generator default apps should generate default app wi
"isBinary": false,
"path": "./test-app/src/assets/.gitkeep",
},
"solana-logo.png": {
"logo.png": {
"content": null,
"isBinary": true,
"path": "./test-app/src/assets/solana-logo.png",
"path": "./test-app/src/assets/logo.png",
},
},
"path": "./test-app/src/assets",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3017,8 +3017,8 @@ exports[`react-feature generator should generate files for anchor-basic feature
"<Link className="btn btn-ghost normal-case text-xl"",
"to="/"",
">",
"<img className="h-4 md:h-6" alt="Solana Logo"",
"src="/assets/solana-logo.png"",
"<img className="h-4 md:h-6" alt="Logo"",
"src="/assets/logo.png"",
"/>",
"</Link>",
"<ul className="menu menu-horizontal px-1 space-x-2">",
Expand Down Expand Up @@ -3172,10 +3172,10 @@ exports[`react-feature generator should generate files for anchor-basic feature
"isBinary": false,
"path": "./web-app/src/assets/.gitkeep",
},
"solana-logo.png": {
"logo.png": {
"content": null,
"isBinary": true,
"path": "./web-app/src/assets/solana-logo.png",
"path": "./web-app/src/assets/logo.png",
},
},
"path": "./web-app/src/assets",
Expand Down Expand Up @@ -6865,8 +6865,8 @@ exports[`react-feature generator should generate files for anchor-counter featur
"<Link className="btn btn-ghost normal-case text-xl"",
"to="/"",
">",
"<img className="h-4 md:h-6" alt="Solana Logo"",
"src="/assets/solana-logo.png"",
"<img className="h-4 md:h-6" alt="Logo"",
"src="/assets/logo.png"",
"/>",
"</Link>",
"<ul className="menu menu-horizontal px-1 space-x-2">",
Expand Down Expand Up @@ -7020,10 +7020,10 @@ exports[`react-feature generator should generate files for anchor-counter featur
"isBinary": false,
"path": "./web-app/src/assets/.gitkeep",
},
"solana-logo.png": {
"logo.png": {
"content": null,
"isBinary": true,
"path": "./web-app/src/assets/solana-logo.png",
"path": "./web-app/src/assets/logo.png",
},
},
"path": "./web-app/src/assets",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ exports[`react-template generator should generate files for base template 1`] =
"children": {
"assets": {
"children": {
"solana-logo.png": {
"logo.png": {
"content": null,
"isBinary": true,
"path": "test/src/assets/solana-logo.png",
"path": "test/src/assets/logo.png",
},
},
"path": "test/src/assets",
Expand Down Expand Up @@ -95,7 +95,7 @@ exports[`react-template generator should generate files for none template 1`] =
">",
"<div>",
"<Link to="/">",
"<img src="/assets/solana-logo.png" height={24} alt="Solana Logo" />",
"<img src="/assets/logo.png" height={24} alt="Logo" />",
"</Link>",
"</div>",
"<div>",
Expand Down Expand Up @@ -1269,8 +1269,8 @@ exports[`react-template generator should generate files for tailwind template 1`
"<Link className="btn btn-ghost normal-case text-xl"",
"to="/"",
">",
"<img className="h-4 md:h-6" alt="Solana Logo"",
"src="/assets/solana-logo.png"",
"<img className="h-4 md:h-6" alt="Logo"",
"src="/assets/logo.png"",
"/>",
"</Link>",
"<ul className="menu menu-horizontal px-1 space-x-2">",
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export function AppLayout({ children }: { children: ReactNode }) {
>
<div>
<Link <% if (preset === 'react') { %>to="/"<% } else if (preset === 'next') { %>href="/"<% } %>>
<img src="/assets/solana-logo.png" height={24} alt="Solana Logo" />
<img src="/assets/logo.png" height={24} alt="Logo" />
</Link>
</div>
<div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ export function UiLayout({ children, links }: { children: ReactNode, links: { la
href="/"
<% } %>
>
<img className="h-4 md:h-6" alt="Solana Logo"
<img className="h-4 md:h-6" alt="Logo"
<% if (preset === 'react') { %>
src="/assets/solana-logo.png"
src="/assets/logo.png"
<% } else if (preset === 'next') { %>
src="/solana-logo.png"
src="/logo.png"
<% } %>
/>
</Link>
Expand Down
Loading