Commit Graph

7 Commits

Author SHA1 Message Date
Stephanie Dietz
7e4b69351e Add database (#153)
* add database to project. Seed data. Update customerId to customer_id

* seed customers table data

* use database everywhere

* refactor

* fix ts lint errors

* add type to invoice edit page

* remove fetch-data file and fetch data directly in components

* update lates invoices to use sql

* in invoice table,  search the database here with SQL

* rename tsx files to ts and add node script to seed data

* address rest of PR comments

* move all data fetches to own file

* add types to filter invoices function

* remove unused param

* prettier

* update function names
2023-09-13 12:16:09 -05:00
Delba de Oliveira
1af130179b Add project assets: hero image, OG image, logo, and favicon (#147)
* Add local date formatting

* Add dashboard hero image

* Update hero styles

* Polish login form

* Use Next.js symbol for logo

* Use Next.js symbol for favicon

* Use img instead of Image

* Add mobile styles to login form

* Polish nav styles to fit logo

* Fix build error

* Create og-image.png

* Remove unused code

* Replace svg logo with png

* Update Images and Links

* Misc

* Remove duplicate package-lock files

* Prettier
2023-09-07 17:47:48 +01:00
Delba de Oliveira
340cd8dd05 Add "create" invoice form (#139)
* Install @tailwindcss/forms

* Add invoice form

* Replace -zinc- with -gray- for consistency
2023-09-05 09:11:54 -05:00
Delba de Oliveira
c0f63f4d25 Add card component and calculations (#130)
* Run create-next-app

* Add READMEs

* Remove stuff we don't need

* Add dummy data

* Add types for dummy data

* Add dummy routes

* Remove unused CSS

* Split dummy data and definitions

* Add prettier plugin for tailwind

* Create background-blur.tsx

* Create hero.tsx

* Create login-form.tsx

* Tweak

* Install hero icons and clsx

* Create calculations.tsx

* Update dummy-data.tsx

* Create card.tsx

* Create dashboard-overview.tsx

* Update page.tsx

* Add placeholder for dashboard-topnav

* Adjust sizings for whole page

* Update card styles and add icons

* ugh, fonts are hard

* misc

* Remo unused import
2023-08-31 08:50:05 -05:00
Stephanie Dietz
24f9a5fa45 Add side nav and hero icons (#129)
* add side nav component and hero icons

* update file name

* Update dashboard/15-final/app/dashboard/layout.tsx

Co-authored-by: Delba de Oliveira <32464864+delbaoliveira@users.noreply.github.com>

* make nav mobile friendly

---------

Co-authored-by: Delba de Oliveira <32464864+delbaoliveira@users.noreply.github.com>
2023-08-31 11:02:52 +01:00
Delba de Oliveira
4376abb821 Add components for home and login pages (#128)
* Run create-next-app

* Add READMEs

* Remove stuff we don't need

* Add dummy data

* Add types for dummy data

* Add dummy routes

* Remove unused CSS

* Split dummy data and definitions

* Add prettier plugin for tailwind

* Create background-blur.tsx

* Create hero.tsx

* Create login-form.tsx

* Tweak

* Fix ts error
2023-08-30 16:47:42 +01:00
Delba de Oliveira
77fbb51681 Adds dashboard course skeleton (#126) 2023-08-30 09:11:57 -05:00