diff --git a/content/page/home/cta2/cta2.md b/content/page/home/cta2/cta2.md index b1ad137cf..e253f66ef 100644 --- a/content/page/home/cta2/cta2.md +++ b/content/page/home/cta2/cta2.md @@ -14,4 +14,4 @@ Get to know the ThreeFold vision better. \ No newline at end of file +link: '' --> diff --git a/package.json b/package.json index 7e4bf527b..8c08b37e3 100644 --- a/package.json +++ b/package.json @@ -7,6 +7,10 @@ "explore": "gridsome explore" }, "dependencies": { + "@fortawesome/fontawesome-svg-core": "^1.2.30", + "@fortawesome/free-brands-svg-icons": "^5.14.0", + "@fortawesome/free-solid-svg-icons": "^5.14.0", + "@fortawesome/vue-fontawesome": "^2.0.0", "@gridsome/source-filesystem": "^0.6.2", "@gridsome/transformer-remark": "^0.6.2", "@noxify/gridsome-remark-classes": "^1.0.0", @@ -21,18 +25,16 @@ "gridsome-source-graphql": "^1.0.2", "gridsome-source-static-meta": "github:noxify/gridsome-source-static-meta#master", "lodash": "^4.17.20", + "node-sass": "^5.0.0", "pluralize": "^8.0.0", "sass-loader": "^10.0.2", "tailwindcss": "^1.8.4", "tailwindcss-gradients": "^3.0.0", "tailwindcss-tables": "^0.4.0", "v-tooltip": "^2.0.3", - "vue-markdown": "^2.2.4", - "@fortawesome/fontawesome-svg-core": "^1.2.30", - "@fortawesome/free-brands-svg-icons": "^5.14.0", - "@fortawesome/free-solid-svg-icons": "^5.14.0", - "@fortawesome/vue-fontawesome": "^2.0.0", - "node-sass": "^5.0.0" + "vue-markdown": "^2.1.2" }, - "devDependencies": {} + "devDependencies": { + "@tailwindcss/aspect-ratio": "^0.2.0" + } } diff --git a/src/assets/scss/main.scss b/src/assets/scss/main.scss index a67f66020..45f814b5b 100644 --- a/src/assets/scss/main.scss +++ b/src/assets/scss/main.scss @@ -1,314 +1,322 @@ @tailwind base; +@font-face { + font-family: "Roboto"; + font-style: normal; + font-weight: 400; + src: url("https://fonts.googleapis.com/css2?family=Roboto"); + font-display: swap; +} + blockquote { - @apply border-l; - @apply border-l-4; - @apply border-l-blue-500; - @apply pl-4; - @apply italic; - @apply my-8; - p { - padding: 0 !important; - } + @apply border-l; + @apply border-l-4; + @apply border-l-blue-500; + @apply pl-4; + @apply italic; + @apply my-8; + p { + padding: 0 !important; + } } body { - font-family: 'Lato', sans-serif; + font-family: "Roboto", sans-serif; } body h2 { - font-family: 'Lato', sans-serif; + font-family: "Roboto", sans-serif; } h1 { - font-family: 'Lato', sans-serif; + font-family: "Roboto", sans-serif; } body { - padding-top: 60px; + padding-top: 60px; } body p { - font-family: 'Lato', sans-serif; + font-family: "Roboto", sans-serif; } .act-link { - @apply bg-gray-300; + @apply bg-gray-300; } pre { - @apply border-l; - @apply border-l-2; - @apply border-l-gray-500; - @apply pl-4; - @apply mt-4; - @apply text-base; - @apply break-words; - @apply overflow-x-auto; + @apply border-l; + @apply border-l-2; + @apply border-l-gray-500; + @apply pl-4; + @apply mt-4; + @apply text-base; + @apply break-words; + @apply overflow-x-auto; } ol { - @apply list-decimal; - @apply ml-5; + @apply list-decimal; + @apply ml-5; } ul { - @apply list-disc; - @apply ml-5; + @apply list-disc; + @apply ml-5; } -:not(pre)>code { - @apply text-red-600; - @apply text-base; +:not(pre) > code { + @apply text-red-600; + @apply text-base; } @tailwind components; @tailwind utilities; @responsive { - .pxi-0 { - @apply px-0 #{!important}; - } - .pyi-0 { - @apply py-0 #{!important}; - } - .pi-0 { - @apply p-0 #{!important}; - } + .pxi-0 { + @apply px-0 #{!important}; + } + .pyi-0 { + @apply py-0 #{!important}; + } + .pi-0 { + @apply p-0 #{!important}; + } } .animated-link:after { - content: ""; - width: 0px; - height: 1px; - display: block; - transition: 300ms; - @apply bg-gray-500; + content: ""; + width: 0px; + height: 1px; + display: block; + transition: 300ms; + @apply bg-gray-500; } .footerlink { - margin-left: 0rem !important; + margin-left: 0rem !important; } // .animated-link:hover:after { // width: 100%; // } .height-30px { - height: 30px; + height: 30px; } .text-3xl { - font-size: 2.50rem + font-size: 2.5rem; } .no-border { - border-width: 0px !important; + border-width: 0px !important; } .flex-post { - @apply border-b; - @apply border-b-gray-300; - @apply flex-col; + @apply border-b; + @apply border-b-gray-300; + @apply flex-col; + @apply w-full; + .post-card-image { + // @apply h-56; + @apply h-full; @apply w-full; - .post-card-image { - // @apply h-56; - @apply h-full; - @apply w-full; - @apply object-cover; - @apply rounded; - @apply relative; - } - .post-card-title { - @apply leading-none; - @apply text-2xl; - @apply font-medium; - } - .post-card-excerpt { - @apply font-serif; - } + @apply object-cover; + @apply rounded; + @apply relative; + } + .post-card-title { + @apply leading-none; + @apply text-2xl; + @apply font-medium; + } + .post-card-excerpt { + @apply font-serif; + } } .author-list-item:nth-child(n + 2) { - @apply -ml-3; + @apply -ml-3; } button:focus { - outline: none; + outline: none; } .telegram_icon { - font-size: 1.2rem; + font-size: 1.2rem; } .post-content a { - color: #4ec48f; + color: #4ec48f; } .text-8xl { - font-size: 5rem; - line-height: 1; - font-family: 'Lato', sans-serif !important; + font-size: 5rem; + line-height: 1; + font-family: "Roboto", sans-serif !important; } text-6xl { - font-family: 'Lato', sans-serif !important; + font-family: "Roboto", sans-serif !important; } text-5xl { - font-family: 'Lato', sans-serif !important; + font-family: "Roboto", sans-serif !important; } @media (min-width: 375px) { - .text-3xl { - font-size: 2.25rem - } + .text-3xl { + font-size: 2.25rem; + } } @media (min-width: 768px) { - .with-large>.flex-post:nth-child(5n), - .with-large>.flex-post:nth-child(5n-1) { - // @apply flex-100; - flex: 1 1 50%; - @apply flex-col; - .post-card-image-link { - @apply relative; - min-height: 400px; - } - .post-card-image { - @apply absolute; - @apply h-full; - @apply w-full; - @apply object-cover; - @apply rounded-lg; - } - .post-card-content { - // @apply flex-post-large-content; - flex: 0 1 auto; - @apply self-center; - } - .post-card-title { - @apply text-4xl; - } - .post-card-excerpt { - @apply text-xl; - } + .with-large > .flex-post:nth-child(5n), + .with-large > .flex-post:nth-child(5n-1) { + // @apply flex-100; + flex: 1 1 50%; + @apply flex-col; + .post-card-image-link { + @apply relative; + min-height: 400px; } - .news>.flex-post:nth-child(5n), - .news>.flex-post:nth-child(5n-1) { - // @apply flex-100; - flex: 1 1 50%; - @apply flex-col; - .post-card-image-link { - @apply relative; - min-height: 300px; - } - .post-card-image { - @apply absolute; - @apply h-full; - @apply w-full; - @apply object-cover; - @apply rounded-lg; - } - .post-card-content { - // @apply flex-post-large-content; - flex: 0 1 auto; - @apply self-center; - } - .post-card-title { - @apply text-4xl; - } - .post-card-excerpt { - @apply text-xl; - } + .post-card-image { + @apply absolute; + @apply h-full; + @apply w-full; + @apply object-cover; + @apply rounded-lg; } - .text-3xl { - font-size: 2.50rem + .post-card-content { + // @apply flex-post-large-content; + flex: 0 1 auto; + @apply self-center; } - // .news>.flex-post:nth-child(9n+1), - // .news>.flex-post:nth-child(9n+2) { - // // @apply flex-100; - // flex: 1 1 50%; - // @apply flex-col; - // .post-card-image-link { - // @apply relative; - // min-height: 300px; - // } - // .post-card-image { - // @apply absolute; - // @apply h-full; - // @apply w-full; - // @apply object-cover; - // @apply rounded-lg; - // } - // .post-card-content { - // // @apply flex-post-large-content; - // flex: 0 1 auto; - // @apply self-center; - // } - // .post-card-title { - // @apply text-4xl; - // } - // .post-card-excerpt { - // @apply text-xl; - // } - // } - // .news>.flex-post:nth-child(9n+3), - // .news>.flex-post:nth-child(9n+4), - // .news>.flex-post:nth-child(9n+5) { - // // @apply flex-100; - // flex: 1 1 300px; - // @apply flex-col; - // .post-card-image-link { - // @apply relative; - // min-height: 180px; - // } - // .post-card-image { - // @apply absolute; - // @apply h-full; - // @apply w-full; - // @apply object-cover; - // @apply rounded-lg; - // } - // .post-card-content { - // // @apply flex-post-large-content; - // flex: 0 1 auto; - // @apply self-center; - // } - // .post-card-title { - // @apply text-4xl; - // } - // .post-card-excerpt { - // @apply text-xl; - // } - // } - // .news>.flex-post:nth-child(9n+6), - // .news>.flex-post:nth-child(9n+7), - // .news>.flex-post:nth-child(9n+8), - // .news>.flex-post:nth-child(9n+9) { - // // @apply flex-100; - // flex: 1 1 250px; - // @apply flex-col; - // .post-card-image-link { - // @apply relative; - // min-height: 300px; - // } - // .post-card-image { - // @apply absolute; - // @apply h-full; - // @apply w-full; - // @apply object-cover; - // @apply rounded-lg; - // } - // .post-card-content { - // // @apply flex-post-large-content; - // flex: 0 1 auto; - // @apply self-center; - // } - // .post-card-title { - // @apply text-4xl; - // } - // .post-card-excerpt { - // @apply text-xl; - // } - // } + .post-card-title { + @apply text-4xl; + } + .post-card-excerpt { + @apply text-xl; + } + } + .news > .flex-post:nth-child(5n), + .news > .flex-post:nth-child(5n-1) { + // @apply flex-100; + flex: 1 1 50%; + @apply flex-col; + .post-card-image-link { + @apply relative; + min-height: 300px; + } + .post-card-image { + @apply absolute; + @apply h-full; + @apply w-full; + @apply object-cover; + @apply rounded-lg; + } + .post-card-content { + // @apply flex-post-large-content; + flex: 0 1 auto; + @apply self-center; + } + .post-card-title { + @apply text-4xl; + } + .post-card-excerpt { + @apply text-xl; + } + } + .text-3xl { + font-size: 2.5rem; + } + // .news>.flex-post:nth-child(9n+1), + // .news>.flex-post:nth-child(9n+2) { + // // @apply flex-100; + // flex: 1 1 50%; + // @apply flex-col; + // .post-card-image-link { + // @apply relative; + // min-height: 300px; + // } + // .post-card-image { + // @apply absolute; + // @apply h-full; + // @apply w-full; + // @apply object-cover; + // @apply rounded-lg; + // } + // .post-card-content { + // // @apply flex-post-large-content; + // flex: 0 1 auto; + // @apply self-center; + // } + // .post-card-title { + // @apply text-4xl; + // } + // .post-card-excerpt { + // @apply text-xl; + // } + // } + // .news>.flex-post:nth-child(9n+3), + // .news>.flex-post:nth-child(9n+4), + // .news>.flex-post:nth-child(9n+5) { + // // @apply flex-100; + // flex: 1 1 300px; + // @apply flex-col; + // .post-card-image-link { + // @apply relative; + // min-height: 180px; + // } + // .post-card-image { + // @apply absolute; + // @apply h-full; + // @apply w-full; + // @apply object-cover; + // @apply rounded-lg; + // } + // .post-card-content { + // // @apply flex-post-large-content; + // flex: 0 1 auto; + // @apply self-center; + // } + // .post-card-title { + // @apply text-4xl; + // } + // .post-card-excerpt { + // @apply text-xl; + // } + // } + // .news>.flex-post:nth-child(9n+6), + // .news>.flex-post:nth-child(9n+7), + // .news>.flex-post:nth-child(9n+8), + // .news>.flex-post:nth-child(9n+9) { + // // @apply flex-100; + // flex: 1 1 250px; + // @apply flex-col; + // .post-card-image-link { + // @apply relative; + // min-height: 300px; + // } + // .post-card-image { + // @apply absolute; + // @apply h-full; + // @apply w-full; + // @apply object-cover; + // @apply rounded-lg; + // } + // .post-card-content { + // // @apply flex-post-large-content; + // flex: 0 1 auto; + // @apply self-center; + // } + // .post-card-title { + // @apply text-4xl; + // } + // .post-card-excerpt { + // @apply text-xl; + // } + // } } // body[data-theme="dark"] { @@ -378,4 +386,4 @@ text-5xl { // } // } // } -// } \ No newline at end of file +// } diff --git a/src/components/custom/Modal.vue b/src/components/custom/Modal.vue index 562da14e6..852f3324d 100644 --- a/src/components/custom/Modal.vue +++ b/src/components/custom/Modal.vue @@ -1,35 +1,21 @@