diff --git a/src/components/Button.astro b/src/components/Button.astro new file mode 100644 index 0000000..c175670 --- /dev/null +++ b/src/components/Button.astro @@ -0,0 +1,22 @@ +--- +import { ArrowRightIcon } from "lucide-react"; + +interface Props { + className?: string; + caption: string; + href?: string; + tab?: boolean; + small?: boolean; +} + +const { className, caption, href, tab, small } = Astro.props; +--- + + + {caption} + + diff --git a/src/components/Footer.astro b/src/components/Footer.astro index 73fbb04..59e5eb2 100644 --- a/src/components/Footer.astro +++ b/src/components/Footer.astro @@ -1,5 +1,6 @@ --- -import SRXLogo from "@srx/assets/srx-digital-logo.svg?react"; +import Config from "@srx/config/page.json"; +import Logo from "@srx/components/Logo.astro"; import { AtSign, GitFork, Linkedin, MessagesSquare } from "lucide-react"; --- @@ -7,13 +8,13 @@ import { AtSign, GitFork, Linkedin, MessagesSquare } from "lucide-react"; class="flex flex-col md:flex-row items-start bg-default text-white py-20" >
-

- Du möchtest mit mir zusammenarbeiten? Ich freue mich über deinen - Kontakt. -

+

{Config.site.cta}

- srx digital
- Development & Operations
+ {Config.site.title}
+ {Config.site.subtitle}
- Sebastian Wendel
- Wohlwillstraße 2
- D-20359 Hamburg
+ {Config.company.name}
+ {Config.company.street} + {Config.company.building}
+ {Config.company.country}-{Config.company.plz} + {Config.company.city}
- + diff --git a/src/components/Hero.astro b/src/components/Hero.astro index f63ed41..ac4cda5 100644 --- a/src/components/Hero.astro +++ b/src/components/Hero.astro @@ -1,54 +1,30 @@ --- import { Picture } from "astro:assets"; -import { LinkButton } from "@srx/components"; -import SwendelPortrait from "@srx/assets/swendel_portrait.webp"; +import Portrait from "@srx/assets/swendel_portrait.webp"; +import Config from "@srx/config/page.json"; +import Button from "@srx/components/Button.astro"; --- -
-
-

You, me, technology.

-

- Hallo! Ich bin Sebastian aus Hamburg, spezialisiert auf - Softwareentwicklung und Plattformengineering. Meine Welt sind Linux, - Container, Cloud und Hardware, besonders wenn's um Open-Source geht. - Ich helfe Firmen, ihre Digitalstrategien erfolgreich zu realisieren. -

+
+
+

{Config.site.claim}

+

{Config.site.description}

-
- - diff --git a/src/components/LinkButton.tsx b/src/components/LinkButton.tsx deleted file mode 100644 index 5a6bd9f..0000000 --- a/src/components/LinkButton.tsx +++ /dev/null @@ -1,28 +0,0 @@ -import { ArrowRightIcon } from "lucide-react" - -interface Props { - caption: string - className?: string - href?: string - newTab?: boolean - small?: boolean -} - -const LinkButton: React.FC = ({ - caption, - className, - href, - newTab, - small, -}: Props) => { - return ( -
- {caption} - - - ) -} - -export default LinkButton \ No newline at end of file diff --git a/src/components/Navbar.astro b/src/components/Navbar.astro index ecac198..762f803 100644 --- a/src/components/Navbar.astro +++ b/src/components/Navbar.astro @@ -1,19 +1,7 @@ --- -import SrxLogo from "@srx/assets/srx-digital-logo.svg?react"; +import Logo from "@srx/components/Logo.astro"; --- -