diff --git a/src/App.css b/src/App.css deleted file mode 100644 index 74b5e053..00000000 --- a/src/App.css +++ /dev/null @@ -1,38 +0,0 @@ -.App { - text-align: center; -} - -.App-logo { - height: 40vmin; - pointer-events: none; -} - -@media (prefers-reduced-motion: no-preference) { - .App-logo { - animation: App-logo-spin infinite 20s linear; - } -} - -.App-header { - background-color: #282c34; - min-height: 100vh; - display: flex; - flex-direction: column; - align-items: center; - justify-content: center; - font-size: calc(10px + 2vmin); - color: white; -} - -.App-link { - color: #61dafb; -} - -@keyframes App-logo-spin { - from { - transform: rotate(0deg); - } - to { - transform: rotate(360deg); - } -} diff --git a/src/components/ContactTable.js b/src/components/ContactTable.js deleted file mode 100644 index 4306cc8c..00000000 --- a/src/components/ContactTable.js +++ /dev/null @@ -1,59 +0,0 @@ -import React from "react"; - -export default function ContactTable({rows}) { - return ( -
- - - - - - - - - - - - {rows.map(r => ( - - - - - - - - ))} - -
NamePhone NumberEmailActions
-
-
{r.name.split(" ").map(n=>n[0]).slice(0,2).join("")}
-
-
{r.name}
-
Officetrax Demo Account
-
-
-
{r.phone}{r.email} - - -
- -
-
- Records per page: - -
-
- Jump to Page: - - 1-6 of {rows.length} -
-
-
- ); -} \ No newline at end of file diff --git a/src/components/Contacts.js b/src/components/Contacts.js deleted file mode 100644 index d950e148..00000000 --- a/src/components/Contacts.js +++ /dev/null @@ -1,44 +0,0 @@ -import React from "react"; -import ContactTable from "./ContactTable"; - -const sampleContacts = [ - {id:1, name:"Johan Doe", phone:"(575) 877-7777", email:"varucetyq@mailinator.com"}, - {id:2, name:"Adam Moussa", phone:"(631) 664-3950", email:"adam@seahavenind.com"}, - {id:3, name:"test", phone:"(123) 343-444554", email:"test@gmail.com"}, - {id:4, name:"Jane K Smith", phone:"(456) 789-8328", email:"jane@gmail.com"}, - {id:5, name:"Zohan Raley", phone:"(123) 567-7688", email:"zohan@gmail.com"}, - {id:6, name:"npaltest", phone:"9999999999", email:"amanmeutd46@gmail.com"}, -]; - -export default function Contacts(){ - return ( -
-
Contacts
- -
-
-
- -
- - - -
-
- -
- - - - -
-
- - -
-
- ); -} \ No newline at end of file diff --git a/src/data/contacts.js b/src/data/contacts.js deleted file mode 100644 index b70d2d73..00000000 --- a/src/data/contacts.js +++ /dev/null @@ -1,9 +0,0 @@ -const sampleContacts = [ - { id: 1, name: 'Johan Doe', phone: '(575) 877-7777', email: 'varucetyq@mailinator.com' }, - { id: 2, name: 'Adam Moussa', phone: '(631) 664-3950', email: 'adam@seahavenind.com' }, - { id: 3, name: 'test', phone: '(123) 343-444554', email: 'test@gmail.com' }, - { id: 4, name: 'Jane K Smith', phone: '(456) 789-8328', email: 'jane@gmail.com' }, - { id: 5, name: 'Zohan Raley', phone: '(123) 567-7688', email: 'zohan@gmail.com' }, - { id: 6, name: 'npaltest', phone: '9999999999', email: 'amanmeutd46@gmail.com' }, -]; -export default sampleContacts; \ No newline at end of file