Skip to content

Commit

Permalink
Changed project id for deployment (#268)
Browse files Browse the repository at this point in the history
* deleted as we are using yarn

* imports sorted

* changed project id of firebase
  • Loading branch information
NicholasChoong authored May 19, 2022
1 parent 9a67c9c commit 1bd56a5
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 7,166 deletions.
4 changes: 2 additions & 2 deletions components/FoodGroups/Draggable/characterspawner.tsx
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
import { useEffect, useState } from 'react'

import { N_DRAGGABLE } from '@components/FoodGroups/constants'
import Draggable, { DRAGGING_STATE } from '@components/FoodGroups/Draggable'
import { ORIGIN_VECTOR2, Vector2 } from '@components/FoodGroups/vector'
import { FOOD_GROUPS, GROUPS } from '@components/FoodGroups/groups'
import { ORIGIN_VECTOR2, Vector2 } from '@components/FoodGroups/vector'

import {
FoodGroupCharacterImage,
FoodGroupCharacterImageDynamic
} from './types'
import { State_, StateDispatch } from '../types'
import { N_DRAGGABLE } from '@components/FoodGroups/constants'

export const CHARACTER_POSITIONS: Vector2[] = [
{ x: 5, y: 25 },
Expand Down
2 changes: 1 addition & 1 deletion components/FoodGroups/Draggable/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ import { useEffect, useState } from 'react'
import Image from 'next/image'
import { Transition } from '@headlessui/react'

import { Vector2 } from '../vector'
import { FoodGroupCharacterImage } from './types'
import { dragDrop } from '../styles'
import { State_, StateDispatch } from '../types'
import { Vector2 } from '../vector'

export const enum DRAGGING_STATE {
WHEEL,
Expand Down
2 changes: 1 addition & 1 deletion components/FoodGroups/Wheel/WindowResizeHook.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { useEffect } from 'react'

import { resize_map } from '@components/FoodGroups/Wheel/dinamicStyles'
import { FoodGroupResizeArguments } from '@components/FoodGroups/types'
import { resize_map } from '@components/FoodGroups/Wheel/dinamicStyles'

export default function WindowResizeHook({
params
Expand Down
5 changes: 2 additions & 3 deletions components/FoodGroups/Wheel/dinamicStyles.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
import { FOOD_GROUPS, GROUPS } from '@components/FoodGroups/groups'
import { zoom } from '@components/FoodGroups/styles'
import {
FoodGroupImage,
FoodGroupResizeArguments,
FoodGroupStates
} from '@components/FoodGroups/types'

import { Vector2 } from '@components/FoodGroups/vector'
import { FOOD_GROUPS, GROUPS } from '@components/FoodGroups/groups'
import { zoom } from '@components/FoodGroups/styles'

import dairy from 'public/images/FoodGroups/dairy-shadow.png'
import fruit from 'public/images/FoodGroups/fruit-shadow.png'
Expand Down
6 changes: 3 additions & 3 deletions components/FoodGroups/Wheel/index.tsx
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
import { useEffect, useState } from 'react'
import Image from 'next/image'

import { State, State_ } from '@components/FoodGroups/types'
import {
angleRegions,
foodGroupsImages,
handleMouseOut,
handleMouseOver,
resize_map
} from '@components/FoodGroups/Wheel/dinamicStyles'
import { State, State_ } from '@components/FoodGroups/types'
import WindowResizeHook from '@components/FoodGroups/Wheel/WindowResizeHook'

import { ORIGIN_VECTOR2, Vector2 } from '../vector'
import { FOOD_GROUPS, GROUPS } from '../groups'
import { GROUPS } from '../groups'
import { customImg, sliceBaseStyle, sliceDimensions } from '../styles'
import { ORIGIN_VECTOR2, Vector2 } from '../vector'

import styles from 'components/FoodGroups/Wheel/foodgroups.module.css'

Expand Down
2 changes: 1 addition & 1 deletion functions/.firebaserc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"projects": {
"default": "fir-stopbill"
"default": "superherofoods-game"
}
}
2 changes: 1 addition & 1 deletion functions/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const {CloudBillingClient} = require("@google-cloud/billing");
// import * as functions from "firebase-functions";
// import {CloudBillingClient} from "@google-cloud/billing";

const PROJECT_ID = "fir-stopbill";
const PROJECT_ID = "superherofoods-game";
const PROJECT_NAME = `projects/${PROJECT_ID}`;
const billing = new CloudBillingClient();

Expand Down
Loading

1 comment on commit 1bd56a5

@vercel
Copy link

@vercel vercel bot commented on 1bd56a5 May 19, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.