diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..d453dfc --- /dev/null +++ b/.editorconfig @@ -0,0 +1,13 @@ +root = true + +[*] +charset = utf-8 +end_of_line = lf +indent_size = 4 +indent_style = tab +insert_final_newline = true +trim_trailing_whitespace = true + +[*.json] +indent_size = 2 +indent_style = space diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..75449c8 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +*.woff2 filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3fef058 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +/src/css/style.css +node_modules diff --git a/bun.lockb b/bun.lockb new file mode 100755 index 0000000..e7a4739 Binary files /dev/null and b/bun.lockb differ diff --git a/package.json b/package.json new file mode 100644 index 0000000..d994097 --- /dev/null +++ b/package.json @@ -0,0 +1,7 @@ +{ + "name": "renati.me", + "type": "module", + "devDependencies": { + "tailwindcss": "^3.4.1" + } +} diff --git a/src/fonts/Inter-Italic.woff2 b/src/fonts/Inter-Italic.woff2 new file mode 100644 index 0000000..aa582c3 --- /dev/null +++ b/src/fonts/Inter-Italic.woff2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0470791f15efd2987bdb50b24027c3f584a2cf9b7b63fbf86012c5f2e9abcc05 +size 380904 diff --git a/src/fonts/Inter.woff2 b/src/fonts/Inter.woff2 new file mode 100644 index 0000000..b7bcaf7 --- /dev/null +++ b/src/fonts/Inter.woff2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8af7bd5b545567adffb3dfceb5bedb353a522d7bf1b3a2b8af7b6064156babc0 +size 345588 diff --git a/src/fonts/JetBrainsMono-Bold.woff2 b/src/fonts/JetBrainsMono-Bold.woff2 new file mode 100644 index 0000000..b7a70ca --- /dev/null +++ b/src/fonts/JetBrainsMono-Bold.woff2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c503cc5ec5f8b2c7666b7ecda1adf44bd45f2e6579b2eba0fc292150416588a2 +size 94588 diff --git a/src/fonts/JetBrainsMono-BoldItalic.woff2 b/src/fonts/JetBrainsMono-BoldItalic.woff2 new file mode 100644 index 0000000..42048cb --- /dev/null +++ b/src/fonts/JetBrainsMono-BoldItalic.woff2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3a013466c0eee979fb9d42c2d7a8887cd3645dc8b897cfc5b71781cf982efc5a +size 98152 diff --git a/src/fonts/JetBrainsMono-Italic.woff2 b/src/fonts/JetBrainsMono-Italic.woff2 new file mode 100644 index 0000000..eedc763 --- /dev/null +++ b/src/fonts/JetBrainsMono-Italic.woff2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cb6a1b246318ed3885d7dffa14a2609297fe80e9b8e500bea33b52fa312a36a4 +size 95864 diff --git a/src/fonts/JetBrainsMono-Regular.woff2 b/src/fonts/JetBrainsMono-Regular.woff2 new file mode 100644 index 0000000..dfe43ef --- /dev/null +++ b/src/fonts/JetBrainsMono-Regular.woff2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a9cb1cd82332b23a47e3a1239d25d13c86d16c4220695e34b243effa999f45f2 +size 92164 diff --git a/src/index.html b/src/index.html new file mode 100644 index 0000000..e48f507 --- /dev/null +++ b/src/index.html @@ -0,0 +1,34 @@ + + + + + I am Renati + + + + +
+
renati.me
+

This is my webpage. Someday, maybe I'll add an introduction. Until then, you can check out my stuff.

+

Socials

+ +

Programming languages

+ +

Other projects

+ +
+ + diff --git a/tailwind.config.js b/tailwind.config.js new file mode 100644 index 0000000..e690209 --- /dev/null +++ b/tailwind.config.js @@ -0,0 +1,15 @@ +const defaultTheme = require('tailwindcss/defaultTheme'); + +/** @type {import("tailwindcss").Config} */ +module.exports = { + content: ["./src/**/*.{html,js}"], + theme: { + extend: { + fontFamily: { + sans: ["Inter", ...defaultTheme.fontFamily.sans], + mono: ["\"JetBrains Mono\"", ...defaultTheme.fontFamily.mono], + }, + }, + }, + plugins: [], +}; diff --git a/tailwind.css b/tailwind.css new file mode 100644 index 0000000..780fc8b --- /dev/null +++ b/tailwind.css @@ -0,0 +1,53 @@ +@tailwind base; +@tailwind components; +@tailwind utilities; + +@layer base { + @font-face { + font-family: Inter; + font-style: normal; + font-weight: 100 900; + font-display: swap; + src: url("/fonts/Inter.woff2") format("woff2"); + } + + @font-face { + font-family: Inter; + font-style: italic; + font-weight: 100 900; + font-display: swap; + src: url("/fonts/Inter-Italic.woff2") format("woff2"); + } + + @font-face { + font-family: "JetBrains Mono"; + font-style: normal; + font-weight: 400; + font-display: swap; + src: url("../fonts/JetBrainsMono-Regular.woff2") format("woff2"); + } + + @font-face { + font-family: "JetBrains Mono"; + font-style: normal; + font-weight: 700; + font-display: swap; + src: url("/fonts/JetBrainsMono-Bold.woff2") format("woff2"); + } + + @font-face { + font-family: "JetBrains Mono"; + font-style: italic; + font-weight: 400; + font-display: swap; + src: url("/fonts/JetBrainsMono-Italic.woff2") format("woff2"); + } + + @font-face { + font-family: "JetBrains Mono"; + font-style: italic; + font-weight: 700; + font-display: swap; + src: url("/fonts/JetBrainsMono-BoldItalic.woff2") format("woff2"); + } +}