Updated layout added robots
This commit is contained in:
122
package-lock.json
generated
122
package-lock.json
generated
@@ -22,6 +22,7 @@
|
||||
"postcss-load-config": "^4.0.2",
|
||||
"svelte": "*",
|
||||
"svelte-check": "*",
|
||||
"svelte-sitemap": "^2.6.0",
|
||||
"tailwindcss": "^3.4.3",
|
||||
"tslib": "*",
|
||||
"typescript": "*",
|
||||
@@ -514,6 +515,54 @@
|
||||
"node": ">= 8"
|
||||
}
|
||||
},
|
||||
"node_modules/@oozcitak/dom": {
|
||||
"version": "1.15.10",
|
||||
"resolved": "https://registry.npmjs.org/@oozcitak/dom/-/dom-1.15.10.tgz",
|
||||
"integrity": "sha512-0JT29/LaxVgRcGKvHmSrUTEvZ8BXvZhGl2LASRUgHqDTC1M5g1pLmVv56IYNyt3bG2CUjDkc67wnyZC14pbQrQ==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"@oozcitak/infra": "1.0.8",
|
||||
"@oozcitak/url": "1.0.4",
|
||||
"@oozcitak/util": "8.3.8"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=8.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@oozcitak/infra": {
|
||||
"version": "1.0.8",
|
||||
"resolved": "https://registry.npmjs.org/@oozcitak/infra/-/infra-1.0.8.tgz",
|
||||
"integrity": "sha512-JRAUc9VR6IGHOL7OGF+yrvs0LO8SlqGnPAMqyzOuFZPSZSXI7Xf2O9+awQPSMXgIWGtgUf/dA6Hs6X6ySEaWTg==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"@oozcitak/util": "8.3.8"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=6.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@oozcitak/url": {
|
||||
"version": "1.0.4",
|
||||
"resolved": "https://registry.npmjs.org/@oozcitak/url/-/url-1.0.4.tgz",
|
||||
"integrity": "sha512-kDcD8y+y3FCSOvnBI6HJgl00viO/nGbQoCINmQ0h98OhnGITrWR3bOGfwYCthgcrV8AnTJz8MzslTQbC3SOAmw==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"@oozcitak/infra": "1.0.8",
|
||||
"@oozcitak/util": "8.3.8"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=8.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@oozcitak/util": {
|
||||
"version": "8.3.8",
|
||||
"resolved": "https://registry.npmjs.org/@oozcitak/util/-/util-8.3.8.tgz",
|
||||
"integrity": "sha512-T8TbSnGsxo6TDBJx/Sgv/BlVJL3tshxZP7Aq5R1mSnM5OcHY2dQaxLMu2+E8u3gN0MLOzdjurqN4ZRVuzQycOQ==",
|
||||
"dev": true,
|
||||
"engines": {
|
||||
"node": ">=8.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@pkgjs/parseargs": {
|
||||
"version": "0.11.0",
|
||||
"resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz",
|
||||
@@ -823,6 +872,15 @@
|
||||
"integrity": "sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg==",
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/argparse": {
|
||||
"version": "1.0.10",
|
||||
"resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz",
|
||||
"integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"sprintf-js": "~1.0.2"
|
||||
}
|
||||
},
|
||||
"node_modules/aria-query": {
|
||||
"version": "5.3.0",
|
||||
"resolved": "https://registry.npmjs.org/aria-query/-/aria-query-5.3.0.tgz",
|
||||
@@ -1317,6 +1375,19 @@
|
||||
"integrity": "sha512-Cf6VksWPsTuW01vU9Mk/3vRue91Zevka5SjyNf3nEpokFRuqt/KjUQoGAwq9qMmhpLTHmXzSIrFRw8zxWzmFBA==",
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/esprima": {
|
||||
"version": "4.0.1",
|
||||
"resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz",
|
||||
"integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==",
|
||||
"dev": true,
|
||||
"bin": {
|
||||
"esparse": "bin/esparse.js",
|
||||
"esvalidate": "bin/esvalidate.js"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=4"
|
||||
}
|
||||
},
|
||||
"node_modules/estree-walker": {
|
||||
"version": "2.0.2",
|
||||
"resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-2.0.2.tgz",
|
||||
@@ -1653,6 +1724,19 @@
|
||||
"jiti": "bin/jiti.js"
|
||||
}
|
||||
},
|
||||
"node_modules/js-yaml": {
|
||||
"version": "3.14.1",
|
||||
"resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz",
|
||||
"integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"argparse": "^1.0.7",
|
||||
"esprima": "^4.0.0"
|
||||
},
|
||||
"bin": {
|
||||
"js-yaml": "bin/js-yaml.js"
|
||||
}
|
||||
},
|
||||
"node_modules/kleur": {
|
||||
"version": "4.1.5",
|
||||
"resolved": "https://registry.npmjs.org/kleur/-/kleur-4.1.5.tgz",
|
||||
@@ -2424,6 +2508,12 @@
|
||||
"node": ">=0.10.0"
|
||||
}
|
||||
},
|
||||
"node_modules/sprintf-js": {
|
||||
"version": "1.0.3",
|
||||
"resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz",
|
||||
"integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==",
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/string-width": {
|
||||
"version": "5.1.2",
|
||||
"resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz",
|
||||
@@ -2725,6 +2815,23 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"node_modules/svelte-sitemap": {
|
||||
"version": "2.6.0",
|
||||
"resolved": "https://registry.npmjs.org/svelte-sitemap/-/svelte-sitemap-2.6.0.tgz",
|
||||
"integrity": "sha512-WcwsuIeo8iJFG9a5cgvXwXEGoyjk6Zowb6JmL5BbwfnFXMzakGa1+mQjthw5Ni3UV/gGbE0PgJvc7Ygir3LmFg==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"fast-glob": "^3.2.12",
|
||||
"minimist": "^1.2.8",
|
||||
"xmlbuilder2": "^3.0.2"
|
||||
},
|
||||
"bin": {
|
||||
"svelte-sitemap": "index.js"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 14.17.0"
|
||||
}
|
||||
},
|
||||
"node_modules/svelte/node_modules/estree-walker": {
|
||||
"version": "3.0.3",
|
||||
"resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-3.0.3.tgz",
|
||||
@@ -3116,6 +3223,21 @@
|
||||
"integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==",
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/xmlbuilder2": {
|
||||
"version": "3.1.1",
|
||||
"resolved": "https://registry.npmjs.org/xmlbuilder2/-/xmlbuilder2-3.1.1.tgz",
|
||||
"integrity": "sha512-WCSfbfZnQDdLQLiMdGUQpMxxckeQ4oZNMNhLVkcekTu7xhD4tuUDyAPoY8CwXvBYE6LwBHd6QW2WZXlOWr1vCw==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"@oozcitak/dom": "1.15.10",
|
||||
"@oozcitak/infra": "1.0.8",
|
||||
"@oozcitak/util": "8.3.8",
|
||||
"js-yaml": "3.14.1"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=12.0"
|
||||
}
|
||||
},
|
||||
"node_modules/yaml": {
|
||||
"version": "2.4.1",
|
||||
"resolved": "https://registry.npmjs.org/yaml/-/yaml-2.4.1.tgz",
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
"postcss-load-config": "^4.0.2",
|
||||
"svelte": "*",
|
||||
"svelte-check": "*",
|
||||
"svelte-sitemap": "^2.6.0",
|
||||
"tailwindcss": "^3.4.3",
|
||||
"tslib": "*",
|
||||
"typescript": "*",
|
||||
|
||||
2
public/robots.txt
Normal file
2
public/robots.txt
Normal file
@@ -0,0 +1,2 @@
|
||||
User-agent: *
|
||||
Disallow:
|
||||
@@ -1,5 +1,4 @@
|
||||
<script lang="ts">
|
||||
import "../app.postcss";
|
||||
import { onMount } from "svelte";
|
||||
import { PUBLIC_BASE_URL } from "$env/static/public";
|
||||
import type { company, oilprice } from '$lib/types/types'
|
||||
@@ -44,16 +43,15 @@
|
||||
}
|
||||
});
|
||||
</script>
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<title>Auburn Man Heating Oil Delivery </title>
|
||||
|
||||
<meta charset="UTF-8">
|
||||
<meta name="description" content="Auburn Oil delivers quality fuel to Southern Worcester County">
|
||||
<meta name="keywords" content="Home heating Oil">
|
||||
<meta name="author" content="Auburn Oil">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
</head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
||||
<meta name="description" content="Auburn Oil provides reliable heating oil delivery, expert HVAC service, and boiler maintenance to homes in Auburn, Worcester, Oxford, Sutton, and Webster. Experience comfort and peace of mind with our local service.">
|
||||
</head>
|
||||
<div class="grid grid-cols-12 bg-white overflow-hidden">
|
||||
<div class="col-span-12 md:col-span-3 text-3xl p-10 text-base-100 font-bold invisible md:visible h-0 md:h-auto">
|
||||
<div class="text-center pt-5">Call Today</div>
|
||||
@@ -159,7 +157,14 @@
|
||||
<div class="">Mon - Fri 8:00 am - 5:00 pm</div>
|
||||
<div class="">Sat Closed | Sun Closed</div>
|
||||
</div>
|
||||
<div class="col-span-4 text-center"></div>
|
||||
<div class="col-span-12 md:col-span-4 pb-10 text-center">
|
||||
<div class="flex-1"><a href="/">Home</a></div>
|
||||
<div class="flex-1"><a href="/delivery">Oil Delivery</a></div>
|
||||
<div class="flex-1"><a href="/servicearea">Delivery Area</a></div>
|
||||
<div class="flex-1"><a href="/about">About Us</a></div>
|
||||
<div class="flex-1"><a href="/contact">Contact</a></div>
|
||||
</div>
|
||||
|
||||
<div class="col-span-12 h-auto bg-primary text-white w-full ">
|
||||
<div class=" mx-auto max-w-7xl p-5">
|
||||
<div class="text-xl font-bold text-center">
|
||||
@@ -1,5 +1,5 @@
|
||||
<script lang="ts">
|
||||
import "../app.postcss";
|
||||
import "../../app.postcss";
|
||||
import { onMount } from "svelte";
|
||||
import { PUBLIC_BASE_URL } from "$env/static/public";
|
||||
import type { company, oilprice } from '$lib/types/types'
|
||||
@@ -45,10 +45,17 @@
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
<title>Auburn Oil: Heating Oil Delivery Service in Southern Worcester County</title>
|
||||
<div class="bg-blue-900 text-white">
|
||||
<div class="mx-auto p-0">
|
||||
<img class="w-full p-0 m-0" src="/images/worc.jpg" alt="" />
|
||||
<div class="bg-secondary px-10">
|
||||
<div class="max-w-7xl justify-center py-5 mx-auto font-bold text-white">
|
||||
<h1 class="text-center text-xl">Delivering Oil to Worcester County</h1>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="mx-auto p-0 ">
|
||||
<img class="mx-auto p-0 m-0 overflow-hidden" src="/images/worc.png" alt="Auburn Massachusetts" />
|
||||
</div>
|
||||
|
||||
<div class="mx-auto p-10">
|
||||
@@ -79,12 +86,24 @@
|
||||
<div class="text-4xl mb-3">Top Quality Oil</div>
|
||||
<div class="text-lg">
|
||||
We dont cut our product with biodiesel. We use the best available
|
||||
natural oil
|
||||
oil for your heating system
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-span-12 lg:col-span-2"></div>
|
||||
<div class="col-span-12 lg:text-center text-center bg-orange-700">
|
||||
<div class="text-3xl ">
|
||||
We Offer Automatic Delivery
|
||||
</div>
|
||||
<div class="text-xl p-5">We will automatically fill your home and keep your family comfortable without worries
|
||||
about oil levels.
|
||||
</div>
|
||||
<div class="text-xl">Always get priority delivery status.</div>
|
||||
</div>
|
||||
<div class="col-span-6 text-lg text-center">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="h-auto">
|
||||
@@ -113,20 +132,19 @@
|
||||
<div class="text-2xl">Webster</div>
|
||||
<div class="text-2xl">SouthBridge</div>
|
||||
<div class="text-2xl">Douglas</div>
|
||||
<div class="text-2xl">Holden</div>
|
||||
<div class="text-2xl">Shrewsbury</div>
|
||||
<div class="text-2xl">Grafton</div>
|
||||
</div>
|
||||
<div >
|
||||
<div class="text-2xl">Dudley</div>
|
||||
<div class="text-2xl">Sutton</div>
|
||||
<div class="text-2xl">Charlton</div>
|
||||
<div class="text-2xl">Leicester</div>
|
||||
<div class="text-2xl">Cherry Valley</div>
|
||||
<div class="text-2xl">Rochdale</div>
|
||||
<div class="text-2xl">Spencer</div>
|
||||
<div class="text-2xl">West Brookfield</div>
|
||||
<div class="text-2xl">Brookfield</div>
|
||||
<div class="text-2xl">North Brookfield</div>
|
||||
<div class="text-2xl">Sturbridge</div>
|
||||
<div class="text-2xl">Southbridge</div>
|
||||
<div class="text-2xl">Worcester</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -138,9 +156,8 @@
|
||||
<div class="text-2xl">Oxford</div>
|
||||
<div class="text-2xl">North Oxford</div>
|
||||
<div class="text-2xl">Webster</div>
|
||||
<div class="text-2xl">SouthBridge</div>
|
||||
<div class="text-2xl">Southbridge</div>
|
||||
<div class="text-2xl">Douglas</div>
|
||||
<div class="text-2xl">Holden</div>
|
||||
<div class="text-2xl">Shrewsbury</div>
|
||||
<div class="text-2xl">Grafton</div>
|
||||
<div class="text-2xl">Dudley</div>
|
||||
@@ -149,18 +166,16 @@
|
||||
<div class="text-2xl">Cherry Valley</div>
|
||||
<div class="text-2xl">Rochdale</div>
|
||||
<div class="text-2xl">Spencer</div>
|
||||
<div class="text-2xl">West Brookfield</div>
|
||||
<div class="text-2xl">Brookfield</div>
|
||||
<div class="text-2xl">North Brookfield</div>
|
||||
<div class="text-2xl">Sutton</div>
|
||||
<div class="text-2xl">Sturbridge</div>
|
||||
<div class="text-2xl">Southbridge</div>
|
||||
<div class="text-2xl">Worcester</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-span-12 py-5">
|
||||
<div
|
||||
class="flex justify-center items-center "
|
||||
>
|
||||
<img class="" src="/images/map.png" alt="" />
|
||||
<div class="flex justify-center items-center ">
|
||||
<img class="" src="/images/area.png" alt="Worcester County oil delivery" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -1,8 +1,9 @@
|
||||
<div class="bg-secondary px-10">
|
||||
<div
|
||||
class="max-w-7xl justify-center py-5 mx-auto font-bold text-2xl text-white"
|
||||
class="max-w-7xl justify-center py-5 mx-auto font-bold text-white"
|
||||
>
|
||||
About Us
|
||||
<h1>About Us</h1>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<script lang="ts">
|
||||
import "../../app.postcss";
|
||||
import "../../../app.postcss";
|
||||
import { onMount } from "svelte";
|
||||
import { PUBLIC_BASE_URL } from "$env/static/public";
|
||||
import type { company, oilprice } from "$lib/types/types";
|
||||
@@ -46,9 +46,9 @@
|
||||
|
||||
<div class="bg-secondary px-10">
|
||||
<div
|
||||
class="max-w-7xl justify-center py-5 mx-auto font-bold text-2xl text-white"
|
||||
class="max-w-7xl justify-center py-5 mx-auto font-bold text-white"
|
||||
>
|
||||
Contact
|
||||
<h1>Contact</h1>
|
||||
</div>
|
||||
</div>
|
||||
<div class="max-w-7xl mx-auto px-10">
|
||||
@@ -1,5 +1,5 @@
|
||||
<script lang='ts'>
|
||||
import "../../app.postcss";
|
||||
import "../../../app.postcss";
|
||||
import { onMount } from "svelte";
|
||||
import { PUBLIC_BASE_URL } from "$env/static/public";
|
||||
import type { company } from '$lib/types/types'
|
||||
@@ -30,10 +30,9 @@
|
||||
|
||||
<div class="bg-secondary px-10">
|
||||
<div
|
||||
class="max-w-7xl justify-center py-5 mx-auto font-bold text-2xl text-white"
|
||||
class="max-w-7xl justify-center py-5 mx-auto font-bold text-white"
|
||||
>
|
||||
|
||||
Heating Oil Delivery
|
||||
<h1>Heating Oil Delivery</h1>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
79
src/routes/(app)/servicearea/+page.svelte
Executable file
79
src/routes/(app)/servicearea/+page.svelte
Executable file
@@ -0,0 +1,79 @@
|
||||
<title>Auburn Oil: Heating Oil Delivery Service in Southern Worcester County</title>
|
||||
|
||||
<div class="bg-secondary px-10">
|
||||
<div class="max-w-7xl justify-center py-5 mx-auto font-bold text-white">
|
||||
<h1>Delivery Area</h1>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="h-auto">
|
||||
<div class="mx-auto p-5">
|
||||
<div class="grid grid-cols-12 ">
|
||||
<div class="col-span-12 py-5 ">
|
||||
<div class="font-bold text-secondary mx-auto text-center md:text-left">
|
||||
<h3>Serving these communites</h3>
|
||||
</div>
|
||||
<div class="font-bold text-xl bg-secondary text-primary h-10 mb-10">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-span-12 py-5 ">
|
||||
<div class="invisible md:visible h-0 md:h-auto flex gap-20 justify-center text-3xl">
|
||||
<div >
|
||||
<div class="text-2xl">Auburn</div>
|
||||
<div class="text-2xl">Millbury</div>
|
||||
<div class="text-2xl">Sutton</div>
|
||||
<div class="text-2xl">Oxford</div>
|
||||
<div class="text-2xl">North Oxford</div>
|
||||
<div class="text-2xl">Webster</div>
|
||||
<div class="text-2xl">Southbridge</div>
|
||||
<div class="text-2xl">Douglas</div>
|
||||
<div class="text-2xl">Shrewsbury</div>
|
||||
<div class="text-2xl">Grafton</div>
|
||||
</div>
|
||||
<div >
|
||||
<div class="text-2xl">Dudley</div>
|
||||
<div class="text-2xl">Sutton</div>
|
||||
<div class="text-2xl">Charlton</div>
|
||||
<div class="text-2xl">Leicester</div>
|
||||
<div class="text-2xl">Cherry Valley</div>
|
||||
<div class="text-2xl">Rochdale</div>
|
||||
<div class="text-2xl">Spencer</div>
|
||||
<div class="text-2xl">Sturbridge</div>
|
||||
<div class="text-2xl">Southbridge</div>
|
||||
<div class="text-2xl">Worcester</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="visible sm:visible md:invisible h-auto sm:h-auto md:h-0">
|
||||
<div class="text-center">
|
||||
<div class="text-2xl">Auburn</div>
|
||||
<div class="text-2xl">Millbury</div>
|
||||
<div class="text-2xl">Sutton</div>
|
||||
<div class="text-2xl">Oxford</div>
|
||||
<div class="text-2xl">North Oxford</div>
|
||||
<div class="text-2xl">Webster</div>
|
||||
<div class="text-2xl">Southbridge</div>
|
||||
<div class="text-2xl">Douglas</div>
|
||||
<div class="text-2xl">Shrewsbury</div>
|
||||
<div class="text-2xl">Grafton</div>
|
||||
<div class="text-2xl">Dudley</div>
|
||||
<div class="text-2xl">Charlton</div>
|
||||
<div class="text-2xl">Leicester</div>
|
||||
<div class="text-2xl">Cherry Valley</div>
|
||||
<div class="text-2xl">Rochdale</div>
|
||||
<div class="text-2xl">Spencer</div>
|
||||
<div class="text-2xl">Sutton</div>
|
||||
<div class="text-2xl">Sturbridge</div>
|
||||
<div class="text-2xl">Southbridge</div>
|
||||
<div class="text-2xl">Worcester</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-span-12 py-5 ">
|
||||
<div class="flex justify-center items-center md:h-auto">
|
||||
<img class="" src="/images/area.png" alt="Worcester County oil delivery">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -1,81 +0,0 @@
|
||||
<div class=" bg-secondary px-10">
|
||||
<div
|
||||
class="max-w-7xl justify-center py-5 mx-auto font-bold text-2xl text-white"
|
||||
>
|
||||
Delivery Area
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="h-auto">
|
||||
<div class="mx-auto p-5">
|
||||
<div class="grid grid-cols-12 ">
|
||||
<div class="col-span-12 py-5 ">
|
||||
<div class="font-bold text-5xl text-secondary max-w-7xl mx-auto text-center md:text-left">
|
||||
Serving these communites
|
||||
</div>
|
||||
<div class="font-bold text-xl bg-secondary text-primary h-10 mb-10">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-span-12 py-5 ">
|
||||
<div class="invisible md:visible h-0 md:h-auto flex gap-20 justify-center text-3xl">
|
||||
<div >
|
||||
<div class="text-2xl">Auburn</div>
|
||||
<div class="text-2xl">Millbury</div>
|
||||
<div class="text-2xl">Sutton</div>
|
||||
<div class="text-2xl">Oxford</div>
|
||||
<div class="text-2xl">North Oxford</div>
|
||||
<div class="text-2xl">Webster</div>
|
||||
<div class="text-2xl">SouthBridge</div>
|
||||
<div class="text-2xl">Douglas</div>
|
||||
<div class="text-2xl">Holden</div>
|
||||
<div class="text-2xl">Shrewsbury</div>
|
||||
<div class="text-2xl">Grafton</div>
|
||||
</div>
|
||||
<div >
|
||||
<div class="text-2xl">Dudley</div>
|
||||
<div class="text-2xl">Charlton</div>
|
||||
<div class="text-2xl">Leicester</div>
|
||||
<div class="text-2xl">Cherry Valley</div>
|
||||
<div class="text-2xl">Rochdale</div>
|
||||
<div class="text-2xl">Spencer</div>
|
||||
<div class="text-2xl">West Brookfield</div>
|
||||
<div class="text-2xl">Brookfield</div>
|
||||
<div class="text-2xl">North Brookfield</div>
|
||||
<div class="text-2xl">Worcester</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="visible sm:visible md:invisible h-auto sm:h-auto md:h-0">
|
||||
<div class="text-center">
|
||||
<div class="text-2xl">Auburn</div>
|
||||
<div class="text-2xl">Millbury</div>
|
||||
<div class="text-2xl">Sutton</div>
|
||||
<div class="text-2xl">Oxford</div>
|
||||
<div class="text-2xl">North Oxford</div>
|
||||
<div class="text-2xl">Webster</div>
|
||||
<div class="text-2xl">SouthBridge</div>
|
||||
<div class="text-2xl">Douglas</div>
|
||||
<div class="text-2xl">Holden</div>
|
||||
<div class="text-2xl">Shrewsbury</div>
|
||||
<div class="text-2xl">Grafton</div>
|
||||
<div class="text-2xl">Dudley</div>
|
||||
<div class="text-2xl">Charlton</div>
|
||||
<div class="text-2xl">Leicester</div>
|
||||
<div class="text-2xl">Cherry Valley</div>
|
||||
<div class="text-2xl">Rochdale</div>
|
||||
<div class="text-2xl">Spencer</div>
|
||||
<div class="text-2xl">West Brookfield</div>
|
||||
<div class="text-2xl">Brookfield</div>
|
||||
<div class="text-2xl">North Brookfield</div>
|
||||
<div class="text-2xl">Worcester</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-span-12 py-5 ">
|
||||
<div class="flex justify-center items-center md:h-auto ">
|
||||
<img class="" src="/images/map.png" alt="">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -1,178 +0,0 @@
|
||||
<!-- <script lang="ts">
|
||||
import "../../../app.postcss";
|
||||
|
||||
import { onMount } from "svelte";
|
||||
import { PUBLIC_BASE_URL } from "$env/static/public";
|
||||
import type {
|
||||
deliverytype,
|
||||
customertype,
|
||||
} from "$lib/types/types";
|
||||
|
||||
export let delivery_data: deliverytype;
|
||||
export let customer_data: customertype;
|
||||
let datatickets: any[] = [];
|
||||
|
||||
|
||||
let user_id: string = "";
|
||||
|
||||
let dispatcher_notes: string = '';
|
||||
onMount(async () => {
|
||||
await fetch(PUBLIC_BASE_URL + "/delivery/" + data.ticketid, {
|
||||
method: "get",
|
||||
credentials: "include",
|
||||
headers: {
|
||||
"Content-Type": "application/json",
|
||||
},
|
||||
})
|
||||
.then((response) => response.json())
|
||||
.then((result) => (delivery_data = result));
|
||||
|
||||
|
||||
if (delivery_data["ok"] == true) {
|
||||
let dispatcher_notes = delivery_data["dispatcher_notes"];
|
||||
delivery_data.payment_type = delivery_data["payment_type"];
|
||||
delivery_data.customer_address = delivery_data["customer_address"];
|
||||
delivery_data.customer_town = delivery_data["customer_town"];
|
||||
delivery_data.customer_state = delivery_data["customer_state"];
|
||||
delivery_data.customer_zip = delivery_data["customer_zip"];
|
||||
delivery_data.when_ordered = delivery_data["when_ordered"];
|
||||
delivery_data.when_delivered = delivery_data["when_delivered"];
|
||||
delivery_data.gallons_delivered = delivery_data["gallons_delivered"];
|
||||
delivery_data.expected_delivery_date = delivery_data["expected_delivery_date"];
|
||||
delivery_data.customer_price = delivery_data["customer_price"];
|
||||
delivery_data.driver_employee_id = delivery_data["driver_employee_id"];
|
||||
user_id = delivery_data["customer_id"];
|
||||
console.log("going ...")
|
||||
|
||||
fetchCustomer(delivery_data["customer_id"]);
|
||||
fetchData(delivery_data["customer_id"]);
|
||||
}
|
||||
});
|
||||
// user info
|
||||
|
||||
async function fetchCustomer(user_id:string) {
|
||||
console.log("fetching customer");
|
||||
console.log(PUBLIC_BASE_URL + "/customer/" + user_id,)
|
||||
const response = await fetch(PUBLIC_BASE_URL + "/customer/" + user_id, {
|
||||
method: "get",
|
||||
credentials: "include",
|
||||
headers: {
|
||||
"Content-Type": "application/json",
|
||||
},
|
||||
})
|
||||
const customer_data = await response.json();
|
||||
console.log("poop")
|
||||
|
||||
};
|
||||
// past deliveries
|
||||
async function fetchData(user_id:string) {
|
||||
|
||||
const response = await fetch(PUBLIC_BASE_URL + "/delivery/past/" + user_id, {
|
||||
method: "get",
|
||||
credentials: "include",
|
||||
headers: {
|
||||
"Content-Type": "application/json",
|
||||
},
|
||||
})
|
||||
const jsonData = await response.json();
|
||||
datatickets = jsonData;
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
</script>
|
||||
|
||||
<template>
|
||||
{dispatcher_notes}
|
||||
<div class="absolute" id="page">
|
||||
<div class="p-10 max-w-5xl bg-white text-black">
|
||||
<div class="grid grid-cols-12">
|
||||
<div class="col-span-9">
|
||||
<div class="grid grid-cols-12 pb-10">
|
||||
<div class="col-span-2">#2 Heating</div>
|
||||
<div class="col-span-2"></div>
|
||||
<div class="col-span-2">0</div>
|
||||
<div class="col-span-2">275</div>
|
||||
<div class="col-span-2">
|
||||
{customer_data.customer_phone_number}
|
||||
</div>
|
||||
</div>
|
||||
<div class="grid grid-cols-12 pl-5 pb-10">
|
||||
<div class="col-span-8">
|
||||
{customer_data.customer_first_name}
|
||||
{customer_data.customer_last_name}
|
||||
</div>
|
||||
<div class="col-span-4">
|
||||
{customer_data.account_number}
|
||||
</div>
|
||||
<div class="col-span-12">
|
||||
{customer_data.customer_address}
|
||||
{customer_data.customer_apt}
|
||||
</div>
|
||||
<div class="col-span-3">
|
||||
<div class="grid grid-cols-12">
|
||||
<div class="col-span-5">
|
||||
{delivery_data.customer_town}
|
||||
</div>
|
||||
<div class="col-span-3">
|
||||
{delivery_data.customer_state}
|
||||
</div>
|
||||
<div class="col-span-4">
|
||||
{delivery_data.customer_zip}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="grid grid-cols-12 pl-5 pb-10">
|
||||
<div class="col-span-12 pb-5">
|
||||
{delivery_data.dispatcher_notes}
|
||||
</div>
|
||||
{#if delivery_data.payment_type == 0}
|
||||
<div class="col-span-12">CASH</div>
|
||||
{:else if delivery_data.payment_type == 1}
|
||||
<div class="col-span-12">Credit Card</div>
|
||||
{:else if delivery_data.payment_type == 2}
|
||||
<div class="col-span-12">Credit Card/Cash</div>
|
||||
{:else}{/if}
|
||||
</div>
|
||||
<div class="grid grid-cols-12">
|
||||
|
||||
{#each datatickets as item}
|
||||
<div class="col-span-6 flex">
|
||||
<div>
|
||||
{item.when_delivered} - {item.gallons_delivered}
|
||||
</div>
|
||||
</div>
|
||||
{/each}
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-span-3">
|
||||
<div class="grid grid-cols-12">
|
||||
<div class="col-span-12 h-7">
|
||||
{delivery_data.when_ordered}
|
||||
</div>
|
||||
<div class="col-span-12 h-7">
|
||||
{delivery_data.expected_delivery_date}
|
||||
</div>
|
||||
<div class="col-span-12 h-7"></div>
|
||||
<div class="col-span-12 h-7">
|
||||
{delivery_data.customer_price}
|
||||
</div>
|
||||
<div class="col-span-12 h-7">
|
||||
{delivery_data.when_ordered}
|
||||
</div>
|
||||
<div class="col-span-12 h-7"></div>
|
||||
<div class="col-span-12 h-7"></div>
|
||||
<div class="col-span-12 h-7">
|
||||
{delivery_data.driver_employee_id}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</template> -->
|
||||
2
static/robots.txt
Normal file
2
static/robots.txt
Normal file
@@ -0,0 +1,2 @@
|
||||
User-agent: *
|
||||
Disallow:
|
||||
Reference in New Issue
Block a user