Skip to content

Commit 2cdb74a

Browse files
good
1 parent 38af97b commit 2cdb74a

20 files changed

+95
-853
lines changed

components/Footer.jsx

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,27 @@
11
import BrandGithub from "$icons/brand-github.tsx"
2-
import { isSushiOpenPhrase } from "@/utils/mod.js"
32

43
export default function Footer({ children, active, hits = 0 }) {
54
const menus = [
65
{
76
title: "Pages",
87
children: [
98
{ name: "Home", href: "/" },
10-
{ name: "Menu", href: "/menu" },
9+
// { name: "Menu", href: "/menu" },
1110
// { name: "Order", href: "/order" },
1211
],
1312
},
1413
{
1514
title: "Community",
1615
children: [
17-
// { name: "GitHub", href: "https://github.com/hyprtxt" },
18-
{ name: "Facebook", href: "https://www.facebook.com/SushiJExpress/" },
16+
{
17+
name: "Facebook",
18+
href:
19+
"https://www.facebook.com/people/Seaside-Pharmacy/100070179091084",
20+
},
21+
{
22+
name: "Yelp",
23+
href: "https://www.yelp.com/biz/seaside-pharmacy-revere",
24+
},
1925
],
2026
},
2127
]
@@ -32,21 +38,18 @@ export default function Footer({ children, active, hits = 0 }) {
3238
class="font-bold text-2xl"
3339
property="name"
3440
>
35-
Sushi <span class="text-red">J</span> Express
41+
Seaside Pharmacy
3642
</div>
3743
</div>
3844
<div>
39-
<a href="https://goo.gl/maps/V5GUNWqMwZ6JSoa98">
45+
<a href="https://goo.gl/maps/ZuBSQdKqEavcKrgf9">
4046
Location & Directions
4147
</a>
4248
</div>
4349
<div property="telephone">
44-
<a href="tel:+19287759323">(928) 775-9323</a>
50+
<a href="tel:+17812846525">(781) 284-6525</a>
4551
{" "}
4652
</div>
47-
<div>
48-
{isSushiOpenPhrase()}
49-
</div>
5053
</div>
5154

5255
{menus.map((item) => (
@@ -69,17 +72,16 @@ export default function Footer({ children, active, hits = 0 }) {
6972

7073
<div class="space-y-2">
7174
<div class="text-xs">
72-
Copyright © Sushi J Express<br />
73-
<a href="https://hyprtxt.dev">Coded in Prescott Valley</a>.
75+
Copyright © Seaside Pharmacy<br />
76+
{/* <a href="https://hyprtxt.dev">Coded in Arizona</a>. */}
7477
</div>
7578
<a
76-
href="https://github.com/Hyprtxt/sushij.express"
79+
href="https://github.com/Hyprtxt/seaside.care"
7780
class="inline-block hover:text-black"
7881
aria-label="Github Icon"
7982
>
8083
<BrandGithub />
8184
</a>
82-
{hits > 0 ? <p>Hits: {hits}</p> : <></>}
8385
</div>
8486
{children}
8587
</div>

components/Header.jsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@
33
export default function Header({ active }) {
44
const menus = [
55
{ name: "Home", href: "/" },
6-
{ name: "Menu", href: "/menu" },
7-
{ name: "Order", href: "/order" },
6+
// { name: "Menu", href: "/menu" },
7+
// { name: "Order", href: "/order" },
88
]
99

1010
return (
1111
<header class="bg-white w-full max-w-screen-lg py-6 px-8 flex flex-col md:flex-row gap-4">
1212
<div class="flex items-center flex-1">
1313
{/* <HyprtxtIcon /> */}
1414
<div class="text-2xl ml-1 font-bold">
15-
Sushi <span class="text-red">J</span> Express
15+
Seaside Pharmacy
1616
</div>
1717
</div>
1818
<ul class="flex items-center gap-6">

components/Hero.jsx

Lines changed: 0 additions & 24 deletions
This file was deleted.

components/HyprtxtIcon.jsx

Lines changed: 0 additions & 52 deletions
This file was deleted.

components/Layout.jsx

Lines changed: 57 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -2,32 +2,33 @@ import Header from "@/components/Header.jsx"
22
import Footer from "@/components/Footer.jsx"
33
import { tw } from "twind"
44
import { DENO_ENV } from "@/utils/config.js"
5-
import { globalStyles } from "@/utils/style.js"
65
import { Head } from "$fresh/runtime.ts"
76

7+
import { animation, apply, css, keyframes, theme } from "twind/css"
8+
9+
// ${animation("300ms ease-in-out 1", fadeIn)}
10+
811
const SchemaORG = () => {
912
const Schema = {
1013
"@context": "https://schema.org",
11-
"@type": "Restaurant",
12-
"address": {
13-
"@type": "PostalAddress",
14-
"addressLocality": "Prescott Valley",
15-
"addressRegion": "AZ",
16-
"postalCode": "86314",
17-
"streetAddress": "7840 E. St, AZ-69",
18-
},
19-
"name": "Sushi J Express",
14+
"@type": "Store",
15+
"name": "Seaside Pharmacy",
16+
"description": "For your Pharmacy, Lottery and Everyday needs",
2017
"openingHours": [
21-
"Tu-Sa 11:00-14:30",
22-
"Tu-Sa 16:30-19:00",
18+
"Mo-Fr 09:00-19:00",
19+
"Sa 09:00-17:00",
2320
],
24-
"priceRange": "$$",
25-
"servesCuisine": [
26-
"Sushi",
27-
"Japanese",
28-
],
29-
"telephone": "(928) 775-9323",
30-
"url": "https://sushij.express/",
21+
"telephone": "+17812846525",
22+
"department": {
23+
"@type": "Pharmacy",
24+
"name": "Seaside Pharmacy",
25+
"description": "The on duty pharmacist is here to care for the community",
26+
"openingHours": [
27+
"Mo-Fr 09:00-19:00",
28+
"Sa 09:00-17:00",
29+
],
30+
"telephone": "+17812846525",
31+
},
3132
}
3233
return (
3334
<script
@@ -38,6 +39,43 @@ const SchemaORG = () => {
3839
)
3940
}
4041

42+
export const fadeIn = keyframes({
43+
"0%": {
44+
opacity: 0,
45+
},
46+
"100%": {
47+
opacity: 1,
48+
},
49+
})
50+
51+
export const globalStyles = css({
52+
":global": {
53+
".fadein": apply(animation("600ms ease-out 1", fadeIn)),
54+
a: {
55+
"&": apply`underline`,
56+
color: theme("colors.indigo"),
57+
"&:visited": apply`text-violet`,
58+
"&:hover": apply`text-blue underline`,
59+
"&:active": apply`text-green`,
60+
},
61+
"h1, h2, h3": {
62+
"&": apply`mb-3`,
63+
a: {
64+
"&": apply`text-dark`,
65+
"&:link": apply`text-dark`,
66+
"&:visited": apply`text-dark`,
67+
"&:hover": apply`text-dark no-underline`,
68+
"&:active": apply`text-dark`,
69+
},
70+
},
71+
body: {
72+
backgroundColor: theme("colors.blue"),
73+
},
74+
".logo-gradient":
75+
apply`bg-clip-text text-transparent bg-gradient-to-b from-indigo via-blue to-violet`,
76+
},
77+
})
78+
4179
const Layout = ({ children, data = {} }) => (
4280
<>
4381
<Head>

0 commit comments

Comments
 (0)