diff --git a/README.md b/README.md index 8890556..4d3e85c 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ This repository contains the source code for the main website of Dezh Technology If anyone wants to add their logo to our partners section, they should follow these steps: -1. Add the logo with `230px 80px` size and `#FFFFFF` color to the `public/companies` directory with an `.svg` extension. The SVG name should be the company or team name. For example, `google.svg`. +1. Add the logo with `#FFFFFF` color to the `public/companies` directory with an `.svg` extension. The SVG name should be the company or team name. For example, `google.svg`. 2. Change the `data/companies.json` file and add their information. The JSON structure should be as follows: diff --git a/src/components/Home/Companies.tsx b/src/components/Home/Companies.tsx index e45d586..889bc2a 100644 --- a/src/components/Home/Companies.tsx +++ b/src/components/Home/Companies.tsx @@ -5,19 +5,9 @@ const Companies = () => { return (
-
-
- -

Our Partners

-

- We are working with industry leading Companies over the crypto world - together to boost the process of our mission in decentralized web -

-
-
-
+
{companiesData.map((company) => ( { key={company.name} > {company.name} - {company.name} + {company.name} ))}
+
+
+ +

Our Partners

+

+ We are working with industry leading Companies over the crypto world + together to boost the process of our mission in decentralized web +

+
+
); }; diff --git a/src/components/Home/HeroSection.tsx b/src/components/Home/HeroSection.tsx index 4d36322..257ce5e 100644 --- a/src/components/Home/HeroSection.tsx +++ b/src/components/Home/HeroSection.tsx @@ -2,21 +2,21 @@ import { PointerIcon } from "assets/icons"; export default function HeroSection() { return ( -
-
+
+
-

+

Building the future of decentralized generation of WEB

-
+
We are working for a more decentralized web and internet in future for everyone.
-
-
+
+
At Dezh Technologies, we are building tools, apps, services and infras that make decentralized web happens.
diff --git a/src/components/Home/JoinCommunity.tsx b/src/components/Home/JoinCommunity.tsx index f88e613..49181eb 100644 --- a/src/components/Home/JoinCommunity.tsx +++ b/src/components/Home/JoinCommunity.tsx @@ -8,10 +8,10 @@ export default function JoinCommunity() {
-

+

Join our friendly community

-

+

The latest news about our product, testing and discussion of updates. A quick and convenient exchange of information with colleagues. diff --git a/src/index.css b/src/index.css index 54b1b0c..d5933f6 100644 --- a/src/index.css +++ b/src/index.css @@ -39,7 +39,6 @@ html.lenis body { --primary: #FF4800; --secondary: #1D1D1D; --background: #E2DDD6; - word-spacing: -2px; font-family: "Neue Machina", system-ui, sans-serif; color-scheme: light dark; @@ -52,24 +51,86 @@ html.lenis body { text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; - scroll-behavior: smooth; + + /* spacing */ + + --sp0: 0; + --sp1: 0.25rem; + --sp2: 0.5rem; + --sp3: 10px; + --sp4: 12px; + --sp5: 16px; + --sp6: 20px; + --sp7: 24px; + --sp8: 2rem; + --s9: 40px; + --s10: 48px; + --s11: 64px; + --s12: 80px; + --sp13: 96px; + --sp14: 128px; + --sp15: 160px; + --sp16: 192px; + --sp17: 224px; + --sp18: 256px; + + } + + + a { + @apply no-underline; + } +} + +/* Typography */ + +@layer base { + .heading-1 { + @apply text-[5.375rem] leading-[91px] -tracking-[2px] + /* font-size: 86px */ + } + + .heading-2 { + @apply text-[3.5rem] leading-[53px] -tracking-wider + /* font-size: 56px */ + } + + .heading-3 { + @apply text-[2.875rem] leading-[47px] -tracking-wider + /* font-size: 46px */ + } + + .title-1 { + @apply text-[2rem] leading-[40px] -tracking-wider + /* font-size: 32px */ + } + + .title-2 { + @apply text-[1.75rem] leading-[33px] -tracking-wider + /* font-size: 28px */ + } + + .title-3 { + @apply text-[1.375rem] leading-[27px] -tracking-wider + /* font-size: 22px */ + } + + .title-4 { + @apply text-[1.25rem] leading-[24px] -tracking-wider + /* font-size: 20px */ } h1 { - @apply text-2xl; + @apply heading-1; } h2 { - @apply text-xl; + @apply heading-2; } h3 { - @apply text-lg; - } - - a { - @apply no-underline; + @apply heading-3; } } diff --git a/src/layout/Footer.tsx b/src/layout/Footer.tsx index 0e2f13b..84754d5 100644 --- a/src/layout/Footer.tsx +++ b/src/layout/Footer.tsx @@ -10,7 +10,7 @@ export function Footer() { -

+
Building the future of decentralized generation of WEB
diff --git a/src/layout/Header.tsx b/src/layout/Header.tsx index 9b94d85..f12b5d6 100644 --- a/src/layout/Header.tsx +++ b/src/layout/Header.tsx @@ -20,14 +20,14 @@ export function Header() {
  • ))} - + Contact us diff --git a/tailwind.config.js b/tailwind.config.js index 55f5a19..a0da6b2 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -14,6 +14,26 @@ export default { }, theme: { extend: { + spacing: { + "sp1": "var(--sp1)", + "sp2": "var(--sp2)", + "sp3": "var(--sp3)", + "sp4": "var(--sp4)", + "sp5": "var(--sp5)", + "sp6": "var(--sp6)", + "sp7": "var(--sp7)", + "sp8": "var(--sp8)", + "sp9": "var(--s9)", + "sp10": "var(--s10)", + "sp11": "var(--s11)", + "sp12": "var(--s12)", + "sp13": "var(--sp13)", + "sp14": "var(--sp14)", + "sp15": "var(--sp15)", + "sp16": "var(--sp16)", + "sp17": "var(--sp17)", + "sp18": "var(--sp18)", + }, colors: { primary: "var(--primary)", secondary: "var(--secondary)", @@ -49,7 +69,7 @@ export default { }, "@screen lg": { // minWidth: '1024px', - padding: "0 2rem", + padding: "0 1.5rem", }, "@screen xl": { // minWidth: '1366px',