Skip to content

Commit

Permalink
Merge pull request #2 from yogyy/skill-card
Browse files Browse the repository at this point in the history
Skill card & add new project
  • Loading branch information
yogyy committed Aug 2, 2023
2 parents d3d41ba + 1d28799 commit 6cf269b
Show file tree
Hide file tree
Showing 8 changed files with 172 additions and 50 deletions.
9 changes: 1 addition & 8 deletions src/components/accent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,7 @@ type AccentType = React.ComponentPropsWithoutRef<'span'>;

export const Accent = ({ children, className }: AccentType) => {
return (
<span
className={clsx(
className,
'transition-colors',
'text-transparent bg-clip-text bg-gradient-to-r from-light-primary to-light-accent scroll-smooth',
'dark:from-dark-primary dark:to-dark-accent dark:bg-clip-text dark:text-transparent'
)}
>
<span className={clsx(className, 'text-light-accent dark:text-dark-accent transition-colors')}>
{children}
</span>
);
Expand Down
15 changes: 9 additions & 6 deletions src/components/clientComponent/project-list.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export const projects = [
},
{
slug: '/projects/burungbiru',
title: 'BurungBiru',
title: 'BurBir',
description: 'a Small social media',
banner:
'https://res.cloudinary.com/dpegakmzh/image/upload/v1686663245/burungbiru.vercel.app_yloknn.webp',
Expand All @@ -45,11 +45,14 @@ export const projects = [
category: 'Personal Project',
},
{
slug: '#project-3',
title: 'Project 3',
description: 'This is the third project',
banner: '',
url: 'https://example.com/project-3',
slug: '/projects/todooo',
title: 'ToDo App',
description: 'Drag Drop To Do',
banner:
'https://res.cloudinary.com/dpegakmzh/image/upload/v1690991581/Web_capture_2-8-2023_225229_yogyy.github.io_nqj8lk.jpg',
url: 'https://yogyy.github.io/react-todo-localhost',
github: 'https://github.com/yogyy/react-todo-localhost',
techs: ['ReactJS', 'Tailwind'],
category: 'Personal Project',
},
];
4 changes: 3 additions & 1 deletion src/components/layouts/footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ export default function Footer() {
<hr className="my-6 border-gray-200 sm:mx-auto dark:border-gray-700" />
<div className="relative pb-4 layout">
<div className="flex flex-col justify-center gap-3 mb-4 sm:flex-row sm:justify-between">
<span className="self-center mb-4 text-2xl font-semibold font-doodle">Yogyy</span>
<span className="self-center mb-4 text-2xl font-semibold dark:text-dark-accent">
yogyy
</span>
<div role="contentinfo" aria-labelledby="spotify-activity">
<Spotify className="place-self-center" />
</div>
Expand Down
8 changes: 1 addition & 7 deletions src/components/tech/techsection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,6 @@ export default function TechSection({ className }: { className?: string }) {
{techSkills.map((item, index) => {
return <TechSkillItem key={index} text={item} />;
})}
{/* {nonSkills.map((el, index) => (
<div key={index} className="flex items-center p-2 rounded-sm hover:bg-red-600/25">
<span className="text-2xl">{el.icon}</span>
<span className="pl-4">{el.text}</span>
</div>
))} */}
</div>
</section>
);
Expand All @@ -65,7 +59,7 @@ export default function TechSection({ className }: { className?: string }) {
const TechSkillItem = ({ text }: { text: string }) => {
const iconType = text.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, '').toLowerCase();
return (
<div className="flex items-center p-2 rounded-sm hover:bg-gray-300/20 dark:hover:bg-gray-500/20">
<div className="flex border dark:border-gray-600 items-center p-2 rounded-md hover:bg-gray-300/20 dark:hover:bg-gray-500/20 hover:border-transparent hover:dark:border-transparent">
<span className="text-2xl text-dark-bg dark:text-light-bg">
<Icon type={iconType} />
</span>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/about.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export function Me() {
</h2>
<div gaya-fade="2" className="mt-4">
<Image
className="flex float-left mr-6 bg-red-500 rounded-full w-28 md:w-36"
className="flex float-left mr-6 bg-dark-bg rounded-full w-28 md:w-36"
src="https://res.cloudinary.com/dpegakmzh/image/upload/c_scale,w_256/v1685623759/me_vwkosx.webp"
alt="gwe"
width={520}
Expand Down
39 changes: 21 additions & 18 deletions src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,28 +13,24 @@ import { SiGithub, SiTwitter } from 'react-icons/si';
import { IoNewspaperSharp } from 'react-icons/io5';
import TechSection from '@/components/tech/techsection';
import Tooltipz from '@/components/tooltip';
import { Vazirmatn } from 'next/font/google';
const name = 'Muhammad Yogi Firman Syah.';

export default function Home() {
return (
<RootLayout pageTitle="yogyy" content="Muhammad Yogi Firman Syah Webstie Portofolio">
<IsLoaded className="relative flex flex-col justify-center mb-20 min-h-main">
<article className={`mx-auto layout`}>
<h1 className="flex items-center text-sm" gaya-fade="1">
Hi, my name is
<h1 className="flex items-center text-3xl md:text-4xl 2xl:text-5xl gap-2" gaya-fade="1">
<span>Hi, i&apos;m</span>
<Accent>yogyy</Accent>
</h1>
<h2 gaya-fade="2" className="mt-1 text-3xl md:text-4xl 2xl:text-5xl font-doodle">
<Accent>{name}</Accent>
</h2>
<div className="mt-1">
<h3 gaya-fade="3" className="flex flex-wrap">
Frontend Web Developer,
</h3>
</div>
<p gaya-fade="5" className="max-w-4xl mt-4 md:mt-6 md:text-lg 2xl:text-xl">
based in Tangerang, Indonesia.
<br /> I work with React & Next JS.
i&apos;m front-end developer based in Tangerang, Indonesia.
<br /> I do stuff in ReactJS and NextJS.
</p>
<div gaya-fade="6" className="mt-8 flex flex-wrap gap-4 md:!text-lg">
<div className="relative group">
Expand Down Expand Up @@ -110,48 +106,55 @@ export default function Home() {
<h2 gaya-fade="1">
<Accent>Skills</Accent>
</h2>

<article id="skill" className="mt-6">
<div className="grid grid-cols-1 gap-12">
<div className="flex flex-col gap-4">
<div gaya-fade="2" className="flex flex-row items-center gap-3">
<div className="flex flex-col sm:flex-row gap-12">
<div
gaya-fade="2"
className="flex overflow-hidden flex-1 max-h-[260px] justify-between relative flex-col gap-4 border dark:border-gray-600 p-4 rounded-md h-max"
>
<div className="flex flex-row items-center gap-3">
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke="#05B8BB"
strokeWidth="1"
strokeLinecap="round"
strokeLinejoin="round"
>
<polyline points="16 18 22 12 16 6"></polyline>
<polyline points="8 6 2 12 8 18"></polyline>
</svg>
<h3 className="text-lg font-medium">Web development</h3>
<h3 className="text-xl">Web development</h3>
</div>
<p gaya-fade="3">
I have experience in web development with React and Next.js, and I am
proficient in HTML, CSS, JavaScript, and TypeScript
</p>
</div>
<div className="flex flex-col gap-4">
<div gaya-fade="4" className="flex flex-row items-center gap-3">
<div
gaya-fade="4"
className="flex flex-1 flex-col max-h-[260px] overflow-hidden gap-4 border dark:border-gray-600 p-4 rounded-md"
>
<div className="flex flex-row items-center gap-3 flex-nowrap">
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke="#05B8BB"
strokeWidth="1"
strokeLinecap="round"
strokeLinejoin="round"
>
<polyline points="4 17 10 11 4 5"></polyline>
<line x1="12" x2="20" y1="19" y2="19"></line>
</svg>
<h3 className="text-lg font-medium">Other technologies</h3>
<h3 className="text-xl">Other technologies</h3>
</div>
<p gaya-fade="5">
Familiar with and frequent user of common software development tools, such as
Expand Down
136 changes: 136 additions & 0 deletions src/pages/projects/todooo.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,136 @@
import { projects } from '@/components/clientComponent/project-list';
import { Icon } from '@/components/custom-icons';
import RootLayout from '@/components/layouts/layout';
import CustomLink from '@/components/links/custom-link';
import Tooltipz from '@/components/tooltip';
import { insertSpaces } from '@/lib/helper';
import Image from 'next/image';
import { HiLink, HiUser } from 'react-icons/hi';
import { SiGithub } from 'react-icons/si';

const BurungBiru = () => {
const project = projects[2];
return (
<RootLayout pageTitle="BurungBiru | yogyy" content="Notflox, Project Portofolio">
<div className="h-full pt-16 layout">
<div className="h-full">
<Image
src={project.banner!}
alt={`Project ${project.description}`}
width={1440}
height={792}
/>
<h1 className="mt-4 dark:text-dark-primary">
{project.title}
<span className="text-xs"> (in development)</span>
</h1>
<p className="mt-2 text-sm text-gray-600 dark:text-gray-300">{project.description}</p>
<div className="flex flex-wrap items-center justify-start gap-3 mt-2 text-sm font-medium text-gray-600 dark:text-gray-300">
<div className="flex items-center gap-2">
<HiUser className="text-lg text-gray-800 dark:text-white" />
<p className="flex items-center justify-start gap-2 mt-2 text-sm text-gray-600 dark:text-gray-300">
{project.category}
</p>
</div>
<span>-</span>
<div className="inline-flex items-center gap-2">
<SiGithub className="text-lg text-gray-800 dark:text-white" />
<CustomLink href={project.github!} className="mt-1">
Repository
</CustomLink>
</div>
<span>-</span>
<div className="inline-flex items-center gap-2">
<HiLink className="text-lg text-gray-800 dark:text-white" />
<CustomLink href={project.url} className="mt-1">
Open Live Site
</CustomLink>
</div>
</div>
<hr className="mt-4 dark:border-gray-600" />
<section className="relative flex justify-between">
<div className="prose">
<div className="mt-4">
<h2 className="py-2 ml-4 dark:text-dark-primary">Short Explanation</h2>
<div className="mt-2 text-gray-600 dark:text-gray-300">
<p>
&emsp;As part of my introduction to web development, I&apos;ve built a basic
To-Do List app. This app enables users to input, update, and track their tasks
online. Through this project, I&apos;ve gained hands-on experience in HTML, CSS,
and JavaScript, setting the stage for more complex projects in the future.
</p>
</div>
</div>
<div className="max-w-2xl mt-4">
<h2 className="py-2 ml-4 dark:text-dark-primary">Project Goals</h2>
<p className="mt-2 text-gray-600 dark:text-gray-300 ">
&emsp;The goal of creating a to-do list app is to help users organize their tasks
and increase their productivity. A to-do list app can provide several benefits
such as creating order in one&apos;s life, prioritizing tasks, breaking down big
projects into manageable tasks, and reducing wastage of time.
</p>
</div>
<div className="max-w-2xl mt-4 text-gray-600 dark:text-gray-300">
<div className="py-2 ml-4">
<h2 className="py-2 ml-4 dark:text-dark-primary">Tech Stack Used </h2>
<div className="flex gap-2 text-xl">
{project.techs.map((tech: string, index: React.Key | null | undefined) => (
<Tooltipz
content={
<p className="text-light-primary dark:text-dark-accent">
{insertSpaces(tech)}
</p>
}
key={index}
className="group"
trigger={
<Icon
className="dark:group-focus:text-dark-accent group-focus:text-light-text hover:text-light-text dark:hover:text-dark-accent"
icon={tech}
/>
}
/>
))}
</div>
</div>
<div className="">
<p className="mt-2">
This project uses a range of technologies & libraries, including:
</p>
<ul className="list-disc ">
<li>
Next.js: Used as the main framework for building the project, providing
server-side rendering, easy routing, and optimized builds.
</li>
<li>
Tailwind CSS: Used as the main styling framework to rapidly build and style UI
components.
</li>
<li>Clerk: Used for Authentication.</li>
<li>
React Query: Used for data fetching and caching in a performant and
easy-to-use way.
</li>
<li>
TRPc: Used for write endpoints that can safely use in both the front and
backend of app.
</li>
<li>
Upstash: Used to prevent the frequency of an operation from exceeding a
defined limit and causing server errors.
</li>
</ul>
</div>
</div>
</div>
<aside className="relative">
<div className="fixed"></div>
</aside>
</section>
</div>
</div>
</RootLayout>
);
};

export default BurungBiru;
9 changes: 0 additions & 9 deletions src/styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,6 @@ body {
@apply text-gray-800 transition-colors bg-light-bg dark:bg-dark-bg dark:text-gray-300;
}

@font-face {
font-family: 'Virgil';
src: url('../../public/fonts/Virgil.woff2') format('woff2');
}

@layer base {
/* inter var - latin */

Expand Down Expand Up @@ -193,10 +188,6 @@ body {
fill: currentColor;
}

.font-doodle {
font-family: 'Virgil', sans-serif;
}

.projectcard img {
filter: brightness(40%);
transition: filter 0.5s ease-in-out;
Expand Down

1 comment on commit 6cf269b

@vercel
Copy link

@vercel vercel bot commented on 6cf269b Aug 2, 2023

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:

portofolio – ./

portofolio-yogyy.vercel.app
yogyy.vercel.app
portofolio-git-main-yogyy.vercel.app

Please sign in to comment.