-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: added description atribute in architect schema. Added descripti…
…on view in forms, and profile view. Deleted unused models (Scale and Experience), handle by uynique id's
- Loading branch information
Showing
17 changed files
with
217 additions
and
105 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 0 additions & 19 deletions
19
my-app/prisma/migrations/20240528233831_schema_migration/migration.sql
This file was deleted.
Oops, something went wrong.
2 changes: 0 additions & 2 deletions
2
my-app/prisma/migrations/20240605051404_new_column/migration.sql
This file was deleted.
Oops, something went wrong.
23 changes: 0 additions & 23 deletions
23
my-app/prisma/migrations/20240606013557_new_model/migration.sql
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
my-app/prisma/migrations/20240709043031_deleted_experiences/migration.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
/* | ||
Warnings: | ||
- You are about to drop the `Experience` table. If the table is not empty, all the data it contains will be lost. | ||
*/ | ||
-- DropForeignKey | ||
ALTER TABLE "Architect" DROP CONSTRAINT "Architect_experience_id_fkey"; | ||
|
||
-- DropTable | ||
DROP TABLE "Experience"; |
11 changes: 11 additions & 0 deletions
11
my-app/prisma/migrations/20240709044905_deleted_scale_model/migration.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
/* | ||
Warnings: | ||
- You are about to drop the `Scale` table. If the table is not empty, all the data it contains will be lost. | ||
*/ | ||
-- DropForeignKey | ||
ALTER TABLE "ArchitectScales" DROP CONSTRAINT "ArchitectScales_scale_id_fkey"; | ||
|
||
-- DropTable | ||
DROP TABLE "Scale"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import React, { useState } from "react"; | ||
|
||
export default function DescriptionForm({ | ||
description, | ||
setDescription,}: | ||
{ onNext: () => void, onBack: () => void, description: string, setDescription: (description: string) => void}) { | ||
|
||
return( | ||
<div className="formContainer"> | ||
<h1 style={{fontSize: "2.5vh", fontWeight: "bold"}}>Ingresa una breve descripción</h1> | ||
<div style={{ display: "flex", justifyContent: "center", marginTop: "8vh"}}> | ||
<textarea | ||
value={description} | ||
onChange={e => setDescription(e.target.value)} | ||
className="descriptionInput" | ||
placeholder="tu descripción aquí..." | ||
maxLength={200} | ||
style={{height: "30rem", width: "15rem", textAlign: "center"}} | ||
/> | ||
</div> | ||
</div> | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.