diff --git a/src/App.js b/src/App.js index c6eda47..107c887 100644 --- a/src/App.js +++ b/src/App.js @@ -82,14 +82,6 @@ function App() { }/> }/> }/> - }/> - }/> - }/> - }/> - }/> - }/> - }/> - }/> diff --git a/src/components/ServiceDetails/ServiceDetails.css b/src/components/ServiceDetails/ServiceDetails.css new file mode 100644 index 0000000..fc2a3a0 --- /dev/null +++ b/src/components/ServiceDetails/ServiceDetails.css @@ -0,0 +1,64 @@ +.serviceDetails .nav { + display: flex; + align-items: center; + padding: 1rem 2rem; +} + +.serviceDetails .nav span{ + font-size: 2rem; + font-weight: 600; + text-transform: capitalize; +} + +.serviceDetails hr{ + width: 95%; + margin: 0 auto; + border: none; + outline: none; + border-bottom: 1px solid #eee; +} + +.serviceDetails main{ + height: calc(100vh - 16rem); + display: flex; + align-items: center; + justify-content: space-between; + padding: 0 2rem; +} + +.serviceDetails main .img img{ + width: 100%; + max-width: 45rem; +} + +.serviceDetails .main__content{ + display: flex; + flex-direction: column; + gap: .4rem; +} + +.serviceDetails .main__content .chip{ + display: flex; + align-items: center; + gap: 1rem; + border: 1px solid #999; + color: #444; + padding: .4rem; + width: fit-content; + border-radius: 8px; +} + +.services__sublist{ + display: flex; + align-items: start; + gap: 2rem; + padding: 1rem 2rem; +} + +.services__sublist .sublist__item{ + display: flex; + flex-direction: column; + align-items: center; + gap: .25rem; + cursor: pointer; +} \ No newline at end of file diff --git a/src/components/ServiceDetails/ServiceDetails.jsx b/src/components/ServiceDetails/ServiceDetails.jsx index 0133267..65dc98e 100644 --- a/src/components/ServiceDetails/ServiceDetails.jsx +++ b/src/components/ServiceDetails/ServiceDetails.jsx @@ -1,10 +1,13 @@ import WebIcon from "@mui/icons-material/Web"; +import './ServiceDetails.css' -const ServiceDetails = () => { +const ServiceDetails = ({logo, icon, title, description, img, sublist}) => { return (

@@ -21,12 +24,12 @@ const ServiceDetails = () => {

-
+
-
+
diff --git a/src/firebase/config.js b/src/firebase/config.js index 7b2ea17..ee5dfca 100644 --- a/src/firebase/config.js +++ b/src/firebase/config.js @@ -4,7 +4,7 @@ import "firebase/compat/storage"; import 'firebase/compat/auth' export const firebaseConfig = firebase.initializeApp({ - apiKey: process.env.FIREBASE_API_KEY, + apiKey: "AIzaSyAL0c3QplzTTpLGtkrMBn9T3J4qVE6ZRrg", authDomain: "hackathon-6cb89.firebaseapp.com", projectId: "hackathon-6cb89", storageBucket: "hackathon-6cb89.appspot.com",