Skip to content

Commit

Permalink
Merge pull request #345 from Trombach/feature/hero-redesign
Browse files Browse the repository at this point in the history
Hero redesign
  • Loading branch information
Trombach authored Sep 20, 2024
2 parents 4638356 + 84bd689 commit 57f86a9
Show file tree
Hide file tree
Showing 70 changed files with 977 additions and 826 deletions.
5 changes: 5 additions & 0 deletions .changeset/eleven-cats-count.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"homepage": minor
---

Redesign of the hero page and general page layout
7 changes: 7 additions & 0 deletions .markdownlint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"$schema": "https://raw.githubusercontent.com/DavidAnson/markdownlint/v0.35.0/schema/markdownlint-config-schema.json",
"default": true,
"MD013": {
"line_length": 120
}
}
27 changes: 24 additions & 3 deletions astro.config.mjs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// @ts-check

import { defineConfig, envField } from "astro/config";
import tailwind from "@astrojs/tailwind";
import svelte from "@astrojs/svelte";
Expand All @@ -8,11 +10,23 @@ import react from "@astrojs/react";
import addsToHead from "./adds-to-head-integration";
import remarkGithub from "remark-github";
import sitemap from "@astrojs/sitemap";

// @ts-ignore
import rehypeFigure from "@microflash/rehype-figure";

import inoxToolsContentUtils from "@inox-tools/content-utils";

// https://astro.build/config
export default defineConfig({
integrations: [tailwind(), svelte(), mdx(), react(), addsToHead(), sitemap()],
integrations: [
tailwind(),
svelte(),
mdx(),
react(),
addsToHead(),
sitemap(),
inoxToolsContentUtils(),
],
image: {
domains: ["placehold.co"],
},
Expand Down Expand Up @@ -54,17 +68,24 @@ export default defineConfig({
}),
site: "https://www.lukastrombach.dev",
experimental: {
contentIntellisense: true,
serverIslands: true,
actions: true,
env: {
schema: {
GH_TOKEN: envField.string({ context: "server", access: "secret" }),
GH_TOKEN: envField.string({
context: "server",
access: "secret",
}),
VERCEL_URL: envField.string({
context: "server",
access: "public",
optional: true,
}),
RESEND_TOKEN: envField.string({ context: "server", access: "secret" }),
RESEND_TOKEN: envField.string({
context: "server",
access: "secret",
}),
VERCEL_STORAGE_URL: envField.string({
context: "server",
access: "public",
Expand Down
18 changes: 17 additions & 1 deletion biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,26 @@
"organizeImports": {
"enabled": true
},
"vcs": {
"enabled": true,
"clientKind": "git",
"defaultBranch": "main",
"useIgnoreFile": true
},
"linter": {
"enabled": true,
"rules": {
"recommended": true
"recommended": true,
"nursery": {
"useSortedClasses": {
"level": "warn",
"fix": "safe",
"options": {
"attributes": ["class:list"],
"functions": ["clsx"]
}
}
}
}
},
"formatter": {
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
"@fontsource-variable/jetbrains-mono": "^5.0.22",
"@iconify-json/heroicons": "^1.1.24",
"@iconify-json/simple-icons": "^1.1.114",
"@inox-tools/content-utils": "^0.7.0",
"@microflash/rehype-figure": "^2.1.0",
"@tailwindcss/container-queries": "^0.1.1",
"@vercel/analytics": "^1.3.1",
Expand All @@ -45,7 +46,6 @@
"resend": "^4.0.0",
"sharp": "^0.33.5",
"svelte": "^4.2.18",
"svelte-gestures": "^5.0.4",
"svelte-preprocess": "^6.0.2",
"tailwindcss": "^3.4.10"
},
Expand All @@ -57,7 +57,6 @@
"@types/react": "^18.3.4",
"@types/react-dom": "^18.3.0",
"svelte-check": "^3.8.5",
"svelte-typewriter": "^3.2.3",
"typescript": "^5.5.4",
"unplugin-icons": "^0.19.2"
},
Expand Down
123 changes: 78 additions & 45 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

1 comment on commit 57f86a9

@vercel
Copy link

@vercel vercel bot commented on 57f86a9 Sep 20, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

astro-homepage – ./

astro-homepage-git-main-trombachs-projects.vercel.app
astro-homepage-trombachs-projects.vercel.app

Please sign in to comment.