diff --git a/components/Demo.js b/components/Demo.js deleted file mode 100644 index 9fa4ca4..0000000 --- a/components/Demo.js +++ /dev/null @@ -1,7 +0,0 @@ -import React from 'react' - -const demo = () => { - return
demo
-} - -export default demo diff --git a/components/sections/Avatar.js b/components/sections/Avatar.js new file mode 100644 index 0000000..a05fe05 --- /dev/null +++ b/components/sections/Avatar.js @@ -0,0 +1,82 @@ +import React, { useEffect, useState } from 'react' +import Image from 'next/image' +import Bg from '../../public/assests/profile/profileBg.png' +import demo from '../../public/assests/profile/demo.png' +import { icons } from '../../style-guide/utils/icons' +import TecnoCoin from '../style-guide/TecnoCoin' +import EventAttended from '../style-guide/EventAttended' + +const Avatar = () => { + const [offsetY, setOffsetY] = useState(0) + const handleScroll = () => { + setOffsetY(window.pageYOffset) + } + useEffect(() => { + window.addEventListener('scroll', handleScroll) + + return () => { + window.removeEventListener('scroll', handleScroll) + } + }, []) + return ( +
+
+ +
+
+
+ +
+ {icons.profile.camera} +
+
+
+
+
+ Bhaskar Wary +
+
+ + +
+
{icons.profile.cusBorder}
+
+
+ Details +
+
+ Coins +
+
+
+
{icons.profile.cusBorder}
+
+ Personal Details +
+
+
+
Name:- Wary
+
{icons.profile.cusBorder}
+
College:- NIT Silchar
+
{icons.profile.cusBorder}
+
Mobile No:- 6543210981
+
{icons.profile.cusBorder}
+
+
+
+ ) +} + +export default Avatar diff --git a/components/sections/Modules/Modal.js b/components/sections/Modules/Modal.js new file mode 100644 index 0000000..836288c --- /dev/null +++ b/components/sections/Modules/Modal.js @@ -0,0 +1,29 @@ +import React from 'react' +//import { FontAwesomeIcon } from '@fortawesome/react-fontawesome' +import { IoMdClose } from 'react-icons/io' +function Modal() { + return ( +
+
+ {/**/} +
+
+
+ +
+
+
+
+

RoboTron

+
+

Lorem ipsum dolor, sit amet consectetur adipisicing elit. Eaque pariatur sint aliquam atque. Blanditiis, laudantium. Nobis quam quasi ducimus architecto vero ipsa itaque minima in omnis voluptates iusto corporis facilis, maxime, sunt quis. Doloremque recusandae cum qui libero, facilis illum quisquam molestiae! Quo at molestiae expedita eos voluptas natus necessitatibus?

+
+
+
+ {/*

Module Name

*/} +
+
+ ) +} + +export default Modal \ No newline at end of file diff --git a/components/sections/Modules/Modules.js b/components/sections/Modules/Modules.js new file mode 100644 index 0000000..e69de29 diff --git a/components/sections/Sidebar/Sidebar.js b/components/sections/Sidebar/Sidebar.js new file mode 100644 index 0000000..06bf565 --- /dev/null +++ b/components/sections/Sidebar/Sidebar.js @@ -0,0 +1,17 @@ +import React from 'react' +import styles from './Sidebar.module.scss' + +const Sidebar = () => { + return ( +
+
+
Modules
+
+
+
Robotron
+
+
+ ) +} + +export default Sidebar diff --git a/components/sections/Sidebar/Sidebar.module.scss b/components/sections/Sidebar/Sidebar.module.scss new file mode 100644 index 0000000..e69de29 diff --git a/components/style-guide/EventAttended.js b/components/style-guide/EventAttended.js new file mode 100644 index 0000000..84efb25 --- /dev/null +++ b/components/style-guide/EventAttended.js @@ -0,0 +1,16 @@ +import React from 'react' +import { icons } from '../../style-guide/utils/icons' + +const EventAttended = ({ noOfEvents }) => { + return ( +
+ {icons.eventsIcon} +
+ {noOfEvents} events + attended +
+
+ ) +} + +export default EventAttended diff --git a/components/style-guide/TecnoCoin.js b/components/style-guide/TecnoCoin.js new file mode 100644 index 0000000..9360590 --- /dev/null +++ b/components/style-guide/TecnoCoin.js @@ -0,0 +1,24 @@ +import React from 'react' +import Image from 'next/image' +import tecnoCoin from '../../style-guide/utils/Icons/TecnoCoins.svg' + +const TecnoCoin = ({ noOfCoins }) => { + return ( +
+
+ +
+
+ Earned {noOfCoins} + Coins +
+
+ ) +} + +export default TecnoCoin diff --git a/components/style-guide/sections/AboutUs.js b/components/style-guide/sections/AboutUs.js index dd1aaf2..a68e7f5 100644 --- a/components/style-guide/sections/AboutUs.js +++ b/components/style-guide/sections/AboutUs.js @@ -4,10 +4,9 @@ const AboutUs = () => { return (
-
+
ABOUT US
-
TECNOESIS is the annual techno-management Festival of NIT Silchar. Started with the aim of providing a platform for the student community @@ -20,7 +19,7 @@ const AboutUs = () => { target="_blank" rel="noreferrer" > - diff --git a/components/style-guide/sections/Header.jsx b/components/style-guide/sections/Header.jsx index f759e51..b88be9a 100644 --- a/components/style-guide/sections/Header.jsx +++ b/components/style-guide/sections/Header.jsx @@ -4,21 +4,25 @@ import Image from 'next/dist/client/image' import LogoPng from '../../../public/assests/landingPage/tecnoesis.png' function Header() { - const [offsetY, setOffsetY] = useState(0); + const [offsetY, setOffsetY] = useState(0) const handleScroll = () => { setOffsetY(window.pageYOffset) } useEffect(() => { - window.addEventListener('scroll', handleScroll); + window.addEventListener('scroll', handleScroll) - return () => { window.removeEventListener('scroll', handleScroll) }; + return () => { + window.removeEventListener('scroll', handleScroll) + } }, []) return ( -

Coming Soon

@@ -63,7 +67,6 @@ function Header() {

October

-
) } diff --git a/components/style-guide/sections/Parallax.jsx b/components/style-guide/sections/Parallax.jsx index 82e3d6d..e171e62 100644 --- a/components/style-guide/sections/Parallax.jsx +++ b/components/style-guide/sections/Parallax.jsx @@ -7,35 +7,32 @@ import Header from './Header' import Socials from './Socials' function Parallax() { - const [offsetY, setOffsetY] = useState(0); + const [offsetY, setOffsetY] = useState(0) const handleScroll = () => { setOffsetY(window.pageYOffset) } useEffect(() => { - window.addEventListener('scroll', handleScroll); + window.addEventListener('scroll', handleScroll) - return () => { window.removeEventListener('scroll', handleScroll) }; + return () => { + window.removeEventListener('scroll', handleScroll) + } }, []) return ( +
+
- -
-
- -
-
- - +
- -
- +
diff --git a/package-lock.json b/package-lock.json index 34d7258..7e2a744 100644 --- a/package-lock.json +++ b/package-lock.json @@ -15,7 +15,9 @@ "next": "12.2.4", "react": "18.2.0", "react-dom": "18.2.0", - "react-scroll-parallax": "^3.3.0" + "react-icons": "^4.4.0", + "react-scroll-parallax": "^3.3.0", + "sass": "^1.54.7" }, "devDependencies": { "autoprefixer": "^10.4.8", @@ -622,7 +624,6 @@ "version": "3.1.2", "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.2.tgz", "integrity": "sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg==", - "dev": true, "dependencies": { "normalize-path": "^3.0.0", "picomatch": "^2.0.4" @@ -789,7 +790,6 @@ "version": "2.2.0", "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==", - "dev": true, "engines": { "node": ">=8" } @@ -808,7 +808,6 @@ "version": "3.0.2", "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", - "dev": true, "dependencies": { "fill-range": "^7.0.1" }, @@ -910,7 +909,6 @@ "version": "3.5.3", "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz", "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==", - "dev": true, "funding": [ { "type": "individual", @@ -937,7 +935,6 @@ "version": "5.1.2", "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", - "dev": true, "dependencies": { "is-glob": "^4.0.1" }, @@ -1798,7 +1795,6 @@ "version": "7.0.1", "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", - "dev": true, "dependencies": { "to-regex-range": "^5.0.1" }, @@ -1864,7 +1860,6 @@ "version": "2.3.2", "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", - "dev": true, "hasInstallScript": true, "optional": true, "os": [ @@ -2094,6 +2089,11 @@ "node": ">= 4" } }, + "node_modules/immutable": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/immutable/-/immutable-4.1.0.tgz", + "integrity": "sha512-oNkuqVTA8jqG1Q6c+UglTOD1xhC1BtjKI7XkCXRkZHrN5m18/XsnUp8Q89GkQO/z+0WjonSvl0FLhDYftp46nQ==" + }, "node_modules/import-fresh": { "version": "3.3.0", "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", @@ -2165,7 +2165,6 @@ "version": "2.1.0", "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", - "dev": true, "dependencies": { "binary-extensions": "^2.0.0" }, @@ -2232,7 +2231,6 @@ "version": "2.1.1", "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", - "dev": true, "engines": { "node": ">=0.10.0" } @@ -2241,7 +2239,6 @@ "version": "4.0.3", "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", - "dev": true, "dependencies": { "is-extglob": "^2.1.1" }, @@ -2265,7 +2262,6 @@ "version": "7.0.0", "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", - "dev": true, "engines": { "node": ">=0.12.0" } @@ -2644,7 +2640,6 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", - "dev": true, "engines": { "node": ">=0.10.0" } @@ -2911,7 +2906,6 @@ "version": "2.3.1", "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", - "dev": true, "engines": { "node": ">=8.6" }, @@ -3153,6 +3147,14 @@ "react": "^18.2.0" } }, + "node_modules/react-icons": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/react-icons/-/react-icons-4.4.0.tgz", + "integrity": "sha512-fSbvHeVYo/B5/L4VhB7sBA1i2tS8MkT0Hb9t2H1AVPkwGfVHLJCqyr2Py9dKMxsyM63Eng1GkdZfbWj+Fmv8Rg==", + "peerDependencies": { + "react": "*" + } + }, "node_modules/react-is": { "version": "16.13.1", "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", @@ -3186,7 +3188,6 @@ "version": "3.6.0", "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", - "dev": true, "dependencies": { "picomatch": "^2.2.1" }, @@ -3303,6 +3304,22 @@ "queue-microtask": "^1.2.2" } }, + "node_modules/sass": { + "version": "1.54.7", + "resolved": "https://registry.npmjs.org/sass/-/sass-1.54.7.tgz", + "integrity": "sha512-3q7MQz7sCpVG6TLhUfZwGOcd2/sm2ghYN2JEdRjNiW04ILdvahdo9GuAs+bxsxZ3hDCKv+wUT5w0iFWGU0CxlA==", + "dependencies": { + "chokidar": ">=3.0.0 <4.0.0", + "immutable": "^4.0.0", + "source-map-js": ">=0.6.2 <2.0.0" + }, + "bin": { + "sass": "sass.js" + }, + "engines": { + "node": ">=12.0.0" + } + }, "node_modules/scheduler": { "version": "0.23.0", "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.23.0.tgz", @@ -3551,7 +3568,6 @@ "version": "5.0.1", "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", - "dev": true, "dependencies": { "is-number": "^7.0.0" }, @@ -4131,7 +4147,6 @@ "version": "3.1.2", "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.2.tgz", "integrity": "sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg==", - "dev": true, "requires": { "normalize-path": "^3.0.0", "picomatch": "^2.0.4" @@ -4248,8 +4263,7 @@ "binary-extensions": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", - "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==", - "dev": true + "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==" }, "brace-expansion": { "version": "1.1.11", @@ -4265,7 +4279,6 @@ "version": "3.0.2", "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", - "dev": true, "requires": { "fill-range": "^7.0.1" } @@ -4323,7 +4336,6 @@ "version": "3.5.3", "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz", "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==", - "dev": true, "requires": { "anymatch": "~3.1.2", "braces": "~3.0.2", @@ -4339,7 +4351,6 @@ "version": "5.1.2", "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", - "dev": true, "requires": { "is-glob": "^4.0.1" } @@ -5006,7 +5017,6 @@ "version": "7.0.1", "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", - "dev": true, "requires": { "to-regex-range": "^5.0.1" } @@ -5053,7 +5063,6 @@ "version": "2.3.2", "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", - "dev": true, "optional": true }, "function-bind": { @@ -5210,6 +5219,11 @@ "integrity": "sha512-CmxgYGiEPCLhfLnpPp1MoRmifwEIOgjcHXxOBjv7mY96c+eWScsOP9c112ZyLdWHi0FxHjI+4uVhKYp/gcdRmQ==", "dev": true }, + "immutable": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/immutable/-/immutable-4.1.0.tgz", + "integrity": "sha512-oNkuqVTA8jqG1Q6c+UglTOD1xhC1BtjKI7XkCXRkZHrN5m18/XsnUp8Q89GkQO/z+0WjonSvl0FLhDYftp46nQ==" + }, "import-fresh": { "version": "3.3.0", "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", @@ -5266,7 +5280,6 @@ "version": "2.1.0", "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", - "dev": true, "requires": { "binary-extensions": "^2.0.0" } @@ -5308,14 +5321,12 @@ "is-extglob": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", - "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", - "dev": true + "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==" }, "is-glob": { "version": "4.0.3", "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", - "dev": true, "requires": { "is-extglob": "^2.1.1" } @@ -5329,8 +5340,7 @@ "is-number": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", - "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", - "dev": true + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==" }, "is-number-object": { "version": "1.0.7", @@ -5596,8 +5606,7 @@ "normalize-path": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", - "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", - "dev": true + "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==" }, "normalize-range": { "version": "0.1.2", @@ -5785,8 +5794,7 @@ "picomatch": { "version": "2.3.1", "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", - "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", - "dev": true + "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==" }, "pify": { "version": "2.3.0", @@ -5917,6 +5925,12 @@ "scheduler": "^0.23.0" } }, + "react-icons": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/react-icons/-/react-icons-4.4.0.tgz", + "integrity": "sha512-fSbvHeVYo/B5/L4VhB7sBA1i2tS8MkT0Hb9t2H1AVPkwGfVHLJCqyr2Py9dKMxsyM63Eng1GkdZfbWj+Fmv8Rg==", + "requires": {} + }, "react-is": { "version": "16.13.1", "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", @@ -5943,7 +5957,6 @@ "version": "3.6.0", "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", - "dev": true, "requires": { "picomatch": "^2.2.1" } @@ -6012,6 +6025,16 @@ "queue-microtask": "^1.2.2" } }, + "sass": { + "version": "1.54.7", + "resolved": "https://registry.npmjs.org/sass/-/sass-1.54.7.tgz", + "integrity": "sha512-3q7MQz7sCpVG6TLhUfZwGOcd2/sm2ghYN2JEdRjNiW04ILdvahdo9GuAs+bxsxZ3hDCKv+wUT5w0iFWGU0CxlA==", + "requires": { + "chokidar": ">=3.0.0 <4.0.0", + "immutable": "^4.0.0", + "source-map-js": ">=0.6.2 <2.0.0" + } + }, "scheduler": { "version": "0.23.0", "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.23.0.tgz", @@ -6186,7 +6209,6 @@ "version": "5.0.1", "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", - "dev": true, "requires": { "is-number": "^7.0.0" } diff --git a/package.json b/package.json index bbb1a62..8adf9fc 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,9 @@ "next": "12.2.4", "react": "18.2.0", "react-dom": "18.2.0", - "react-scroll-parallax": "^3.3.0" + "react-icons": "^4.4.0", + "react-scroll-parallax": "^3.3.0", + "sass": "^1.54.7" }, "devDependencies": { "autoprefixer": "^10.4.8", diff --git a/pages/404.js b/pages/404.js index 6fedfe6..1a024f6 100644 --- a/pages/404.js +++ b/pages/404.js @@ -4,32 +4,28 @@ import ErrorImage from '../public/assests/Error404/404.png' import LogoPng from '../public/assests/landingPage/tecnoesis.png' function ErrorNotFoundPage() { return ( - -
- -
- - - +
+
- -
-
- -
-

- TECNOESIS -

+
+
+

+ TECNOESIS +

+
) } diff --git a/pages/_app.js b/pages/_app.js index ada82b5..3a2a61e 100644 --- a/pages/_app.js +++ b/pages/_app.js @@ -1,15 +1,9 @@ import '../styles/globals.css' - - function MyApp({ Component, pageProps }) { return (
- - - -
) } diff --git a/pages/index.js b/pages/index.js index 9da7cd7..3e633b3 100644 --- a/pages/index.js +++ b/pages/index.js @@ -13,8 +13,6 @@ import { } from '@fortawesome/free-brands-svg-icons' library.add(faFacebook, faLinkedin, faTwitter, faInstagram) - - export default function Home() { return ( <> diff --git a/pages/modules.js b/pages/modules.js new file mode 100644 index 0000000..c3175e0 --- /dev/null +++ b/pages/modules.js @@ -0,0 +1,17 @@ +import React from 'react' +import Modal from '../components/sections/Modules/Modal' +import Sidebar from '../components/sections/Sidebar/Sidebar' + +const Modules = () => { + return ( +
+ {/* */} + + + + +
+ ) +} + +export default Modules diff --git a/pages/profile.js b/pages/profile.js new file mode 100644 index 0000000..d986634 --- /dev/null +++ b/pages/profile.js @@ -0,0 +1,12 @@ +import React from 'react' +import Avatar from '../components/sections/Avatar' + +const Profile = () => { + return ( +
+ +
+ ) +} + +export default Profile diff --git a/pages/profile/[id].js b/pages/profile/[id].js new file mode 100644 index 0000000..d322e39 --- /dev/null +++ b/pages/profile/[id].js @@ -0,0 +1,14 @@ +import React from 'react' + +function UserProfile() { + return ( +
UserProfile
+ ) +} + +export default UserProfile + + +export const getServerSideProps = async ({params}) =>{ + +} \ No newline at end of file diff --git a/public/assests/modal/heroimg.png b/public/assests/modal/heroimg.png new file mode 100644 index 0000000..ca0e522 Binary files /dev/null and b/public/assests/modal/heroimg.png differ diff --git a/public/assests/modal/heromob.png b/public/assests/modal/heromob.png new file mode 100644 index 0000000..549a028 Binary files /dev/null and b/public/assests/modal/heromob.png differ diff --git a/public/assests/modal/modalbg.png b/public/assests/modal/modalbg.png new file mode 100644 index 0000000..4ebce5e Binary files /dev/null and b/public/assests/modal/modalbg.png differ diff --git a/public/assests/modal/module-phn-view.png b/public/assests/modal/module-phn-view.png new file mode 100644 index 0000000..7703bae Binary files /dev/null and b/public/assests/modal/module-phn-view.png differ diff --git a/public/assests/profile/demo.png b/public/assests/profile/demo.png new file mode 100644 index 0000000..c6d8ee2 Binary files /dev/null and b/public/assests/profile/demo.png differ diff --git a/public/assests/profile/profileBg.png b/public/assests/profile/profileBg.png new file mode 100644 index 0000000..bea2b5f Binary files /dev/null and b/public/assests/profile/profileBg.png differ diff --git a/style-guide/utils/Icons/TecnoCoins.svg b/style-guide/utils/Icons/TecnoCoins.svg new file mode 100644 index 0000000..f470bfc --- /dev/null +++ b/style-guide/utils/Icons/TecnoCoins.svg @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + diff --git a/style-guide/utils/icons.js b/style-guide/utils/icons.js new file mode 100644 index 0000000..959f43b --- /dev/null +++ b/style-guide/utils/icons.js @@ -0,0 +1,95 @@ +export const icons = { + eventsIcon: ( + + + + + + + + + + + + + + ), + profile: { + camera: ( + + + + + + ), + cusBorder: ( + + + + + + + + + + + ), + }, +} diff --git a/styles/globals.css b/styles/globals.css index cc4cd5d..ae7544f 100644 --- a/styles/globals.css +++ b/styles/globals.css @@ -287,4 +287,197 @@ body::-webkit-scrollbar-thumb:hover { 100%{ filter: invert(11%); } +} + + +.relative{ + position: relative; +} + + + + +.justify-start{ + display: flex; + justify-items: start; +} + +.px-2{ + padding-left:2rem; + padding-right: 2rem; +} + +.py-2{ + padding-top: 2rem; + padding-bottom: 2rem; +} + +.text-3xl{ + font-size: 4rem; + color: #ffffff; +} + +.modal-wrapper{ + + display: block; + position: relative; + width: 100vw; + height: 100vh; + background: url('../public/assests/modal/modalbg.png'); + /* opacity: 0.5; */ +} + +.modal{ + position: absolute; + inset: 0; + width: 100%; + height: 100%; + /* background-color: #040404; */ + overflow-y: hidden; + background-color: rgba(0, 0, 0, 0.4); + /* -webkit-backdrop-filter: blur(40px); */ + backdrop-filter: blur(40px); +} + +.modal .title{ +position: absolute; +width: 408px; +height: 29px; +left: 300px; +top: 220px; + +font-family: 'mokotoGlitch'; +font-style: normal; +font-weight: 400; +font-size: 50px; +line-height: 50px; +display: flex; +align-items: center; +text-align: center; +text-transform: capitalize; + +color: #FFFFFF; + +text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25), 0px 4px 4px rgba(0, 0, 0, 0.25), 0px 4px 4px rgba(0, 0, 0, 0.25); +} + +.heropara{ + position: absolute; + width: 587px; + height: 236px; + left: 233px; + top: 357px; + + font-family: 'Montserrat'; + font-style: normal; + font-weight: 400; + font-size: 18px; + line-height: 24px; + /* or 133% */ + + letter-spacing: 0.05em; + + color: #FFFFFF; +} + +.heroimg{ + position: absolute; + width: 685px; + height: 811px; + /* left: 755px; */ + right: 0px; + top: 0px; + background: linear-gradient(89.69deg, #000000 -25.41%, rgba(0, 0, 0, 0) 102.25%), url(../public/assests/modal/heroimg.png); + mask-image: linear-gradient(to left, rgba(0,0,0,1), 92%, rgba(0,0,0,0)); + backdrop-filter: blur(40px); + /* box-shadow: 60px 0 60px 0 black inset; */ + /* box-shadow: 13px 13px, -1em 0 1.4em black; */ + /* Note: backdrop-filter has minimal browser support */ +} + +/*responsive mobile view*/ +@media screen and (max-width:600px){ + + .modal-wrapper { + background: url(../public/assests/Modal/module-phn-view.png) #000000;; + /* background-repeat: no-repeat; */ + /* overflow-x: hidden; */ + position: relative; + width: 360px; + height: 800px; + } + + .modal { + position: absolute; + width: 366px; + height: 800px; + left: -6px; + top: 0px; + background-color: rgba(0, 0, 0, 0.4); + -webkit-backdrop-filter: blur(40px); + backdrop-filter: blur(40px); + } + + .cross{ + position: absolute; + width: 22.02px; + height: 22px; + left: 1px; + top: 1px; + } + + .modal .title { + position: absolute; + width: max-content; + height: 29px; + left: 35%; + top: 480px; + + font-family: 'mokotoGlitch'; + font-style: normal; + font-weight: 400; + font-size: 20px; + line-height: 20px; + display: flex; + align-items: center; + text-align: center; + text-transform: capitalize; + + color: #FFFFFF; + } + + .heropara{ + position: absolute; + width: 302.23px; + height: 271px; + left: 29.03px; + top: 530px; + + font-family: 'Montserrat'; + font-style: normal; + font-weight: 400; + font-size: 12px; + line-height: 24px; + /* or 200% */ + + text-align: center; + letter-spacing: 0.05em; + + color: #FFFFFF; + } + + + + + .heroimg { + position: absolute; + width: 360.27px; + height: 517px; + left: 0px; + top: 0px; + + background: linear-gradient(359.36deg, #000000 4.48%, rgba(0, 0, 0, 0.666513) 39.52%, rgba(0, 0, 0, 0) 99.43%), url(../public/assests/Modal/heromob.png); + mask-image: linear-gradient(to bottom, rgba(0,0,0,1), 95%, rgba(0,0,0,0)); + backdrop-filter: blur(40px); + } } \ No newline at end of file diff --git a/styles/variables.scss b/styles/variables.scss new file mode 100644 index 0000000..58ae41e --- /dev/null +++ b/styles/variables.scss @@ -0,0 +1,18 @@ +// colors + +$bgDark: #120118; +$bgPrimary: #00132D; +$fontColor: #FEFFFF; +$neon1: #4EDFFF; +$neon2: #D03CAB; +$offWhite: #E7E7E7; + +// font + +$lemonMilk: 'lemonMilk'; +$roadRage: 'roadRage'; +$mokotoGlitch: 'mokotoGlitch'; +$babaPro: 'babaPro'; + +// box Shadow +$gradient: -3px -3px 8px 4px #D03CAB, 3px 3px 8px 4px #4EDFFF; diff --git a/tailwind.config.js b/tailwind.config.js index 6b4a939..59b23ab 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -1,6 +1,6 @@ /** @type {import('tailwindcss').Config} */ module.exports = { - content: ["./pages/**/*.{js,jsx}", "./components/**/*.{js,jsx}"], + // content: ["./pages/**/*.{js,jsx}", "./components/**/*.{js,jsx}"], theme: { extend: {