Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Develop #5

Merged
merged 2 commits into from
May 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 24 additions & 3 deletions src/components/Hero.astro
Original file line number Diff line number Diff line change
@@ -1,8 +1,29 @@
---
---

<section>
<div class="w-full h-full">
<h1 class="font-secondary">welcome</h1>
<section
class="min-h-screen py-24 mx-auto flex flex-col gap-6 justify-center w-full"
>
<h1 class="font-secondary text-lg text-primary-50 tracking-widest">
welcome, I'm
</h1>

<h3 class="text-4xl md:text-5xl lg:text-7xl font-semibold">Daniel Cuque.</h3>

<h3 class="text-4xl md:text-5xl lg:text-7xl font-semibold">
I build <span class="text-primary-50">web applications.</span>
</h3>

<h6 class="w-full md:w-1/2 text-justify text-gray-400">
I'm a software developer based in Guatemala, specializing in building
exceptional websites, and everything in between.
</h6>
<div>
<a
class="rounded-full text-lg border-2 border-primary-50 px-4 py-2 font-secondary text-primary-50 tracking-widest hover:transition-all hover:bg-primary-50 hover:bg-opacity-10 duration-200"
href="mailto:[email protected]"
>
Get in touch</a
>
</div>
</section>
6 changes: 4 additions & 2 deletions src/components/Navbar.astro
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ import { navItems } from "../utils/navItems";
import NavItem from "./NavItem.astro";
---

<nav class="flex flex-row justify-center lg:justify-between mx-16 my-8">
<nav
class="flex justify-center fixed h-10 w-full lg:justify-between px-16 my-8"
>
<div class="hidden lg:flex">
<a href="/">
<img
Expand All @@ -13,7 +15,7 @@ import NavItem from "./NavItem.astro";
/>
</a>
</div>
<ol class="flex flex-row gap-8 [counter-reset:item]">
<ol class="flex gap-8 [counter-reset:item]">
{navItems.map(({ name, path }) => <NavItem name={name} path={path} />)}
</ol>
</nav>
4 changes: 2 additions & 2 deletions src/components/Social.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export const Social = () => {
{socialItems.map(({ icon, link }) => (
<li key={link} className="group w-12 p-2">
<a
className="text-base fill-white group-hover:fill-primary-50 group-hover:transition group-hover:duration-200 group-hover:ease-in-out"
className="text-base fill-white group-hover:fill-primary-50 transition duration-200"
target="_blank"
href={link}
>
Expand All @@ -40,7 +40,7 @@ export const Social = () => {
<ul className="flex flex-col w-full h-full gap-6">
<li className="group w-12 p-2">
<a
className="text-xs group-hover:text-primary-50 group-hover:transition group-hover:duration-200 group-hover:ease-in-out [writing-mode:vertical-lr]"
className="text-xs group-hover:text-primary-50 transition group-hover:-translate-y-1 duration-200 [writing-mode:vertical-lr]"
href="mailto:[email protected]">
[email protected]
</a>
Expand Down