Skip to content

Commit 2f16a64

Browse files
authored
Merge pull request #292 from Lattice-Automation/new-deployment
New deployment
2 parents 94203a9 + 7f8ad06 commit 2f16a64

File tree

6 files changed

+5
-7
lines changed

6 files changed

+5
-7
lines changed

demo/lib/App.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,7 @@ const SidebarHeader = ({ toggleSidebar }: { toggleSidebar: () => void }) => (
479479
>
480480
<Box sx={{ display: "flex", alignItems: "center" }}>
481481
<img
482-
src="https://tools.latticeautomation.com/seqviz/seqviz-logo.png"
482+
src="https://seqviz.latticeautomation.com/seqviz-logo.png"
483483
alt="SeqViz"
484484
style={{ height: "36px", marginRight: "16px" }}
485485
/>
@@ -503,7 +503,7 @@ const SidebarFooter = () => (
503503
>
504504
<Divider sx={{ mb: 2 }} />
505505
<img
506-
src="https://tools.latticeautomation.com/seqviz/lattice-brand.png"
506+
src="https://seqviz.latticeautomation.com/lattice-brand.png"
507507
alt="Lattice Automation"
508508
style={{ height: "64px", margin: "0 auto 8px auto" }}
509509
/>

demo/lib/Header.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ const Header: React.FC<HeaderProps> = ({
8282

8383
<Box sx={{ pl: 2 }}>
8484
<img
85-
src="https://tools.latticeautomation.com/seqviz/seqviz-logo.png"
85+
src="https://seqviz.latticeautomation.com/seqviz-logo.png"
8686
alt="SeqViz"
8787
style={{ height: "48px" }}
8888
/>

demo/next.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const path = require('path');
44
const nextConfig = {
55
reactStrictMode: true,
66
output: 'export',
7-
basePath: '/seqviz',
7+
// basePath: '/seqviz', // Removed for Amplify root deployment
88
images: {
99
unoptimized: true,
1010
},

demo/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
"private": true,
66
"scripts": {
77
"build": "next build",
8-
"deploy": "npm update seqviz && npm run build && aws s3 sync ./out s3://lattice-tools-s3/seqviz --delete && aws cloudfront create-invalidation --distribution-id E3NMX6D92LFTAV --paths '/seqviz/*'",
98
"fix": "prettier ./lib/** ./pages/** --write && eslint lib --ext ts,tsx --fix",
109
"lint": "prettier ./lib/** --check && eslint lib --ext ts,tsx --quiet",
1110
"start": "open http://localhost:3010/ && next dev -p 3010",

demo/pages/_app.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export default function App({ Component, pageProps }: AppProps) {
2626
<Head>
2727
<title>SeqViz - by Lattice Automation</title>
2828

29-
<link rel="icon" href="/seqviz/favicon.ico" />
29+
<link rel="icon" href="/favicon.ico" />
3030
<meta name="Description" content="DNA Sequence Visualizer by Lattice Automation" />
3131
<meta name="google" content="notranslate" />
3232
<meta name="viewport" content="width=device-width, initial-scale=1" />

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
"unpkg": "dist/seqviz.min.js",
88
"scripts": {
99
"build": "rm -rf ./dist && webpack",
10-
"demo": "cd demo && npm run deploy",
1110
"fix": "prettier ./src/** --write && eslint src --ext ts,tsx --fix",
1211
"lint": "prettier ./src/** --check && eslint src --ext ts,tsx --quiet",
1312
"minor": "./release.sh minor",

0 commit comments

Comments
 (0)