Skip to content

Commit

Permalink
add appointments (alexrobaina#252)
Browse files Browse the repository at this point in the history
* add appointments

* delete consoles
  • Loading branch information
alexrobaina authored May 17, 2024
1 parent bbef9aa commit f384c24
Show file tree
Hide file tree
Showing 88 changed files with 6,573 additions and 1,417 deletions.
6 changes: 5 additions & 1 deletion .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
module.exports = {
root: true,
env: { browser: true, es2020: true },
env: {
browser: true,
es6: true,
node: true,
},
extends: [
'prettier',
'eslint:recommended',
Expand Down
6 changes: 6 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,12 @@
"@react-google-maps/api": "^2.19.2",
"@types/lodash": "^4.17.0",
"@types/qrcode": "^1.5.4",
"@types/react-big-calendar": "^1.8.9",
"@types/react-date-range": "^1.4.9",
"@vitejs/plugin-react-swc": "^3.3.2",
"autoprefixer": "^10.4.15",
"axios": "^1.5.0",
"date-fns": "^3.6.0",
"dotenv": "^16.3.1",
"formik": "^2.4.5",
"framer-motion": "^10.16.4",
Expand All @@ -33,10 +36,13 @@
"lodash": "^4.17.21",
"mobx": "^6.10.2",
"mobx-react": "^9.0.1",
"moment": "^2.30.1",
"postcss": "^8.4.29",
"qrcode": "^1.5.3",
"qrcode.react": "^3.1.0",
"react": "^18.2.0",
"react-big-calendar": "^1.12.1",
"react-date-range": "^2.0.1",
"react-dom": "^18.2.0",
"react-i18next": "^14.1.0",
"react-image-file-resizer": "^0.4.8",
Expand Down
7 changes: 7 additions & 0 deletions public/locales/en/appointments.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"createAppointmentForPets": "Create Appointment for Pets",
"selectAdopterOrShelter": "Select Adopter or Shelter",
"addAppointment": "Add Appointment",
"organizeYourAppointments": "Organize your appointments",
"calendarDescription": "Here you can see all the appointments you have created for your pets. You can view them by day, week or month."
}
240 changes: 132 additions & 108 deletions public/locales/en/common.json
Original file line number Diff line number Diff line change
@@ -1,112 +1,136 @@
{
"community": "Community",
"searchPets": "Search Pets",
"dashboard": "Dashboard",
"settings": "Settings",
"logout": "logout",
"resetFilters": "Clear filters",
"searchByName": "Search by name",
"dogs": "Dogs",
"cats": "Cats",
"exotics": "Exotics",
"males": "Males",
"females": "Females",
"community": "Community",
"searchPets": "Search Pets",
"dashboard": "Dashboard",
"settings": "Settings",
"logout": "logout",
"resetFilters": "Clear filters",
"searchByName": "Search by name",
"dogs": "Dogs",
"cats": "Cats",
"exotics": "Exotics",
"males": "Males",
"females": "Females",
"dog": "Dog",
"cat": "Cat",
"exotic": "Exotic",
"male": "Male",
"editPet": "Edit pet",
"createPet": "Create pet",
"female": "Female",
"adopted": "Adopted",
"inAdoption": "In adoption",
"category": "Categoría",
"gender": "Gender",
"age": "Age",
"size": "Size",
"status": "Status",
"pets": "Pets",
"areYouSureDelete": "Are you sure you want to delete",
"available": "Available",
"showing": "Showing",
"of": "of",
"results": "results",
"previous": "Previous",
"name": "Name",
"next": "Next",
"selectImages": "Select images",
"selectImagesInfo": "JPG, GIF or PNG. 1.5MB max.",
"petName": "Pet name",
"breed": "Breed",
"weight": "Weight",
"massUnit": "Mass units",
"petDescription": "Description of pet",
"description": "Description",
"adopterBy": "Adoptado por",
"petGuardians": "Pet Guardians",
"adoptedBy": "Adopted by",
"vet": "Vet",
"shelter": "Shelter",
"select": "Select",
"selectVeterinary": "Select veterinary",
"selectShelter": "Select shelter",
"selectAdopter": "Select adopter",
"petBreed": "Pet breed",
"rabbits": "Rabbits",
"title": "Title",
"notes": "Notes",
"appointment": "Appointment",
"appointments": "Appointments",
"selectDate": "Select Date",
"isRequired": "This field is required",
"start": "Start",
"end": "End",
"selectTime": "Select Time",
"edit": "Edit",
"editAppointment": "Edit appointment",
"createAppointment": "Create appointment",
"pet": "Pet",
"selectPet": "Select pet",
"allDay": "All day",
"today": "Today",
"month": "Month",
"week": "Week",
"day": "Day",
"agenda": "Agenda",
"date": "Date",
"time": "Time",
"event": "Event",
"showMore": "+ Show more ({{total}})",
"myPets": "My pets",
"sizePet": {
"small": "Small",
"medium": "Medium",
"large": "Large",
"extraLarge": "Extra large"
},
"categoryPet": {
"dog": "Dog",
"cat": "Cat",
"exotic": "Exotic",
"rabbit": "Rabbit",
"hamster": "Hamster",
"bird": "Bird",
"exotic": "Exotic"
},
"agePet": {
"baby": "Baby",
"young": "Young",
"adult": "Adult",
"senior": "Senior"
},
"genderPet": {
"male": "Male",
"editPet": "Edit pet",
"createPet": "Create pet",
"female": "Female",
"adopted": "Adopted",
"inAdoption": "In adoption",
"category": "Categoría",
"gender": "Gender",
"age": "Age",
"size": "Size",
"status": "Status",
"pets": "Pets",
"areYouSureDelete": "Are you sure you want to delete",
"available": "Available",
"showing": "Showing",
"of": "of",
"results": "results",
"previous": "Previous",
"name": "Name",
"next": "Next",
"selectImages": "Select images",
"selectImagesInfo": "JPG, GIF or PNG. 1.5MB max.",
"petName": "Pet name",
"breed": "Breed",
"weight": "Weight",
"massUnit": "Mass units",
"petDescription": "Description of pet",
"description": "Description",
"adopterBy": "Adoptado por",
"petGuardians": "Pet Guardians",
"adoptedBy": "Adopted by",
"vet": "Vet",
"shelter": "Shelter",
"select": "Select",
"selectVeterinary": "Select veterinary",
"selectShelter": "Select shelter",
"selectAdopter": "Select adopter",
"petBreed": "Pet breed",
"rabbits": "Rabbits",
"myPets": "My pets",
"sizePet": {
"small": "Small",
"medium": "Medium",
"large": "Large",
"extraLarge": "Extra large"
},
"categoryPet": {
"dog": "Dog",
"cat": "Cat",
"rabbit": "Rabbit",
"hamster": "Hamster",
"bird": "Bird",
"exotic": "Exotic"
},
"agePet": {
"baby": "Baby",
"young": "Young",
"adult": "Adult",
"senior": "Senior"
},
"genderPet": {
"male": "Male",
"female": "Female"
},
"cancel": "Cancel",
"save": "Save",
"veterinarians": "Veterinarians",
"veterinarian": "Veterinary",
"shelters": "Shelters",
"contact": "Contact",
"email": "Email",
"role": "Role",
"phone": "Phone",
"address": "Address",
"location": "Location",
"delete": "Delete",
"SHELTER": "Shelter",
"VET": "Veterinary",
"ADOPTER": "Adopter",
"adopter": "Adopter",
"searchByLocation": "Search by location",
"actions": "Actions",
"adoptPet": "Adopt pet",
"login": "Login",
"locationUnavailable": "Location unavailable",
"petAvailable": "Pet available",
"petDeleted": "Pet deleted successfully",
"petNotDeleted": "Pet not deleted",
"contactsForAdoption": "Contacts for adoption",
"emailInvalid": "Email invalid",
"requiredField": "Required field",
"petNotAvailable": "Pet not available",
"wantAdoption": "I want to adopt to",
"aboutUs": "About Us",
"last": "Last"
}
"female": "Female"
},
"cancel": "Cancel",
"save": "Save",
"veterinarians": "Veterinarians",
"veterinarian": "Veterinary",
"shelters": "Shelters",
"contact": "Contact",
"email": "Email",
"role": "Role",
"phone": "Phone",
"address": "Address",
"location": "Location",
"delete": "Delete",
"SHELTER": "Shelter",
"VET": "Veterinary",
"ADOPTER": "Adopter",
"adopter": "Adopter",
"searchByLocation": "Search by location",
"actions": "Actions",
"adoptPet": "Adopt pet",
"login": "Login",
"locationUnavailable": "Location unavailable",
"petAvailable": "Pet available",
"petDeleted": "Pet deleted successfully",
"petNotDeleted": "Pet not deleted",
"contactsForAdoption": "Contacts for adoption",
"emailInvalid": "Email invalid",
"requiredField": "Required field",
"petNotAvailable": "Pet not available",
"wantAdoption": "I want to adopt to",
"aboutUs": "About Us",
"last": "Last"
}
7 changes: 7 additions & 0 deletions public/locales/es/appointments.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"createAppointmentForPets": "Crear Cita para Mascotas",
"selectAdopterOrShelter": "Seleccionar Adoptante o Refugio",
"addAppointment": "Crear Cita",
"organizeYourAppointments": "Organiza tus Citas",
"calendarDescription": "Aquí puedes ver todas las citas que has creado para tus mascotas. Puedes verlas por día, semana o mes."
}
Loading

0 comments on commit f384c24

Please sign in to comment.