Rename site.css to website.css
All checks were successful
release / Publish to Cloudflare Pages (push) Successful in 1m22s
All checks were successful
release / Publish to Cloudflare Pages (push) Successful in 1m22s
This commit is contained in:
4
.gitignore
vendored
4
.gitignore
vendored
@@ -3,5 +3,5 @@ node_modules
|
|||||||
.vscode
|
.vscode
|
||||||
build
|
build
|
||||||
.wrangler
|
.wrangler
|
||||||
site.css
|
website.css
|
||||||
site.css.map
|
website.css.map
|
||||||
@@ -21,6 +21,6 @@ This will show changes live, exactly as the content will be rendered when run fr
|
|||||||
|
|
||||||
To generate the css file during development, run the following:
|
To generate the css file during development, run the following:
|
||||||
|
|
||||||
`npx sass --watch site.scss. site.css`
|
`npx sass --watch website.scss. website.css`
|
||||||
|
|
||||||
Note: The contact form cannot be tested locally with wrangler as this is not supported by Email Routing, instead you'll need to use the --remote
|
Note: The contact form cannot be tested locally with wrangler as this is not supported by Email Routing, instead you'll need to use the --remote
|
||||||
|
|||||||
2
build.sh
2
build.sh
@@ -1,3 +1,3 @@
|
|||||||
mkdir -p build/
|
mkdir -p build/
|
||||||
cp -r *.png *.xml *.html *.svg *.webmanifest *.ico robots.txt _headers functions contact build
|
cp -r *.png *.xml *.html *.svg *.webmanifest *.ico robots.txt _headers functions contact build
|
||||||
npx sass --quiet --style=compressed --no-source-map site.scss build/site.css
|
npx sass --quiet --style=compressed --no-source-map website.scss build/website.css
|
||||||
@@ -4,7 +4,7 @@
|
|||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<title>Michael Pivato | Contact</title>
|
<title>Michael Pivato | Contact</title>
|
||||||
<link rel="stylesheet" href="../site.css" />
|
<link rel="stylesheet" href="../website.css" />
|
||||||
<link
|
<link
|
||||||
rel="apple-touch-icon"
|
rel="apple-touch-icon"
|
||||||
sizes="180x180"
|
sizes="180x180"
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<title>Michael Pivato</title>
|
<title>Michael Pivato</title>
|
||||||
<link rel="stylesheet" href="site.css" />
|
<link rel="stylesheet" href="website.css" />
|
||||||
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
|
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
|
||||||
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png" />
|
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png" />
|
||||||
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png" />
|
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png" />
|
||||||
|
|||||||
Reference in New Issue
Block a user