├── .gitignore ├── README.md ├── package-lock.json ├── package.json ├── public ├── favicon.ico ├── index.html ├── logo192.png ├── logo512.png ├── manifest.json └── robots.txt └── src ├── App.js ├── Components ├── BlogsSection.js ├── BodyContent.js ├── ContactSection.js ├── CtaButton.js ├── DemonstrationSection.js ├── GradientCard.js ├── GradientCardsSection.js ├── MainArea.js ├── MainContent.js ├── MainTitle.js ├── Navigation.js ├── SellerCard.js └── SmallHeading.js ├── GlobalStyle.js ├── Layouts.js ├── blogs.js ├── data.js ├── img ├── avata.jpg ├── avatar.png ├── bchain.png ├── bitcoin.jpg ├── bitcoin2.jpg ├── bitcoin3.jpg ├── circles.svg ├── computer.jpg ├── heart.svg ├── logo.svg ├── logo2.png ├── map.png ├── marketing.mp4 ├── person.jpg ├── person3.jpg └── time.svg └── index.js /.gitignore: -------------------------------------------------------------------------------- 1 | # See https://help.github.com/articles/ignoring-files/ for more about ignoring files. 2 | 3 | # dependencies 4 | /node_modules 5 | /.pnp 6 | .pnp.js 7 | 8 | # testing 9 | /coverage 10 | 11 | # production 12 | /build 13 | 14 | # misc 15 | .DS_Store 16 | .env.local 17 | .env.development.local 18 | .env.test.local 19 | .env.production.local 20 | 21 | npm-debug.log* 22 | yarn-debug.log* 23 | yarn-error.log* 24 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Getting Started with Create React App 2 | 3 | This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app). 4 | 5 | ## Available Scripts 6 | 7 | In the project directory, you can run: 8 | 9 | ### `npm start` 10 | 11 | Runs the app in the development mode.\ 12 | Open [http://localhost:3000](http://localhost:3000) to view it in the browser. 13 | 14 | The page will reload if you make edits.\ 15 | You will also see any lint errors in the console. 16 | 17 | ### `npm test` 18 | 19 | Launches the test runner in the interactive watch mode.\ 20 | See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information. 21 | 22 | ### `npm run build` 23 | 24 | Builds the app for production to the `build` folder.\ 25 | It correctly bundles React in production mode and optimizes the build for the best performance. 26 | 27 | The build is minified and the filenames include the hashes.\ 28 | Your app is ready to be deployed! 29 | 30 | See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information. 31 | 32 | ### `npm run eject` 33 | 34 | **Note: this is a one-way operation. Once you `eject`, you can’t go back!** 35 | 36 | If you aren’t satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project. 37 | 38 | Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own. 39 | 40 | You don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it. 41 | 42 | ## Learn More 43 | 44 | You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started). 45 | 46 | To learn React, check out the [React documentation](https://reactjs.org/). 47 | 48 | ### Code Splitting 49 | 50 | This section has moved here: [https://facebook.github.io/create-react-app/docs/code-splitting](https://facebook.github.io/create-react-app/docs/code-splitting) 51 | 52 | ### Analyzing the Bundle Size 53 | 54 | This section has moved here: [https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size](https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size) 55 | 56 | ### Making a Progressive Web App 57 | 58 | This section has moved here: [https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app](https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app) 59 | 60 | ### Advanced Configuration 61 | 62 | This section has moved here: [https://facebook.github.io/create-react-app/docs/advanced-configuration](https://facebook.github.io/create-react-app/docs/advanced-configuration) 63 | 64 | ### Deployment 65 | 66 | This section has moved here: [https://facebook.github.io/create-react-app/docs/deployment](https://facebook.github.io/create-react-app/docs/deployment) 67 | 68 | ### `npm run build` fails to minify 69 | 70 | This section has moved here: [https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify](https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify) 71 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "market", 3 | "version": "0.1.0", 4 | "private": true, 5 | "dependencies": { 6 | "@testing-library/jest-dom": "^5.14.1", 7 | "@testing-library/react": "^11.2.7", 8 | "@testing-library/user-event": "^12.8.3", 9 | "react": "^17.0.2", 10 | "react-dom": "^17.0.2", 11 | "react-scripts": "4.0.3", 12 | "styled-components": "^5.3.3", 13 | "web-vitals": "^1.1.2" 14 | }, 15 | "scripts": { 16 | "start": "react-scripts start", 17 | "build": "react-scripts build", 18 | "test": "react-scripts test", 19 | "eject": "react-scripts eject" 20 | }, 21 | "eslintConfig": { 22 | "extends": [ 23 | "react-app", 24 | "react-app/jest" 25 | ] 26 | }, 27 | "browserslist": { 28 | "production": [ 29 | ">0.2%", 30 | "not dead", 31 | "not op_mini all" 32 | ], 33 | "development": [ 34 | "last 1 chrome version", 35 | "last 1 firefox version", 36 | "last 1 safari version" 37 | ] 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Maclinz/gradient_animated_site/931fe24f1cdff6695ffb528a70a1ff89c9838450/public/favicon.ico -------------------------------------------------------------------------------- /public/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 12 | 13 | 17 | 18 | 19 | 20 | 21 | 22 | 31 | React App 32 | 33 | 34 | 35 |
36 | 46 | 47 | 48 | -------------------------------------------------------------------------------- /public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Maclinz/gradient_animated_site/931fe24f1cdff6695ffb528a70a1ff89c9838450/public/logo192.png -------------------------------------------------------------------------------- /public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Maclinz/gradient_animated_site/931fe24f1cdff6695ffb528a70a1ff89c9838450/public/logo512.png -------------------------------------------------------------------------------- /public/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "short_name": "React App", 3 | "name": "Create React App Sample", 4 | "icons": [ 5 | { 6 | "src": "favicon.ico", 7 | "sizes": "64x64 32x32 24x24 16x16", 8 | "type": "image/x-icon" 9 | }, 10 | { 11 | "src": "logo192.png", 12 | "type": "image/png", 13 | "sizes": "192x192" 14 | }, 15 | { 16 | "src": "logo512.png", 17 | "type": "image/png", 18 | "sizes": "512x512" 19 | } 20 | ], 21 | "start_url": ".", 22 | "display": "standalone", 23 | "theme_color": "#000000", 24 | "background_color": "#ffffff" 25 | } 26 | -------------------------------------------------------------------------------- /public/robots.txt: -------------------------------------------------------------------------------- 1 | # https://www.robotstxt.org/robotstxt.html 2 | User-agent: * 3 | Disallow: 4 | -------------------------------------------------------------------------------- /src/App.js: -------------------------------------------------------------------------------- 1 | import BodyContent from "./Components/BodyContent"; 2 | import MainArea from "./Components/MainArea"; 3 | 4 | function App() { 5 | return ( 6 |
7 | 8 | 9 |
10 | ); 11 | } 12 | 13 | export default App; 14 | -------------------------------------------------------------------------------- /src/Components/BlogsSection.js: -------------------------------------------------------------------------------- 1 | import React from 'react' 2 | import styled from 'styled-components'; 3 | import { SectionStyled } from '../Layouts'; 4 | import MainTitle from './MainTitle'; 5 | import blogs from '../blogs'; 6 | 7 | function BlogsSection() { 8 | return ( 9 | 10 | 11 |
12 | 13 |
14 |
15 | { 16 | blogs.map((blog) =>{ 17 | return
18 |
19 | 20 |
21 |
{blog.title}
22 |
23 |

Creator :

24 |

{blog.name}

25 |
26 |
27 | }) 28 | } 29 |
30 |
31 |
32 | ) 33 | } 34 | 35 | const BlogsSectionStyled = styled.div` 36 | 37 | .blogs{ 38 | display: grid; 39 | grid-template-columns: repeat(4, 1fr); 40 | grid-gap: 2rem; 41 | padding-top: 2rem; 42 | .blog{ 43 | background: rgba(255, 255, 255, 0.03); 44 | border-radius: 20px; 45 | .image{ 46 | height: 300px; 47 | width: 100%; 48 | overflow: hidden; 49 | border-top-right-radius: 20px; 50 | border-top-left-radius: 20px; 51 | transition: all .4s ease-in-out; 52 | img{ 53 | height: 100%; 54 | width: 100%; 55 | transition: all .4s ease-in-out; 56 | object-fit: cover; 57 | border-top-right-radius: 20px; 58 | border-top-left-radius: 20px; 59 | filter: grayscale(50%); 60 | &:hover{ 61 | transform: scale(1.2) rotate(10deg); 62 | filter: grayscale(0); 63 | } 64 | } 65 | } 66 | 67 | h6{ 68 | font-weight: 500; 69 | font-size: 1.3rem; 70 | padding-top: 1rem; 71 | padding-left: 1rem; 72 | padding-right: 1rem; 73 | } 74 | .user{ 75 | padding-top: .2rem; 76 | padding-bottom: 1.5rem; 77 | display: flex; 78 | padding-left: 1rem; 79 | padding-right: 1rem; 80 | p:first-child{ 81 | padding-right: 0.4rem; 82 | opacity: 0.5; 83 | } 84 | } 85 | } 86 | } 87 | `; 88 | 89 | export default BlogsSection; 90 | -------------------------------------------------------------------------------- /src/Components/BodyContent.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import styled from 'styled-components'; 3 | import { InnerLayout } from '../Layouts'; 4 | import BlogsSection from './BlogsSection'; 5 | import ContactSection from './ContactSection'; 6 | import DemonstrationSection from './DemonstrationSection'; 7 | import GradientCardsSection from './GradientCardsSection'; 8 | import MainTitle from './MainTitle'; 9 | import SellerCard from './SellerCard'; 10 | 11 | 12 | function BodyContent() { 13 | return ( 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 |
26 | 27 | 30 |
31 | ) 32 | } 33 | 34 | const BodyContentStyled = styled.div` 35 | .sellercards{ 36 | display: grid; 37 | grid-template-columns: repeat(3, 1fr); 38 | grid-gap: 2rem; 39 | margin: 2rem 0; 40 | } 41 | 42 | footer{ 43 | display: flex; 44 | align-items: center; 45 | justify-content: center; 46 | background-color: #020A27; 47 | padding: 3rem 0; 48 | border-top: 1px solid rgba(255, 255, 255, 0.08); 49 | p{ 50 | text-align: center; 51 | opacity: 0.7; 52 | } 53 | } 54 | `; 55 | 56 | export default BodyContent; 57 | -------------------------------------------------------------------------------- /src/Components/ContactSection.js: -------------------------------------------------------------------------------- 1 | import React from 'react' 2 | import styled from 'styled-components' 3 | import { SectionStyled } from '../Layouts'; 4 | import map from '../img/map.png'; 5 | 6 | function ContactSection() { 7 | return ( 8 | 9 | 10 |
11 |

12 | Contact Us 13 |

14 |

30 Avenue Street, United Kingdom

15 |

+44 786 997 7162

16 |

maclinzuniversal@gmail.com

17 |
18 |
19 | 20 |
21 |
22 |
23 | ) 24 | } 25 | 26 | const ContactSectionStyled = styled.div` 27 | background-color: #020C31; 28 | display: flex; 29 | align-items: center; 30 | justify-content: center; 31 | text-align: center; 32 | padding: 4rem 0; 33 | position: relative; 34 | z-index: 1; 35 | p{ 36 | opacity: 0.5; 37 | } 38 | .bg-image{ 39 | position: absolute; 40 | left: 50%; 41 | top: 50%; 42 | transform: translate(-50%, -50%); 43 | z-index: -1; 44 | img{ 45 | width: 80%; 46 | opacity: 0.08; 47 | } 48 | } 49 | .contact-title{ 50 | position: relative; 51 | padding-bottom: 1rem; 52 | margin-bottom: 2rem; 53 | font-weight: 500; 54 | font-size: 1.5rem; 55 | &::before{ 56 | content: ''; 57 | position: absolute; 58 | bottom: 0; 59 | left: 50%; 60 | transform: translateX(-50%); 61 | width: 4rem; 62 | height: 2px; 63 | background-color: #eb3fa9; 64 | } 65 | } 66 | `; 67 | 68 | export default ContactSection; 69 | -------------------------------------------------------------------------------- /src/Components/CtaButton.js: -------------------------------------------------------------------------------- 1 | import React from 'react' 2 | import styled from 'styled-components'; 3 | 4 | function CtaButton({name}) { 5 | return ( 6 | 7 | {name} 8 | 9 | ) 10 | } 11 | 12 | const CtaButtonStyled = styled.a` 13 | text-transform: uppercase; 14 | background: linear-gradient(130deg, #395FF6 , #EB3FA9); 15 | padding: .9rem 1.5rem; 16 | border-radius: 8px; 17 | font-size: 1.1rem; 18 | font-weight: 500; 19 | cursor: pointer; 20 | transition: all .4s ease-in-out; 21 | &:last-child{ 22 | margin-left: 1.5rem; 23 | } 24 | &:hover{ 25 | transition: all .4s ease-in-out; 26 | background: linear-gradient(120deg, #EB3FA9, #395FF6); 27 | } 28 | `; 29 | export default CtaButton; 30 | -------------------------------------------------------------------------------- /src/Components/DemonstrationSection.js: -------------------------------------------------------------------------------- 1 | import React from 'react' 2 | import styled from 'styled-components' 3 | import { SectionStyled } from '../Layouts'; 4 | import GradientCard from './GradientCard'; 5 | import MainTitle from './MainTitle'; 6 | import avatar from '../img/avata.jpg'; 7 | import CtaButton from './CtaButton'; 8 | 9 | import person2 from '../img/bitcoin3.jpg'; 10 | import bitcoin from '../img/bitcoin.jpg'; 11 | import person3 from '../img/person3.jpg'; 12 | import computer from '../img/computer.jpg'; 13 | 14 | function DemonstrationSection() { 15 | 16 | const ctaButton = 17 | 18 | return ( 19 | 20 | 21 |
22 | 23 |
24 | 25 |
26 | 27 | 28 | 29 | 30 |
31 |
32 |
33 | ) 34 | } 35 | 36 | 37 | const DemonstrationSectionStyled = styled.div` 38 | 39 | `; 40 | export default DemonstrationSection; 41 | -------------------------------------------------------------------------------- /src/Components/GradientCard.js: -------------------------------------------------------------------------------- 1 | import React from 'react' 2 | import styled from 'styled-components'; 3 | import time from '../img/time.svg'; 4 | import heart from '../img/heart.svg'; 5 | 6 | function GradientCard({image, avatar, name, price, title, ctaButton}) { 7 | return ( 8 | 9 |
10 |
11 |
12 | 13 |
14 | 15 |

{name}

16 |
17 |
18 |
19 |
{title}
20 |

Price {price}     1 of 15

21 |

Highest Bid :   {price}

22 |
23 |

7 Hours Ago

24 |

200 Likes

25 |
26 |
27 | {ctaButton} 28 |
29 |
30 |
31 |
32 |
33 | ) 34 | } 35 | 36 | const GradientCardStyled = styled.div` 37 | border-radius: 20px; 38 | font-size: 1rem; 39 | transition: all 1s ease-in-out; 40 | background: linear-gradient(130deg,#eb3fa9,#395ff6 50%,#eb3fa9); 41 | animation: colors 3s infinite ease-in-out; 42 | @keyframes colors { 43 | 0%{ 44 | background: linear-gradient(130deg,#eb3fa9,#395ff6 50%,#eb3fa9); 45 | } 46 | 50%{ 47 | background: linear-gradient(90deg, #7F41DB 0%, #022894 100%); 48 | } 49 | 70%{ 50 | background: linear-gradient(130deg,#022894 0%, #7F41DB 100%); 51 | } 52 | 100%{ 53 | background: linear-gradient(130deg,#eb3fa9,#395ff6 50%,#eb3fa9); 54 | } 55 | } 56 | .g-card{ 57 | margin: .2rem; 58 | .inner-content{ 59 | background-color: #091026; 60 | padding: .8rem; 61 | border-radius: 20px; 62 | } 63 | .image{ 64 | width: 100%; 65 | position: relative; 66 | img:first-child{ 67 | width: 100%; 68 | object-fit: cover; 69 | height: 300px; 70 | border-radius: 10px; 71 | } 72 | .name{ 73 | position: absolute; 74 | left: 50%; 75 | bottom: -26px; 76 | background-color: #03091f; 77 | display: flex; 78 | align-items: center; 79 | transform: translateX(-50%); 80 | width: 75%; 81 | padding: .5rem .5rem; 82 | border-radius: 70px; 83 | border: 1px solid rgba(255,255,255, 0.8); 84 | 85 | img{ 86 | width: 45px; 87 | object-fit: cover; 88 | height: 45px; 89 | border-radius: 50%; 90 | margin-right: 2rem; 91 | } 92 | } 93 | } 94 | 95 | 96 | .card-content{ 97 | padding-top: 3rem; 98 | .card-title{ 99 | font-size: 1.3rem; 100 | font-weight: 500; 101 | padding-bottom: .6rem; 102 | } 103 | .price{ 104 | color: #6BBE92; 105 | } 106 | .l-text{ 107 | opacity: 0.5; 108 | } 109 | .duration{ 110 | margin-top: 1rem; 111 | padding-top: 1rem; 112 | border-top: 1px dashed rgba(255,255,255, 0.2); 113 | display: flex; 114 | justify-content: space-between; 115 | p{ 116 | display: flex; 117 | align-items: center; 118 | img{ 119 | object-fit: cover; 120 | width: 18px; 121 | margin-right: .6rem; 122 | display: flex; 123 | align-items: center; 124 | justify-content: center; 125 | } 126 | } 127 | } 128 | 129 | .cta-btn{ 130 | width: 100%; 131 | a{ 132 | margin: .6rem 0; 133 | display: inline-block; 134 | width: 100%; 135 | text-align: center; 136 | } 137 | } 138 | } 139 | 140 | } 141 | `; 142 | export default GradientCard; 143 | -------------------------------------------------------------------------------- /src/Components/GradientCardsSection.js: -------------------------------------------------------------------------------- 1 | import React from 'react' 2 | import { SectionStyled } from '../Layouts'; 3 | import GradientCard from './GradientCard'; 4 | import MainTitle from './MainTitle'; 5 | import avatar from '../img/avata.jpg'; 6 | import styled from 'styled-components'; 7 | import CtaButton from './CtaButton'; 8 | import person from '../img/person.jpg'; 9 | import person2 from '../img/bitcoin3.jpg'; 10 | import bitcoin2 from '../img/bitcoin2.jpg'; 11 | import bitcoin from '../img/bitcoin.jpg'; 12 | import person3 from '../img/person3.jpg'; 13 | import computer from '../img/computer.jpg'; 14 | 15 | function GradientCardsSection() { 16 | return ( 17 | 18 | 19 |
20 | 21 |
22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 |
32 |
33 | 34 |
35 |
36 |
37 | ) 38 | } 39 | 40 | const GradientCardsSectionStyled = styled.div` 41 | .load{ 42 | padding-top: 3rem; 43 | text-align: center; 44 | } 45 | `; 46 | 47 | export default GradientCardsSection; 48 | -------------------------------------------------------------------------------- /src/Components/MainArea.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import styled from 'styled-components'; 3 | import business from '../img/marketing.mp4'; 4 | import circles from '../img/circles.svg'; 5 | import {InnerLayout} from '../Layouts' 6 | import MainContent from './MainContent'; 7 | 8 | function MainArea() { 9 | return ( 10 | 11 | 12 | {} 13 | 14 | 15 | 16 | 17 | ) 18 | } 19 | 20 | const MainAreaStyled = styled.header` 21 | width: 100%; 22 | height: 85vh; 23 | position: relative; 24 | overflow: hidden; 25 | .overlay{ 26 | width: 100%; 27 | height: 100%; 28 | position: absolute; 29 | right: -400px; 30 | top: -300px; 31 | 32 | } 33 | video{ 34 | width: 100%; 35 | height: 100%; 36 | object-fit: cover; 37 | opacity: 0.7; 38 | } 39 | `; 40 | 41 | export default MainArea; 42 | -------------------------------------------------------------------------------- /src/Components/MainContent.js: -------------------------------------------------------------------------------- 1 | import React from 'react' 2 | import styled from 'styled-components'; 3 | import CtaButton from './CtaButton'; 4 | import Navigation from './Navigation'; 5 | import SmallHeading from './SmallHeading'; 6 | import blockchain from '../img/bchain.png'; 7 | 8 | function MainContent() { 9 | return ( 10 | 11 | 12 |
13 |
14 | 15 |

16 | All NFTs You need in One Marketplace 17 | The Best Place to Collect , Buy and Sell Awesome NFTs 18 |

19 |

20 | Lorem ipsum dolor sit amet consectetur adipisicing elit. 21 | Vero id unde officiis hic nihil, quasi soluta ex corrupti nesciunt dolorem. 22 | Cumque obcaecati sint officiis quis laboriosam vitae, error molestiae temporibus 23 | voluptatum consectetur, 24 | quibusdam magni, delectus a autem soluta optio laborum! 25 |

26 |
27 | 28 | 29 |
30 |
31 |
32 | 33 |
34 |
35 |
36 | ) 37 | } 38 | 39 | 40 | const MainContentStyled = styled.div` 41 | position: absolute; 42 | top: 0; 43 | left: 50%; 44 | transform: translateX(-50%); 45 | width: 80%; 46 | height: 100%; 47 | .content{ 48 | display: grid; 49 | grid-template-columns: repeat(2, 1fr); 50 | height: 100%; 51 | width: 100%; 52 | .left{ 53 | display: flex; 54 | justify-content: center; 55 | flex-direction: column; 56 | h1{ 57 | padding: 1.8rem 0; 58 | } 59 | .btns-con{ 60 | margin-top: 3rem; 61 | } 62 | } 63 | 64 | .right{ 65 | img{ 66 | position: absolute; 67 | right: -11%; 68 | bottom: -1%; 69 | width: 60%; 70 | } 71 | } 72 | } 73 | `; 74 | export default MainContent; 75 | -------------------------------------------------------------------------------- /src/Components/MainTitle.js: -------------------------------------------------------------------------------- 1 | import React from 'react' 2 | import styled from 'styled-components'; 3 | import SmallHeading from './SmallHeading'; 4 | 5 | function MainTitle({title, subtitle, para}) { 6 | return ( 7 | 8 | 9 |

{title}

10 |

{para}

11 |
12 | ) 13 | } 14 | 15 | const MainTitleStyled = styled.div` 16 | h2{ 17 | padding-top: 1rem; 18 | font-weight: 500; 19 | } 20 | 21 | p{ 22 | padding: 1.2em 0; 23 | opacity: 0.5; 24 | } 25 | `; 26 | 27 | export default MainTitle; 28 | -------------------------------------------------------------------------------- /src/Components/Navigation.js: -------------------------------------------------------------------------------- 1 | import React from 'react' 2 | import styled from 'styled-components'; 3 | import logo from '../img/logo2.png'; 4 | 5 | function Navigation() { 6 | return ( 7 | 8 |
9 | 10 |
11 | 29 |
30 | ) 31 | } 32 | 33 | const NavigationStyled = styled.nav` 34 | min-height: 10vh; 35 | display: flex; 36 | justify-content: space-between; 37 | align-items: center; 38 | .nav-items{ 39 | display: flex; 40 | align-items: center; 41 | li{ 42 | margin: 0 1rem; 43 | } 44 | .primary-btn{ 45 | margin-left: 3rem; 46 | background-color:rgba(57, 95, 246, 0.6); 47 | padding: .6rem 1.3rem; 48 | border-radius: 70px; 49 | cursor: pointer; 50 | transition: all .4s ease-in-out; 51 | &:hover{ 52 | background-color:rgba(57, 95, 246, 1); 53 | } 54 | } 55 | } 56 | .logo{ 57 | img{ 58 | width: 60px; 59 | } 60 | } 61 | `; 62 | 63 | export default Navigation; 64 | -------------------------------------------------------------------------------- /src/Components/SellerCard.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import styled from 'styled-components'; 3 | import data from '../data'; 4 | 5 | function SellerCard() { 6 | return ( 7 | 8 | { 9 | data.map((item) =>{ 10 | return
11 |
12 |

0 {item.id}

13 |
14 |
15 | 16 |
17 |

{item.name}

18 |

{item.currency}

19 |
20 |
21 |
22 | }) 23 | } 24 |
25 | ) 26 | } 27 | 28 | const SellerCardStyled = styled.div` 29 | border-radius: 20px; 30 | background: rgba(255, 255, 255, 0.03); 31 | transition: all .4s ease-in-out; 32 | &:hover{ 33 | transform: translateY(-20px); 34 | } 35 | .SellerCard{ 36 | display: flex; 37 | align-items: center; 38 | padding: 1.5rem 1rem; 39 | .number{ 40 | padding-right: 1rem; 41 | font-size: 1.6rem; 42 | opacity: 0.5; 43 | p{ 44 | font-weight: 700; 45 | } 46 | } 47 | .profile{ 48 | display: flex; 49 | img{ 50 | width: 70px; 51 | height: 70px; 52 | object-fit: cover; 53 | border-radius: 50%; 54 | margin-right: 1rem; 55 | border: 2px solid #395FF6; 56 | } 57 | 58 | .text{ 59 | display: flex; 60 | flex-direction: column; 61 | justify-content: center; 62 | h4{ 63 | font-weight: 500; 64 | } 65 | p{ 66 | padding-top: .5rem; 67 | opacity: 0.5; 68 | } 69 | } 70 | } 71 | } 72 | `; 73 | 74 | export default SellerCard; 75 | -------------------------------------------------------------------------------- /src/Components/SmallHeading.js: -------------------------------------------------------------------------------- 1 | import React from 'react' 2 | import styled from 'styled-components'; 3 | 4 | function SmallHeading({title, identifier}) { 5 | return ( 6 | 7 |

{title}

8 |
9 | ) 10 | } 11 | 12 | const SmallHeadingStyled = styled.div` 13 | h3{ 14 | background: linear-gradient(120deg, rgb(132, 111, 244), rgb(241, 118, 116)); 15 | background-clip: text; 16 | display: inline-block; 17 | -webkit-text-fill-color: transparent; 18 | -webkit-background-clip: text; 19 | } 20 | `; 21 | 22 | export default SmallHeading; 23 | -------------------------------------------------------------------------------- /src/GlobalStyle.js: -------------------------------------------------------------------------------- 1 | import { createGlobalStyle } from "styled-components"; 2 | 3 | const GlobalStyle = createGlobalStyle` 4 | *{ 5 | margin: 0; 6 | padding: 0; 7 | box-sizing: border-box; 8 | list-style: none; 9 | text-decoration: none; 10 | font-family: 'Montserrat', sans-serif; 11 | } 12 | body{ 13 | color: white; 14 | font-size: 1.2rem; 15 | font-weight: 400; 16 | background-color: #03091F; 17 | ::-webkit-scrollbar{ 18 | width: 8px; 19 | } 20 | ::-webkit-scrollbar-track{ 21 | background: #ccc; 22 | } 23 | ::-webkit-scrollbar-thumb{ 24 | background: linear-gradient(180deg, #7F41DB 0%, #022894 100%); 25 | border-radius: 24px; 26 | } 27 | } 28 | a{ 29 | color: inherit; 30 | font-family: inherit; 31 | } 32 | p{ 33 | line-height: 2rem; 34 | } 35 | 36 | .GradientText{ 37 | background: linear-gradient(120deg, rgb(132, 111, 244), rgb(241, 118, 116)); 38 | background-clip: text; 39 | display: inline-block; 40 | -webkit-text-fill-color: transparent; 41 | -webkit-background-clip: text; 42 | } 43 | 44 | .Before{ 45 | padding-left: 3rem; 46 | position: relative; 47 | &::before{ 48 | content: ''; 49 | position: absolute; 50 | left: 0; 51 | top: 50%; 52 | transform: translateY(-50%); 53 | width: 35px; 54 | height: 2px; 55 | background-color: #395FF6 ; 56 | } 57 | } 58 | 59 | .title-con{ 60 | width: 50%; 61 | margin: 0 auto; 62 | text-align: center; 63 | } 64 | 65 | .gradient-cards-con{ 66 | display: grid; 67 | grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); 68 | grid-gap: 2rem; 69 | } 70 | `; 71 | 72 | export default GlobalStyle; -------------------------------------------------------------------------------- /src/Layouts.js: -------------------------------------------------------------------------------- 1 | import styled from "styled-components"; 2 | 3 | const InnerLayout = styled.div` 4 | padding: 4rem 15rem; 5 | `; 6 | 7 | const SectionStyled = styled.section` 8 | padding: 4rem 0; 9 | `; 10 | export {InnerLayout, SectionStyled} -------------------------------------------------------------------------------- /src/blogs.js: -------------------------------------------------------------------------------- 1 | import person from './img/person.jpg'; 2 | import bitcoin from './img/bitcoin.jpg'; 3 | import bitcoin2 from './img/bitcoin2.jpg'; 4 | import bitcoin3 from './img/bitcoin3.jpg'; 5 | 6 | const blogs = [ 7 | { 8 | id: 1, 9 | name: 'Lorem Ipsum', 10 | image: person, 11 | title: 'How To Sell Bitcoin' 12 | }, 13 | { 14 | id: 2, 15 | name: 'Jane Doe', 16 | image: bitcoin, 17 | title: 'How To Sell Bitcoin' 18 | }, 19 | { 20 | id: 3, 21 | name: 'John Doe', 22 | image: bitcoin2, 23 | title: 'How To Sell Bitcoin' 24 | }, 25 | { 26 | id: 4, 27 | name: 'Sarah Doe', 28 | image: bitcoin3, 29 | title: 'How To Sell Bitcoin' 30 | } 31 | ] 32 | 33 | export default blogs; -------------------------------------------------------------------------------- /src/data.js: -------------------------------------------------------------------------------- 1 | import avatar1 from './img/avata.jpg'; 2 | 3 | const data = [ 4 | { 5 | id: 1, 6 | name: 'Lorem Ipsum', 7 | image: avatar1, 8 | currency: '500.6 ETH' 9 | }, 10 | { 11 | id: 2, 12 | name: 'Jane Doe', 13 | image: avatar1, 14 | currency: '500.6 ETH' 15 | }, 16 | { 17 | id: 3, 18 | name: 'John Doe', 19 | image: avatar1, 20 | currency: '500.6 ETH' 21 | }, 22 | { 23 | id: 4, 24 | name: 'Sarah Doe', 25 | image: avatar1, 26 | currency: '500.6 ETH' 27 | } 28 | ] 29 | 30 | export default data; -------------------------------------------------------------------------------- /src/img/avata.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Maclinz/gradient_animated_site/931fe24f1cdff6695ffb528a70a1ff89c9838450/src/img/avata.jpg -------------------------------------------------------------------------------- /src/img/avatar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Maclinz/gradient_animated_site/931fe24f1cdff6695ffb528a70a1ff89c9838450/src/img/avatar.png -------------------------------------------------------------------------------- /src/img/bchain.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Maclinz/gradient_animated_site/931fe24f1cdff6695ffb528a70a1ff89c9838450/src/img/bchain.png -------------------------------------------------------------------------------- /src/img/bitcoin.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Maclinz/gradient_animated_site/931fe24f1cdff6695ffb528a70a1ff89c9838450/src/img/bitcoin.jpg -------------------------------------------------------------------------------- /src/img/bitcoin2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Maclinz/gradient_animated_site/931fe24f1cdff6695ffb528a70a1ff89c9838450/src/img/bitcoin2.jpg -------------------------------------------------------------------------------- /src/img/bitcoin3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Maclinz/gradient_animated_site/931fe24f1cdff6695ffb528a70a1ff89c9838450/src/img/bitcoin3.jpg -------------------------------------------------------------------------------- /src/img/circles.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /src/img/computer.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Maclinz/gradient_animated_site/931fe24f1cdff6695ffb528a70a1ff89c9838450/src/img/computer.jpg -------------------------------------------------------------------------------- /src/img/heart.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/img/logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Maclinz/gradient_animated_site/931fe24f1cdff6695ffb528a70a1ff89c9838450/src/img/logo.svg -------------------------------------------------------------------------------- /src/img/logo2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Maclinz/gradient_animated_site/931fe24f1cdff6695ffb528a70a1ff89c9838450/src/img/logo2.png -------------------------------------------------------------------------------- /src/img/map.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Maclinz/gradient_animated_site/931fe24f1cdff6695ffb528a70a1ff89c9838450/src/img/map.png -------------------------------------------------------------------------------- /src/img/marketing.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Maclinz/gradient_animated_site/931fe24f1cdff6695ffb528a70a1ff89c9838450/src/img/marketing.mp4 -------------------------------------------------------------------------------- /src/img/person.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Maclinz/gradient_animated_site/931fe24f1cdff6695ffb528a70a1ff89c9838450/src/img/person.jpg -------------------------------------------------------------------------------- /src/img/person3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Maclinz/gradient_animated_site/931fe24f1cdff6695ffb528a70a1ff89c9838450/src/img/person3.jpg -------------------------------------------------------------------------------- /src/img/time.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import ReactDOM from 'react-dom'; 3 | import App from './App'; 4 | import GlobalStyle from './GlobalStyle'; 5 | 6 | ReactDOM.render( 7 | 8 | 9 | 10 | , 11 | document.getElementById('root') 12 | ); 13 | 14 | --------------------------------------------------------------------------------