Skip to content

Commit

Permalink
feat: update site description & move config file
Browse files Browse the repository at this point in the history
  • Loading branch information
aabuhijleh committed Nov 19, 2024
1 parent d6d5e2b commit 1967cf2
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 12 deletions.
2 changes: 1 addition & 1 deletion app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Analytics } from "@vercel/analytics/react";
import { SpeedInsights } from "@vercel/speed-insights/next";
import type { Metadata, Viewport } from "next";
import { siteConfig } from "~/assets/config";
import { siteConfig } from "~/config";
import "~/styles/globals.css";

export const metadata: Metadata = {
Expand Down
2 changes: 1 addition & 1 deletion app/manifest.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { MetadataRoute } from "next";
import { siteConfig } from "~/assets/config";
import { siteConfig } from "~/config";

export default function manifest(): MetadataRoute.Manifest {
return {
Expand Down
2 changes: 1 addition & 1 deletion app/sitemap.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { MetadataRoute } from "next";
import { siteConfig } from "~/assets/config";
import { siteConfig } from "~/config";

export default function sitemap(): MetadataRoute.Sitemap {
return [
Expand Down
2 changes: 1 addition & 1 deletion components/hero.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"use client";

import Link from "next/link";
import { socialLinks } from "~/assets/config";
import { socialLinks } from "~/config";
import { cn } from "~/lib/utils";
import { BackgroundLines } from "./ui/background-lines";

Expand Down
2 changes: 1 addition & 1 deletion components/navbar.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"use client";

import { useState } from "react";
import { navLinks } from "~/assets/config";
import { navLinks } from "~/config";
import { X, Menu } from "lucide-react";
import { cn } from "~/lib/utils";
import { useScrollDirection } from "~/hooks/useScrollDirection";
Expand Down
2 changes: 1 addition & 1 deletion components/projects.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
SiNpm as Npm,
} from "@icons-pack/react-simple-icons";
import { RefObject } from "react";
import { projects } from "~/assets/config";
import { projects } from "~/config";

export const Projects = () => {
const { targetRef, isIntersecting } = useIsIntersecting();
Expand Down
2 changes: 1 addition & 1 deletion components/work.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"use client";

import { experience } from "~/assets/config";
import { experience } from "~/config";
import { TimelineCard } from "./timeline-card";
import { RefObject } from "react";
import { useIsIntersecting } from "~/hooks/useIsIntersecting";
Expand Down
9 changes: 5 additions & 4 deletions assets/config.ts → config/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,17 @@ import {
SiX as X,
} from "@icons-pack/react-simple-icons";
import { FolderGit, Briefcase, Home, User, Mail } from "lucide-react";
import { BrandLink, Experience, Project, NavLink } from "~/types";
import { SocialLink, Experience, Project, NavLink } from "~/types";

export const siteConfig = {
name: "Abed Abu-Hijleh",
description: "Abed Abu-Hijleh is a full-stack software engineer 👨‍💻",
description:
"Full-stack software engineer specializing in web, mobile, and desktop applications with a passion for building delightful, user-centric solutions.",
url: "https://aabuhijleh.com",
themeColor: "#020817",
};
} as const;

export const socialLinks: BrandLink[] = [
export const socialLinks: SocialLink[] = [
{
name: "GitHub",
href: "https://github.com/aabuhijleh",
Expand Down
1 change: 1 addition & 0 deletions config/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from "./config";
2 changes: 1 addition & 1 deletion types/config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export type BrandLink = {
export type SocialLink = {
name: string;
href: string;
icon: React.ElementType;
Expand Down

0 comments on commit 1967cf2

Please sign in to comment.