Skip to content

Commit

Permalink
dependency cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
jessebubble committed Dec 17, 2024
1 parent dd24a59 commit f9e8fc0
Show file tree
Hide file tree
Showing 45 changed files with 8,015 additions and 10,449 deletions.
126 changes: 65 additions & 61 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -8,73 +8,77 @@
module.exports = {
root: true,
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
ecmaFeatures: {
jsx: true,
},
ecmaVersion: "latest",
sourceType: "module",
ecmaFeatures: {
jsx: true,
},
},
env: {
browser: true,
commonjs: true,
es6: true,
browser: true,
commonjs: true,
es6: true,
},

ignorePatterns: ["!**/.server", "!**/.client"],

// Base config
extends: ['eslint:recommended'],

extends: ["eslint:recommended"],
overrides: [
// React
{
files: ['**/*.{js,jsx,ts,tsx}'],
plugins: ['react', 'jsx-a11y'],
extends: [
'plugin:react/recommended',
'plugin:react/jsx-runtime',
'plugin:react-hooks/recommended',
'plugin:jsx-a11y/recommended',
],
settings: {
react: {
version: 'detect',
},
formComponents: ['Form'],
linkComponents: [
{ name: 'Link', linkAttribute: 'to' },
{ name: 'NavLink', linkAttribute: 'to' },
],
// React
{
files: ["**/*.{js,jsx,ts,tsx}"],
plugins: ["react", "jsx-a11y"],
extends: [
"plugin:react/recommended",
"plugin:react/jsx-runtime",
"plugin:react-hooks/recommended",
"plugin:jsx-a11y/recommended",
],
settings: {
react: {
version: "detect",
},
},

// Typescript
{
files: ['**/*.{ts,tsx}'],
plugins: ['@typescript-eslint', 'import'],
parser: '@typescript-eslint/parser',
settings: {
'import/internal-regex': '^~/',
'import/resolver': {
node: {
extensions: ['.ts', '.tsx'],
},
typescript: {
alwaysTryTypes: true,
},
},
},
extends: [
'plugin:@typescript-eslint/recommended',
'plugin:import/recommended',
'plugin:import/typescript',
formComponents: ["Form"],
linkComponents: [
{ name: "Link", linkAttribute: "to" },
{ name: "NavLink", linkAttribute: "to" },
],
},

// Node
{
files: ['.eslintrc.js'],
env: {
node: true,
"import/resolver": {
typescript: {},
},
},
},

// Typescript
{
files: ["**/*.{ts,tsx}"],
plugins: ["@typescript-eslint", "import"],
parser: "@typescript-eslint/parser",
settings: {
"import/internal-regex": "^~/",
"import/resolver": {
node: {
extensions: [".ts", ".tsx"],
},
typescript: {
alwaysTryTypes: true,
},
},
},
},
extends: [
"plugin:@typescript-eslint/recommended",
"plugin:import/recommended",
"plugin:import/typescript",
],
},

// Node
{
files: [".eslintrc.cjs"],
env: {
node: true,
},
},
],
};
};
14 changes: 7 additions & 7 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,16 @@ If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**

- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

**Smartphone (please complete the following information):**

- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.
6 changes: 3 additions & 3 deletions app/components/CTA/Calendar.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Container } from '~/components/ui/Container';
import { FadeIn } from '~/components/ui/FadeIn';
import { SectionIntro } from '~/components/ui/SectionIntro';
import { Container } from '../ui/Container';
import { FadeIn } from '../ui/FadeIn';
import { SectionIntro } from '../ui/SectionIntro';
import { Link } from '@remix-run/react';

export function CalendarSection() {
Expand Down
31 changes: 20 additions & 11 deletions app/components/CTA/ExpandableEventCards.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, { useEffect, useId, useRef, useState } from 'react';
import { AnimatePresence, motion } from 'framer-motion';
import { AnimatePresence, motion } from 'motion/react';
import { FadeIn, FadeInStagger } from '../ui/FadeIn';
import { Container } from '../ui/Container';
import { SectionIntro } from '../ui/SectionIntro';
Expand Down Expand Up @@ -229,9 +229,12 @@ const eventCards = [
content: () => {
return (
<p>
This all-day event, co-hosted by Tech Bloc , Rackspace Technology, MGV Capital, and DEVSA, featured three main tracks.
Let's explore the DEVSA Community Track at San Antonio Tech Day 🤗
Learn from industry experts on topics ranging from cloud-native technologies, to AI, testing, data science, and team communication.
This all-day event, co-hosted by Tech Bloc , Rackspace
Technology, MGV Capital, and DEVSA, featured three main tracks.
Let's explore the DEVSA Community Track at San Antonio Tech Day
🤗 Learn from industry experts on topics ranging from
cloud-native technologies, to AI, testing, data science, and team
communication.
</p>
);
},
Expand All @@ -245,8 +248,10 @@ const eventCards = [
content: () => {
return (
<p>
Learn Solidity programming and build your first smart contract on the @ethereum_official blockchain.
Gain a solid understanding of blockchain technology, decentralized networks, and the role of blockchain in todays digital landscape
Learn Solidity programming and build your first smart contract on
the @ethereum_official blockchain. Gain a solid understanding of
blockchain technology, decentralized networks, and the role of
blockchain in todays digital landscape
</p>
);
},
Expand All @@ -260,9 +265,12 @@ const eventCards = [
content: () => {
return (
<p>
​Let's promote the spirit of entrepreneurship and support each other's growth.
Collaborate with like-minded techies, brainstorm ideas, and work on your projects in a supportive environment.
All skill levels are welcome! Whether you're working on a side project, building a SaaS product, or aspiring to launch a startup, this event is for you.
​Let's promote the spirit of entrepreneurship and support each
other's growth. Collaborate with like-minded techies, brainstorm
ideas, and work on your projects in a supportive environment. All
skill levels are welcome! Whether you're working on a side
project, building a SaaS product, or aspiring to launch a
startup, this event is for you.
</p>
);
},
Expand All @@ -276,8 +284,9 @@ const eventCards = [
content: () => {
return (
<p>
DEVSA's first on-campus event at UTSA.
This event was open to all UTSA students and anyone interested in learning more about the power of Unreal Engine and its diverse applications.
DEVSA's first on-campus event at UTSA. This event was open to all
UTSA students and anyone interested in learning more about the
power of Unreal Engine and its diverse applications.
</p>
);
},
Expand Down
6 changes: 3 additions & 3 deletions app/components/CTA/ExpandingNetwork.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { SectionIntro } from '~/components/ui/SectionIntro';
import { Container } from '~/components/ui/Container';
import { FadeIn, FadeInStagger } from '~/components/ui/FadeIn';
import { SectionIntro } from '../ui/SectionIntro';
import { Container } from '../ui/Container';
import { FadeIn, FadeInStagger } from '../ui/FadeIn';
import { Link } from '@remix-run/react';

const collaborativeChannels = [
Expand Down
21 changes: 12 additions & 9 deletions app/components/CTA/Geekdom.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,20 @@ export function Geekdom() {
<FadeIn>
<div className="mx-auto max-w-3xl">
<div>
<img
src="https://res.cloudinary.com/jessebubble/image/upload/v1733023932/hashing_ufydrs.svg"
alt="DEVSA Community Logo"
className="h-full w-full"
/>
<img
src="https://res.cloudinary.com/jessebubble/image/upload/v1733023932/hashing_ufydrs.svg"
alt="DEVSA Community Logo"
className="h-full w-full"
/>
</div>
<p className="mt-8 text-lg text-neutral-600 sm:text-xl sm:text-balance sm:text-center">
Professional, student, or simply passionate about technology, you'll find a supportive community here
<p className="mt-8 text-lg text-neutral-600 sm:text-balance sm:text-center sm:text-xl">
Professional, student, or simply passionate about
technology, you'll find a supportive community here
</p>
<div className="mt-8 lg:flex lg:justify-center lg:items-center">
<AltButton variant="primary" href="/coworking-space">Learn More</AltButton>
<div className="mt-8 lg:flex lg:items-center lg:justify-center">
<AltButton variant="primary" href="/coworking-space">
Learn More
</AltButton>
</div>
</div>
</FadeIn>
Expand Down
22 changes: 14 additions & 8 deletions app/components/CTA/Hero.jsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Container } from '~/components/ui/Container';
import { AltButton } from '~/components/ui/AltButton';
import { SocialMedia } from '~/components/ui/SocialMedia';
import { FadeIn } from '~/components/ui/FadeIn';
import { Container } from '../ui/Container';
import { AltButton } from '../ui/AltButton';
import { SocialMedia } from '../ui/SocialMedia';
import { FadeIn } from '../ui/FadeIn';
import { useEffect, useState } from 'react';

export function Hero() {
Expand All @@ -24,16 +24,22 @@ export function Hero() {
Community Focused on Learning and Networking!
</h1>
<p className="font-display mt-6 text-balance text-xl tracking-tight text-neutral-600">
Find a safe, inclusive, and welcoming environment where you can connect, learn, and grow alongside talented tech enthusiast of all skill levels
Find a safe, inclusive, and welcoming environment where
you can connect, learn, and grow alongside talented tech
enthusiast of all skill levels
</p>
<div className="flex items-center">
<AltButton variant="primary" className="mt-8" href="/mission">
<AltButton
variant="primary"
className="mt-8"
href="/mission"
>
Our Mission
</AltButton>
<AltButton
className="ml-4 mt-8"
href="https://donate.stripe.com/00g3cq2yM2XsbGU144"
variant='secondary'
variant="secondary"
>
Tax-Deductible Donation{' '}
<span className="arrow"></span>
Expand Down Expand Up @@ -79,7 +85,7 @@ export function Hero() {
<img
src="https://res.cloudinary.com/jessebubble/image/upload/v1729625750/community-2_yhk6vy.svg"
alt="DEVSA Community Logo"
className="floating h-full w-full mt-6 md:mt-0 lg:h-80"
className="floating mt-6 h-full w-full md:mt-0 lg:h-80"
/>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion app/components/CTA/Newsletter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Container } from '~/components/ui/Container';
import { FadeIn } from '~/components/ui/FadeIn';
import { CalendarDaysIcon, TicketIcon } from '@heroicons/react/24/outline';
import { Form, useFetcher } from '@remix-run/react';
import { motion } from 'framer-motion';
import { motion } from 'motion/react';
import React, { useEffect, useState } from 'react';
import backgroundImage from '~/components/images/background-newsletter.jpg';

Expand Down
10 changes: 5 additions & 5 deletions app/components/CTA/Shop.jsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { Container } from '~/components/ui/Container';
import { FadeIn } from '~/components/ui/FadeIn';
import { SectionIntro } from '~/components/ui/SectionIntro';
import { GrayscaleTransitionImage } from '~/components/ui/GrayscaleTransitionImage';
import { Button } from '~/components/ui/Button';
import { Container } from '../ui/Container';
import { FadeIn } from '../ui/FadeIn';
import { SectionIntro } from '../ui/SectionIntro';
import { GrayscaleTransitionImage } from '../ui/GrayscaleTransitionImage';
import { Button } from '../ui/Button';
import { Link } from '@remix-run/react';
import { useRef } from 'react';

Expand Down
2 changes: 1 addition & 1 deletion app/components/CTA/SlideShow.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { motion, AnimatePresence } from 'framer-motion';
import { motion, AnimatePresence } from 'motion/react';
import { useEffect, useState } from 'react';
import clsx from 'clsx';

Expand Down
4 changes: 2 additions & 2 deletions app/components/CTA/Sponsors.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { FadeIn } from '~/components/ui/FadeIn';
import { Container } from '~/components/ui/Container';
import { FadeIn } from '../ui/FadeIn';
import { Container } from '../ui/Container';

export function Sponsors() {
return (
Expand Down
8 changes: 4 additions & 4 deletions app/components/CTA/TheMission.jsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Container } from '~/components/ui/Container';
import { FadeIn } from '~/components/ui/FadeIn';
import { SectionIntro } from '~/components/ui/SectionIntro';
import { GrayscaleTransitionImage } from '~/components/ui/GrayscaleTransitionImage';
import { Container } from '../ui/Container';
import { FadeIn } from '../ui/FadeIn';
import { SectionIntro } from '../ui/SectionIntro';
import { GrayscaleTransitionImage } from '../ui/GrayscaleTransitionImage';

export function MissionSection() {
return (
Expand Down
2 changes: 1 addition & 1 deletion app/components/CTA/card-carousel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
ArrowRightCircleIcon,
XCircleIcon,
} from '@heroicons/react/20/solid';
import { AnimatePresence, motion } from 'framer-motion';
import { AnimatePresence, motion } from 'motion/react';
import { Container } from '~/components/ui/Container';
import { FadeIn } from '~/components/ui/FadeIn';
import clsx from 'clsx';
Expand Down
2 changes: 1 addition & 1 deletion app/components/ui/BentoCard.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { clsx } from 'clsx';
import { motion } from 'framer-motion';
import { motion } from 'motion/react';

export function BentoCard({
dark = false,
Expand Down
2 changes: 1 addition & 1 deletion app/components/ui/FadeIn.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { createContext, useContext } from 'react';
import { motion, useReducedMotion } from 'framer-motion';
import { motion, useReducedMotion } from 'motion/react';

const FadeInStaggerContext = createContext(false);

Expand Down
Loading

0 comments on commit f9e8fc0

Please sign in to comment.