hetari
available for work and collaboration
@@ -100,7 +100,7 @@
diff --git a/src/components/sections/Hero.vue b/src/components/sections/Hero.vue
index 06c83b6..2eb36fd 100644
--- a/src/components/sections/Hero.vue
+++ b/src/components/sections/Hero.vue
@@ -40,12 +40,14 @@
-
+
{{ locationPlace }}
diff --git a/src/functions/index.ts b/src/functions/index.ts
index 4924cbe..90f4c16 100644
--- a/src/functions/index.ts
+++ b/src/functions/index.ts
@@ -1,19 +1,21 @@
-const textSplitter = (text: string): string => {
- const words = text.split(' ');
- const char = words.map((word) => word.split(''));
+const textSplitter = (text: string, isFancyFont: boolean = false): string => {
+ const words = text.split(' ');
+ const char = words.map((word) => word.split(''));
- let result = '';
- char.forEach((word) => {
- result += '';
- word.forEach((char) => {
- result += `${char}`;
- });
- result += ' ';
+ let result = '';
+ char.forEach((word) => {
+ result += '';
+ word.forEach((char) => {
+ let classes = 'letters translate-y-full inline-block ';
+ if (isFancyFont) {
+ classes += ' font-fancy ';
+ }
+ result += `${char}`;
});
+ result += ' ';
+ });
- return result;
-}
+ return result;
+};
-export {
- textSplitter
-}
\ No newline at end of file
+export { textSplitter };
diff --git a/src/style.css b/src/style.css
index 906ea9f..3f12c69 100644
--- a/src/style.css
+++ b/src/style.css
@@ -63,11 +63,11 @@
::-moz-selection {
/* Code for Firefox */
- @apply text-flax-smoke-100 bg-flax-smoke-800;
+ @apply bg-flax-smoke-800 text-flax-smoke-100;
}
::selection {
- @apply text-flax-smoke-100 bg-flax-smoke-800;
+ @apply bg-flax-smoke-800 text-flax-smoke-100;
}
}
diff --git a/tailwind.config.js b/tailwind.config.js
index 8cb5f0b..aee5969 100644
--- a/tailwind.config.js
+++ b/tailwind.config.js
@@ -44,6 +44,11 @@ export default {
'3xl': '1920px',
'4xl': '2560px',
},
+ maxWidth: {
+ '8xl': '1920px',
+ '9xl': '2560px',
+ '10xl': '3200px',
+ },
},
},
plugins: [],
{{ locationPlace }}
diff --git a/src/functions/index.ts b/src/functions/index.ts index 4924cbe..90f4c16 100644 --- a/src/functions/index.ts +++ b/src/functions/index.ts @@ -1,19 +1,21 @@ -const textSplitter = (text: string): string => { - const words = text.split(' '); - const char = words.map((word) => word.split('')); +const textSplitter = (text: string, isFancyFont: boolean = false): string => { + const words = text.split(' '); + const char = words.map((word) => word.split('')); - let result = ''; - char.forEach((word) => { - result += ''; - word.forEach((char) => { - result += `${char}`; - }); - result += ' '; + let result = ''; + char.forEach((word) => { + result += ''; + word.forEach((char) => { + let classes = 'letters translate-y-full inline-block '; + if (isFancyFont) { + classes += ' font-fancy '; + } + result += `${char}`; }); + result += ' '; + }); - return result; -} + return result; +}; -export { - textSplitter -} \ No newline at end of file +export { textSplitter }; diff --git a/src/style.css b/src/style.css index 906ea9f..3f12c69 100644 --- a/src/style.css +++ b/src/style.css @@ -63,11 +63,11 @@ ::-moz-selection { /* Code for Firefox */ - @apply text-flax-smoke-100 bg-flax-smoke-800; + @apply bg-flax-smoke-800 text-flax-smoke-100; } ::selection { - @apply text-flax-smoke-100 bg-flax-smoke-800; + @apply bg-flax-smoke-800 text-flax-smoke-100; } } diff --git a/tailwind.config.js b/tailwind.config.js index 8cb5f0b..aee5969 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -44,6 +44,11 @@ export default { '3xl': '1920px', '4xl': '2560px', }, + maxWidth: { + '8xl': '1920px', + '9xl': '2560px', + '10xl': '3200px', + }, }, }, plugins: [],