Skip to content

Commit

Permalink
New design (#53)
Browse files Browse the repository at this point in the history
* feat: start redesign

* feat: about page

* feat: contact page

* feat: blog

* feat: custom components

* chore: remove unused stuff

* chore: eslint fixes

* feat: upgrade to tailwind v4
  • Loading branch information
Bartek532 authored Feb 19, 2025
1 parent 111ed26 commit 50b7d35
Show file tree
Hide file tree
Showing 391 changed files with 15,653 additions and 14,439 deletions.
6 changes: 5 additions & 1 deletion .env-sample
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,15 @@ ALGOLIA_UPDATE_API_KEY=
MAILER_LITE_API_KEY=
MAILER_LITE_GROUP_ID=

# Github token for fetching activity from Github
# https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token
GITHUB_TOKEN=

# Usernames used on social media accounts - used in external links
NEXT_PUBLIC_X_USERNAME=
NEXT_PUBLIC_FACEBOOK_USERNAME=
NEXT_PUBLIC_LINKEDIN_USERNAME=
NEXT_PUBLIC_GITHUB_USERNAME=
NEXT_PUBLIC_GUMROAD_USERNAME=
NEXT_PUBLIC_EMAIL=

# Google Analytics tracking id
Expand All @@ -52,3 +55,4 @@ NEXT_PUBLIC_ALGOLIA_PROJECTS_INDEX_NAME=projects-preview

# Locally exposed host by Next.js server
NEXT_PUBLIC_HOST=localhost:3000

2 changes: 0 additions & 2 deletions .eslintignore

This file was deleted.

80 changes: 0 additions & 80 deletions .eslintrc.json

This file was deleted.

1 change: 1 addition & 0 deletions .github/workflows/lighthouse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,6 @@ jobs:
with:
urls: ${{ steps.waitForVercelPreviewDeployment.outputs.url }}
gitHubAccessToken: ${{ secrets.GITHUB_TOKEN }}
device: "all"
locale: en
prCommentEnabled: true
102 changes: 0 additions & 102 deletions .github/workflows/nextjs_bundle_analysis.yml

This file was deleted.

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
# next.js
/.next/
/out/
next-env.d.ts

# production
/build
Expand Down
4 changes: 0 additions & 4 deletions .lintstagedrc.js

This file was deleted.

1 change: 0 additions & 1 deletion .nvmrc

This file was deleted.

8 changes: 0 additions & 8 deletions .prettierrc

This file was deleted.

21 changes: 21 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"css.customData": [".vscode/tailwind.json"],
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit"
},
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true,
"eslint.rules.customizations": [{ "rule": "*", "severity": "warn" }],
"prettier.ignorePath": ".gitignore",
"tailwindCSS.experimental.classRegex": [
["cva\\(([^)]*)\\)", "[\"'`]([^\"'`]*).*?[\"'`]"],
["cx\\(([^)]*)\\)", "(?:'|\"|`)([^']*)(?:'|\"|`)"]
],
"tailwindCSS.experimental.configFile": "./tailwind.config.js",
"typescript.enablePromptUseWorkspaceTsdk": true,
"typescript.preferences.autoImportFileExcludePatterns": [
"next/router.d.ts",
"next/dist/client/router.d.ts"
],
"typescript.tsdk": "node_modules/typescript/lib"
}
75 changes: 75 additions & 0 deletions .vscode/tailwind.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
{
"version": 1.1,
"atDirectives": [
{
"name": "@tailwind",
"description": "Use the `@tailwind` directive to insert Tailwind's `base`, `components`, `utilities` and `screens` styles into your CSS.",
"references": [
{
"name": "Tailwind Documentation",
"url": "https://tailwindcss.com/docs/functions-and-directives#tailwind"
}
]
},
{
"name": "@apply",
"description": "Use the `@apply` directive to inline any existing utility classes into your own custom CSS. This is useful when you find a common utility pattern in your HTML that you’d like to extract to a new component.",
"references": [
{
"name": "Tailwind Documentation",
"url": "https://tailwindcss.com/docs/functions-and-directives#apply"
}
]
},
{
"name": "@responsive",
"description": "You can generate responsive variants of your own classes by wrapping their definitions in the `@responsive` directive:\n```css\n@responsive {\n .alert {\n background-color: #E53E3E;\n }\n}\n```\n",
"references": [
{
"name": "Tailwind Documentation",
"url": "https://tailwindcss.com/docs/functions-and-directives#responsive"
}
]
},
{
"name": "@screen",
"description": "The `@screen` directive allows you to create media queries that reference your breakpoints by **name** instead of duplicating their values in your own CSS:\n```css\n@screen sm {\n /* ... */\n}\n```\n…gets transformed into this:\n```css\n@media (min-width: 640px) {\n /* ... */\n}\n```\n",
"references": [
{
"name": "Tailwind Documentation",
"url": "https://tailwindcss.com/docs/functions-and-directives#screen"
}
]
},
{
"name": "@variants",
"description": "Generate `hover`, `focus`, `active` and other **variants** of your own utilities by wrapping their definitions in the `@variants` directive:\n```css\n@variants hover, focus {\n .btn-brand {\n background-color: #3182CE;\n }\n}\n```\n",
"references": [
{
"name": "Tailwind Documentation",
"url": "https://tailwindcss.com/docs/functions-and-directives#variants"
}
]
},
{
"name": "@custom-variant",
"description": "Use the `@custom-variant` directive to create a custom variant for a given selector. This is useful when you want to create a variant for a specific element or component.",
"references": [
{
"name": "Tailwind Documentation",
"url": "https://tailwindcss.com/docs/functions-and-directives#custom-variant"
}
]
},
{
"name": "@plugin",
"description": "Use the `@plugin` directive to import a plugin into your CSS.",
"references": [
{
"name": "Tailwind Documentation",
"url": "https://tailwindcss.com/docs/functions-and-directives#plugin"
}
]
}
]
}
Loading

0 comments on commit 50b7d35

Please sign in to comment.