diff --git a/Websites/jefes-nextjs/app/issues/new/page.tsx b/Websites/UnusedPages/issues/new/page.tsx similarity index 100% rename from Websites/jefes-nextjs/app/issues/new/page.tsx rename to Websites/UnusedPages/issues/new/page.tsx diff --git a/Websites/jefes-nextjs/app/issues/page.tsx b/Websites/UnusedPages/issues/page.tsx similarity index 100% rename from Websites/jefes-nextjs/app/issues/page.tsx rename to Websites/UnusedPages/issues/page.tsx diff --git a/Websites/jefes-nextjs/app/users/nested/page.tsx b/Websites/UnusedPages/users/nested/page.tsx similarity index 100% rename from Websites/jefes-nextjs/app/users/nested/page.tsx rename to Websites/UnusedPages/users/nested/page.tsx diff --git a/Websites/jefes-nextjs/app/users/page.tsx b/Websites/UnusedPages/users/page.tsx similarity index 100% rename from Websites/jefes-nextjs/app/users/page.tsx rename to Websites/UnusedPages/users/page.tsx diff --git a/Websites/jefes-nextjs/app/about-us/page.tsx b/Websites/jefes-nextjs/app/about-us/page.tsx index a42e3cb..fa9da7c 100644 --- a/Websites/jefes-nextjs/app/about-us/page.tsx +++ b/Websites/jefes-nextjs/app/about-us/page.tsx @@ -1,53 +1,74 @@ +/* eslint no-use-before-define: 0 */ import React from "react"; import Image from "next/image"; const AboutUs = () => { return ( -
- nav image -
- About Us -
-
- Jefe's Mexican Cantina & Cocina -
-
+
+
nav image +
+
+

+ About Us +

+
+
-
-
-

- My name is Kevin Aguilar, and I am the owner and manager of the - Jefe's Mexican Cantina and Cocina based in Broken Arrow, Oklahoma. - Our combination of authentic Mexican dishes, excellent customer - service, and family-friendly environment makes us one of the best - Mexican restaurants around. -

-
+ +
+
+
+ Photo of Kevin mobile. +
+ +
+
+
+ nav image +
+
+ Jefes Mexican Cantina & Cocina +
+
+

+ My name is Kevin Aguilar, and I am the owner and manager of the + Jefes Mexican Cantina and Cocina based in Broken Arrow, Oklahoma. + Our combination of authentic Mexican dishes, excellent customer + service, and family-friendly environment makes us one of the best + Mexican restaurants around. +

+

Whether you are wanting to book our upstairs venue for an event, wanting to try out our creative alcoholic drinks or just wanting to enjoy a meal with a loved one, you quickly see why so many - people choose Jefe's. We take pride in our business as one of the + people choose Jefes. We take pride in our business as one of the highest rated Mexican restaurants in Broken Arrow.

-
-
+

We just wanted to take a moment to express our heartfelt gratitude to all of our loyal customers. Your continued support and loyalty @@ -57,19 +78,19 @@ const AboutUs = () => { strive for excellence and to bring you the best dining experience possible. Thank you again!

+
+ Photo of award. +
-
- Photo of award. -
); }; diff --git a/Websites/jefes-nextjs/app/components/NavBar/NavBar.tsx b/Websites/jefes-nextjs/app/components/NavBar/NavBar.tsx index 8b64e55..8d12a82 100644 --- a/Websites/jefes-nextjs/app/components/NavBar/NavBar.tsx +++ b/Websites/jefes-nextjs/app/components/NavBar/NavBar.tsx @@ -106,27 +106,10 @@ const NavBar = () => {
- {/* Header image */} - {/*
- nav image - nav image -
*/}
+ +
- {" "}
{ - const [emblaRef] = useEmblaCarousel({loop: false}, [Autoplay(), AutoHeight()]); + const [emblaRef] = useEmblaCarousel({ loop: false }, [Autoplay()]); return (
-
-
+
+
/
-
+
{" "} /
-
+
{" "} /
diff --git a/Websites/jefes-nextjs/app/gallery/page.tsx b/Websites/jefes-nextjs/app/gallery/page.tsx index 6868f24..64dc969 100644 --- a/Websites/jefes-nextjs/app/gallery/page.tsx +++ b/Websites/jefes-nextjs/app/gallery/page.tsx @@ -3,12 +3,32 @@ import { useState } from "react"; import { BsChevronCompactLeft, BsChevronCompactRight } from "react-icons/bs"; import { RxDotFilled } from "react-icons/rx"; import { EmblaCarousel } from "./carousel"; +import Image from "next/image"; const Gallery = () => { - return ( -
- +
+
+ nav image +
+
+

+ GALLERY +

+
+
+
+
+ +
); }; diff --git a/Websites/jefes-nextjs/app/globals.css b/Websites/jefes-nextjs/app/globals.css index 6a75725..5fbf685 100644 --- a/Websites/jefes-nextjs/app/globals.css +++ b/Websites/jefes-nextjs/app/globals.css @@ -33,6 +33,8 @@ --ring: 222.2 84% 4.9%; --radius: 0.5rem; + --jefesred: "#B3121E", + --jefesblack: "#18191a", } .dark { diff --git a/Websites/jefes-nextjs/bun.lockb b/Websites/jefes-nextjs/bun.lockb index e2f6546..f342aa4 100755 Binary files a/Websites/jefes-nextjs/bun.lockb and b/Websites/jefes-nextjs/bun.lockb differ diff --git a/Websites/jefes-nextjs/package.json b/Websites/jefes-nextjs/package.json index 5ee4675..d497c32 100644 --- a/Websites/jefes-nextjs/package.json +++ b/Websites/jefes-nextjs/package.json @@ -28,6 +28,7 @@ "react-hook-form": "^7.47.0", "react-icons": "^4.11.0", "react-simplemde-editor": "^5.2.0", + "sharp": "^0.32.6", "tailwind-merge": "^2.0.0", "tailwindcss-animate": "^1.0.7", "zod": "^3.22.4" diff --git a/Websites/jefes-nextjs/prisma/seed.ts b/Websites/jefes-nextjs/prisma/seed.ts index 06b3bc8..9354728 100644 --- a/Websites/jefes-nextjs/prisma/seed.ts +++ b/Websites/jefes-nextjs/prisma/seed.ts @@ -1,51 +1,51 @@ -import { PrismaClient } from "@prisma/client"; -const prisma = new PrismaClient(); -async function main() { - const alice = await prisma.user.upsert({ - where: { email: "alice@prisma.io" }, - update: {}, - create: { - email: "alice@prisma.io", - name: "Alice", - posts: { - create: { - title: "Check out Prisma with Next.js", - content: "https://www.prisma.io/nextjs", - published: true, - }, - }, - }, - }); - const bob = await prisma.user.upsert({ - where: { email: "bob@prisma.io" }, - update: {}, - create: { - email: "bob@prisma.io", - name: "Bob", - posts: { - create: [ - { - title: "Follow Prisma on Twitter", - content: "https://twitter.com/prisma", - published: true, - }, - { - title: "Follow Nexus on Twitter", - content: "https://twitter.com/nexusgql", - published: true, - }, - ], - }, - }, - }); - console.log({ alice, bob }); -} -main() - .then(async () => { - await prisma.$disconnect(); - }) - .catch(async (e) => { - console.error(e); - await prisma.$disconnect(); - process.exit(1); - }); +// import { PrismaClient } from "@prisma/client"; +// const prisma = new PrismaClient(); +// async function main() { +// const alice = await prisma.user.upsert({ +// where: { email: "alice@prisma.io" }, +// update: {}, +// create: { +// email: "alice@prisma.io", +// name: "Alice", +// posts: { +// create: { +// title: "Check out Prisma with Next.js", +// content: "https://www.prisma.io/nextjs", +// published: true, +// }, +// }, +// }, +// }); +// const bob = await prisma.user.upsert({ +// where: { email: "bob@prisma.io" }, +// update: {}, +// create: { +// email: "bob@prisma.io", +// name: "Bob", +// posts: { +// create: [ +// { +// title: "Follow Prisma on Twitter", +// content: "https://twitter.com/prisma", +// published: true, +// }, +// { +// title: "Follow Nexus on Twitter", +// content: "https://twitter.com/nexusgql", +// published: true, +// }, +// ], +// }, +// }, +// }); +// console.log({ alice, bob }); +// } +// main() +// .then(async () => { +// await prisma.$disconnect(); +// }) +// .catch(async (e) => { +// console.error(e); +// await prisma.$disconnect(); +// process.exit(1); +// }); diff --git a/Websites/jefes-nextjs/public/mexican-flag.py b/Websites/jefes-nextjs/public/mexican-flag.py new file mode 100644 index 0000000..f42a68e --- /dev/null +++ b/Websites/jefes-nextjs/public/mexican-flag.py @@ -0,0 +1,76 @@ +import os +import shutil +import time +import re + +EXCLUDE_FILE = 'LNFolders.py' + +def create_dir(path, volume): + if not os.path.exists(volume): + os.mkdir(volume) + + +def move_files(target_path, file, volume): + shutil.move(file, volume) # (src, dst) + + +# def main(): +# while True: +# # Get current directory and set it as the target path +# cwd = os.getcwd() +# target_path = os.path.join(cwd) + +# # Set up the number of files originally for automation +# number_of_files = len(os.listdir(cwd)) +# time.sleep(20) +# old_number = number_of_files +# number_of_files = len(os.listdir(cwd)) + +# # If new files detected, organize them +# if number_of_files != old_number: +# # Get all file volensions present in the directory +# volensions = {item.split('.')[-1] for item in os.listdir(target_path) +# if os.path.isfile(os.path.join(target_path, item))} +# # print(volensions) + +# # Create a folder for volension types +# create_dir(target_path, volensions) + +# # Move the files into the folder +# move_files(target_path) + +def main(): + # Get current directory and set it as the target path + cwd = os.getcwd() + target_path = os.path.join(cwd) + + # Get all file volumes present in the directory + # volumes = {item.split('.')[-1] for item in os.listdir(target_path) + # if os.path.isfile(os.path.join(target_path, item))} + # print(volensions) + + # Test string + # test_string = "MKnR 01 -(t)- Enrollment (I).epub" + # Strip until title and volume number are separate + for item in os.listdir(target_path): + if item != EXCLUDE_FILE: + volume_number = re.sub(r'\D', '', item) + volume_title = re.sub(r'\d', '', item) + volume_title = volume_title.split(')-') + volume_title = volume_title[1].split('.') + volume_title = volume_title[0] + # print(volume_number) + # print(volume_title) + volume = 'Volume ' + volume_number + volume_title + print(volume) + # if os.path.isfile(os.path.join(target_path, item)) + + + + # Create a folder for volumes + create_dir(target_path, volume) + + # Move the files into the folder + move_files(target_path, item, volume) + +main() \ No newline at end of file diff --git a/Websites/jefes-nextjs/public/mexican-flag.svg b/Websites/jefes-nextjs/public/mexican-flag.svg new file mode 100644 index 0000000..2ddadb1 --- /dev/null +++ b/Websites/jefes-nextjs/public/mexican-flag.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Websites/jefes-nextjs/tailwind.config.js b/Websites/jefes-nextjs/tailwind.config.js deleted file mode 100644 index 0377ea1..0000000 --- a/Websites/jefes-nextjs/tailwind.config.js +++ /dev/null @@ -1,76 +0,0 @@ -/** @type {import('tailwindcss').Config} */ -module.exports = { - darkMode: ["class"], - content: [ - './pages/**/*.{ts,tsx}', - './components/**/*.{ts,tsx}', - './app/**/*.{ts,tsx}', - './src/**/*.{ts,tsx}', - ], - theme: { - container: { - center: true, - padding: "2rem", - screens: { - "2xl": "1400px", - }, - }, - extend: { - colors: { - border: "hsl(var(--border))", - input: "hsl(var(--input))", - ring: "hsl(var(--ring))", - background: "hsl(var(--background))", - foreground: "hsl(var(--foreground))", - primary: { - DEFAULT: "hsl(var(--primary))", - foreground: "hsl(var(--primary-foreground))", - }, - secondary: { - DEFAULT: "hsl(var(--secondary))", - foreground: "hsl(var(--secondary-foreground))", - }, - destructive: { - DEFAULT: "hsl(var(--destructive))", - foreground: "hsl(var(--destructive-foreground))", - }, - muted: { - DEFAULT: "hsl(var(--muted))", - foreground: "hsl(var(--muted-foreground))", - }, - accent: { - DEFAULT: "hsl(var(--accent))", - foreground: "hsl(var(--accent-foreground))", - }, - popover: { - DEFAULT: "hsl(var(--popover))", - foreground: "hsl(var(--popover-foreground))", - }, - card: { - DEFAULT: "hsl(var(--card))", - foreground: "hsl(var(--card-foreground))", - }, - }, - borderRadius: { - lg: "var(--radius)", - md: "calc(var(--radius) - 2px)", - sm: "calc(var(--radius) - 4px)", - }, - keyframes: { - "accordion-down": { - from: { height: 0 }, - to: { height: "var(--radix-accordion-content-height)" }, - }, - "accordion-up": { - from: { height: "var(--radix-accordion-content-height)" }, - to: { height: 0 }, - }, - }, - animation: { - "accordion-down": "accordion-down 0.2s ease-out", - "accordion-up": "accordion-up 0.2s ease-out", - }, - }, - }, - plugins: [require("tailwindcss-animate")], -} \ No newline at end of file diff --git a/Websites/jefes-nextjs/tailwind.config.ts b/Websites/jefes-nextjs/tailwind.config.ts index 52b43b8..fba46e5 100644 --- a/Websites/jefes-nextjs/tailwind.config.ts +++ b/Websites/jefes-nextjs/tailwind.config.ts @@ -16,13 +16,13 @@ module.exports = { }, }, extend: { + backgroundImage: { paintbg: "url('/PaintBackground1.webp')" }, colors: { border: "hsl(var(--border))", input: "hsl(var(--input))", ring: "hsl(var(--ring))", background: "hsl(var(--background))", foreground: "hsl(var(--foreground))", - jefesRed: "#B3121E", primary: { DEFAULT: "hsl(var(--primary))", foreground: "hsl(var(--primary-foreground))",