Skip to content

Commit

Permalink
added bartender section
Browse files Browse the repository at this point in the history
  • Loading branch information
tmanundercover committed Jan 14, 2024
1 parent 1a36296 commit 7f5248f
Show file tree
Hide file tree
Showing 59 changed files with 3,685 additions and 392 deletions.
3 changes: 2 additions & 1 deletion .storybook/preview-head.html
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
<link href="https://fonts.googleapis.com/css2?family=Prompt:wght@700&family=Inter:wght@400;500;700&family=Orbitron:wght@400;500&family=Oswald:wght@400;500&family=Raleway:wght@400;500&display=swap" rel="stylesheet"/>
<link href="https://fonts.googleapis.com/css2??family=Covered+By+Your+Grace&family=Prompt:wght@700&family=Inter:wght@400;500;700&family=Orbitron:wght@400;500&family=Oswald:wght@400;500&family=Raleway:wght@400;500&display=swap"
rel="stylesheet"/>
2 changes: 1 addition & 1 deletion functions/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "functions",
"version": "0.7.0",
"version": "0.8.0",
"scripts": {
"lint": "eslint --ext .js,.ts .",
"build": "tsc",
Expand Down
15 changes: 15 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "the-handsomestnerd-internal",
"version": "0.7.0",
"version": "0.8.0",
"license": "GPL-3.0-or-later",
"private": true,
"dependencies": {
Expand All @@ -12,6 +12,7 @@
"@mui/styles": "^5.14.18",
"@react-google-maps/api": "^2.19.2",
"@react-pdf/renderer": "^3.1.14",
"react-card-flip": "^1.1.6",
"@storybook/addon-mdx-gfm": "^7.4.6",
"@storybook/react-webpack5": "^7.4.6",
"@tanstack/react-query": "^4.36.1",
Expand Down
65 changes: 33 additions & 32 deletions public/index.html
Original file line number Diff line number Diff line change
@@ -1,31 +1,32 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<!-- <meta-->
<!-- name="description"-->
<!-- content="Web site created using create-react-app"-->
<!-- />-->
<!-- <link rel="stylesheet" href="%PUBLIC_URL%/fonts/rainbow/Rainbow.ttf">-->
<!-- <link rel="stylesheet" href="%PUBLIC_URL%/fonts/Raleway/static/TTF/Raleway-Regular.ttf">-->
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
<head>
<meta charset="utf-8"/>
<link rel="icon" href="%PUBLIC_URL%/favicon.ico"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<meta name="theme-color" content="#000000"/>
<!-- <meta-->
<!-- name="description"-->
<!-- content="Web site created using create-react-app"-->
<!-- />-->
<!-- <link rel="stylesheet" href="%PUBLIC_URL%/fonts/rainbow/Rainbow.ttf">-->
<!-- <link rel="stylesheet" href="%PUBLIC_URL%/fonts/Raleway/static/TTF/Raleway-Regular.ttf">-->
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png"/>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Prompt:wght@700&family=Inter:wght@400;500;700&family=Orbitron:wght@400;500&family=Oswald:wght@400;500&family=Raleway:wght@400;500&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Covered+By+Your+Grace&family=Prompt:wght@700&family=Inter:wght@400;500;700&family=Orbitron:wght@400;500&family=Oswald:wght@400;500&family=Raleway:wght@400;500&display=swap"
rel="stylesheet">
<!-- <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Poppins">-->
<!-- <link href="https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,500;0,600;0,700;0,800;0,900;1,100;1,200&display=swap" rel="stylesheet">-->
<!-- <link href="https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,500;0,600;0,700;0,800;0,900;1,100;1,200&display=swap" rel="stylesheet">-->
<!-- <script type="text/javascript" src="https://member.psychologytoday.com/verified-seal.js" data-badge="13"-->
<!-- data-id="863772"-->
<!-- data-code="aHR0cHM6Ly93d3cucHN5Y2hvbG9neXRvZGF5LmNvbS9hcGkvdmVyaWZpZWQtc2VhbC9zZWFscy9bQkFER0VdL3Byb2ZpbGUvW1BST0ZJTEVfSURdP2NhbGxiYWNrPXN4Y2FsbGJhY2s="></script>-->
<!-- <link href="https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,500;0,600;0,700;0,800;0,900;1,100;1,200&display=swap" rel="stylesheet">-->
<!-- <link href="https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,500;0,600;0,700;0,800;0,900;1,100;1,200&display=swap" rel="stylesheet">-->
<!-- <script type="text/javascript" src="https://member.psychologytoday.com/verified-seal.js" data-badge="13"-->
<!-- data-id="863772"-->
<!-- data-code="aHR0cHM6Ly93d3cucHN5Y2hvbG9neXRvZGF5LmNvbS9hcGkvdmVyaWZpZWQtc2VhbC9zZWFscy9bQkFER0VdL3Byb2ZpbGUvW1BST0ZJTEVfSURdP2NhbGxiYWNrPXN4Y2FsbGJhY2s="></script>-->
<!--
manifest.json provides metadata used when your web app is installed on a
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
-->
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
<link rel="manifest" href="%PUBLIC_URL%/manifest.json"/>
<!--
Notice the use of %PUBLIC_URL% in the tags above.
It will be replaced with the URL of the `public` folder during the build.
Expand All @@ -41,19 +42,19 @@
<meta name="og:title" content="__META_OG_TITLE__"/>
<meta name="og:description" content="__META_OG_DESCRIPTION__"/>
<meta name="og:image" content="__META_OG_IMAGE__"/>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<!--
This HTML file is a template.
If you open it directly in the browser, you will see an empty page.
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<!--
This HTML file is a template.
If you open it directly in the browser, you will see an empty page.
You can add webfonts, meta tags, or analytics to this file.
The build step will place the bundled scripts into the <body> tag.
You can add webfonts, meta tags, or analytics to this file.
The build step will place the bundled scripts into the <body> tag.
To begin the development, run `npm start` or `yarn start`.
To create a production bundle, use `npm run build` or `yarn build`.
-->
</body>
To begin the development, run `npm start` or `yarn start`.
To create a production bundle, use `npm run build` or `yarn build`.
-->
</body>
</html>
2 changes: 1 addition & 1 deletion sanityIo/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "the-handsomest-nerd-sanity",
"private": true,
"version": "0.7.0",
"version": "0.8.0",
"description": "Sanity CMS for React Website Builder",
"main": "package.json",
"author": "theHandsomestNerd <hello@thehandsomestnerd.com>",
Expand Down
100 changes: 100 additions & 0 deletions sanityIo/schemas/cocktail-flash-cards/Cocktail.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
export default {
name: 'Cocktail',
title: 'Cocktail',
type: 'document',
fields: [
{
name: 'name',
title: 'Name',
type: 'string',
},
{
name: 'title',
title: 'Title',
type: 'string',
},
{
name: 'slug',
title: 'Slug',
type: 'slug',
options: {
source: 'title',
maxLength: 96,
},
},
{
name: 'description',
title: 'Description',
type: 'string',
},
{
name: 'glassPrep',
title: 'Glass Prep',
type: 'array',
of: [{type: "string"}],
description: "Glass Prep",
options: {
list: [
{title: "Ice", value: "ICE"},
{title: "Strawberry Ice Cubes", value: "STRAWBERRY_ICE"},
{title: "Chilled", value: "CHILLED"},
{title: "Red Sugar rim", value: "RED_SUGAR_RIM"},
{title: "Green Sugar rim", value: "GREEN_SUGAR_RIM"},
{title: "Chili Salt rim", value: "CHILI_SALT_RIM"},
{title: "Sugar rim", value: "SUGAR_RIM"},
{title: "Salt rim", value: "SALT_RIM"},
{title: "Caramel Stripes", value: "CARAMEL_STRIPE"},
{title: "Chocolate Stripes", value: "CHOC_STRIPE"},
]
}
},
{
name: 'glass',
title: 'Glassware',
type: 'reference',
to: [{type: 'Glass',}]

},
{
name: 'imageSrc',
title: 'Image',
type: 'image',
options: {
hotspot: true,
},
},
{
name: 'garnish',
title: 'Garnish',
type: 'array',
of: [{type: "reference", to: [{type: "Garnish"}]}],
},
{
name: 'mixingGlass',
title: 'Mixing Glass',
type: "array",
of: [{type: 'MixingGlass',}, {type: "reference", to: [{type: 'Garnish',}]}]
},
{
name: 'instructions',
title: 'Instructions',
type: 'array',
of: [{type: "reference", to: [{type: "Instruction"}]}]
},
{
name: 'drinkCount',
title: 'Drink Count',
type: 'number',
},
{
name: 'isOnMenu',
title: 'Is this on the Menu?',
type: 'boolean',
},
{
name: 'isDisabled',
title: 'Is this disabled for user to view?',
type: 'boolean',
},
],
}
31 changes: 31 additions & 0 deletions sanityIo/schemas/cocktail-flash-cards/FlashCardSection.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
export default {
name: 'FlashCardSection',
title: 'Flash Card Section',
type: 'document',
fields: [
{
name: 'name',
title: 'Name',
type: 'string',
},
{
name: 'title',
title: 'Title',
type: 'string',
},
{
name: 'isFlashCard',
title: 'Is the format Flashcard',
type: 'boolean',
},
{
name: 'slug',
title: 'Slug',
type: 'slug',
options: {
source: 'title',
maxLength: 96,
},
},
],
}
34 changes: 34 additions & 0 deletions sanityIo/schemas/cocktail-flash-cards/Garnish.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
export default {
name: 'Garnish',
title: 'Garnish',
type: 'document',
fields: [
{
name: 'name',
title: 'Name',
type: 'string',
},
{
name: 'title',
title: 'Title',
type: 'string',
},
{
name: 'slug',
title: 'Slug',
type: 'slug',
options: {
source: 'title',
maxLength: 96,
},
},
{
name: 'imageSrc',
title: 'Image',
type: 'image',
options: {
hotspot: true,
},
},
],
}
49 changes: 49 additions & 0 deletions sanityIo/schemas/cocktail-flash-cards/Glass.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
export default {
name: 'Glass',
title: 'Glass',
type: 'document',
fields: [
{
name: 'name',
title: 'Name',
type: 'string',
},
{
name: 'title',
title: 'Title',
type: 'string',
},
{
name: 'slug',
title: 'Slug',
type: 'slug',
options: {
source: 'title',
maxLength: 96,
},
},
{
name: 'sizeOz',
title: 'Size(Ounces)',
type: 'number',
},
{
name: 'rim',
title: 'Rim',
type: 'string',
},
{
name: 'isIced',
title: 'Ice?',
type: 'boolean',
},
{
name: 'imageSrc',
title: 'Image',
type: 'image',
options: {
hotspot: true,
},
},
],
}
Loading

0 comments on commit 7f5248f

Please sign in to comment.