Skip to content

Commit

Permalink
chore: restructure project files
Browse files Browse the repository at this point in the history
  • Loading branch information
shahriarshafin committed Nov 13, 2024
1 parent ed3c2de commit 431bbc9
Show file tree
Hide file tree
Showing 124 changed files with 2,351 additions and 11,535 deletions.
6 changes: 1 addition & 5 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,5 +1 @@
GITHUB_ID=
GITHUB_SECRET=
NEXTAUTH_URL=
JWT_SECRET=
DATABASE_URL=
NEXT_PUBLIC_GA_TRACKING_ID=
11 changes: 11 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
cache
.cache
public
CHANGELOG.md
.yarn
dist
node_modules
.next
build
.contentlayer
migrations
12 changes: 12 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"singleQuote": true,
"arrowParens": "always",
"trailingComma": "none",
"printWidth": 100,
"tabWidth": 2,
"endOfLine": "lf",
"plugins": ["@trivago/prettier-plugin-sort-imports", "prettier-plugin-tailwindcss"],
"importOrder": ["^@core/(.*)$", "^@server/(.*)$", "^@ui/(.*)$", "^[./]"],
"importOrderSeparation": true,
"importOrderSortSpecifiers": true
}
12 changes: 12 additions & 0 deletions app/ robots.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import { BASE_URL } from '@/lib/constants';

export default function robots() {
return {
rules: {
userAgent: '*',
allow: '/'
},
sitemap: `${BASE_URL}/sitemap.xml`,
host: BASE_URL
};
}
47 changes: 47 additions & 0 deletions app/about/page.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
import EduCard from '../../components/educard';
import Heading from '../../components/heading';
import SkillCap from '../../components/skill-cap';
import { companies, institutions } from '../data/data';
import { skills } from '../data/skills';

export const metadata = {
title: 'About',
description:
"Discover Shahriar Shafin's journey in web development, from his foundational education in Computer Science to his professional experience as a software engineer. Skilled in technologies like JavaScript, React, Next.js, and more."
};

export default function About() {
return (
<>
<section>
<Heading text={'Tech Stack'} />

<div className="mt-3 flex w-full flex-wrap gap-4 lg:px-5">
{skills.map((item) => (
<SkillCap key={item.id} {...item} />
))}
</div>
</section>

<section>
<Heading text={'Career'} />

<div className="mt-3 space-y-4 lg:px-5">
{companies.map((edu) => (
<EduCard key={edu.id} {...edu} />
))}
</div>
</section>

<section>
<Heading text={'Education'} />

<div className="mt-3 space-y-4 lg:px-5">
{institutions.map((edu) => (
<EduCard key={edu.id} {...edu} />
))}
</div>
</section>
</>
);
}
89 changes: 89 additions & 0 deletions app/data/data.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
import { FaDribbble, FaGithub, FaLinkedin, FaRegEnvelope } from 'react-icons/fa';

export const featuredRepositories = [
'myportfolio',
'shahriarshafin',
'nodemcu-esp8266-fake-sign-in',
'face-hand-tracker'
];

export const companies = [
{
id: 1,
institution: 'Wander Woman',
logo: '/images/companies/wander-woman.png',
degree: 'Software Engineer',
startDate: 'Sep 2024',
endDate: 'Present'
},
{
id: 2,
institution: 'Taskeasy Technologies',
logo: '/images/companies/taskeasy.png',
degree: 'Junior Software Engineer',
startDate: 'Apr 2023',
endDate: 'Sep 2024'
},
{
id: 3,
institution: 'Pridesys IT Limited',
logo: '/images/companies/pridesys.png',
degree: 'Software Engineer - Intern',
startDate: 'Aug 2022',
endDate: 'Nov 2022'
}
];

export const institutions = [
{
id: 1,
institution: 'University of Asia Pacific',
logo: '/images/institutions/uap.png',
degree: 'Bachelor of Science, Computer Science & Engineering (CSE)',
startDate: '2018',
endDate: '2022'
}
// {
// id: 2,
// institution: 'Cantonment Public School & College, BUSMS',
// logo: '/images/institutions/busms.png',
// degree: 'Higher Secondary Certificate, Science',
// startDate: '2016',
// endDate: '2018',
// },
// {
// id: 3,
// institution: 'Cantonment Public School & College, Saidpur',
// logo: '/images/institutions/cpscs.png',
// degree: 'Secondary School Certificate, Science',
// startDate: '2014',
// endDate: '2016',
// },
];

export const socialMedia = [
{
id: 1,
label: 'Github',
icon: <FaGithub />,
url: 'https://github.com/shahriarshafin'
},
{
id: 2,
label: 'Linkedin',
icon: <FaLinkedin />,
url: 'https://www.linkedin.com/in/shahriarshafin/'
},
{
id: 3,
label: 'Dribbble',
icon: <FaDribbble />,
url: 'https://dribbble.com/shahriarshafin'
},
{
id: 4,
label: 'Mail to Shafin',
icon: <FaRegEnvelope />,
url: 'mailto:[email protected]'
}
];
72 changes: 72 additions & 0 deletions app/data/greetings.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
export const greetingList = [
{
key: 1,
text: 'こんにちは',
lang: 'Japanese'
},
{
key: 2,
text: 'Hello',
lang: 'English'
},
{
key: 3,
text: 'হ্যালো',
lang: 'Bangla'
},
{
key: 4,
text: 'नमस्ते',
lang: 'Hindi'
},
{
key: 5,
text: 'السلام عليكم',
lang: 'Arabic'
},
{
key: 6,
text: '你好',
lang: 'Chinese'
},
{
key: 7,
text: 'Hola',
lang: 'Spanish'
},
{
key: 8,
text: 'Bonjour',
lang: 'French'
},
{
key: 9,
text: 'Ciao',
lang: 'Italian'
},
{
key: 10,
text: '안녕하세요',
lang: 'Korean'
},
{
key: 11,
text: 'Olá',
lang: 'Portuguese'
},
{
key: 12,
text: 'Guten Tag',
lang: 'German'
},
{
key: 13,
text: 'Merhaba',
lang: 'Turkish'
},
{
key: 14,
text: 'Привет',
lang: 'Russian'
}
];
5 changes: 5 additions & 0 deletions app/data/highlights.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
export const highlightList = [
{ id: 1, text: 'Deep dive into the Web.3' },
{ id: 2, text: 'Learn Skateboard Tricks!' },
{ id: 3, text: 'Contribute to Open Source projects' }
];
Loading

0 comments on commit 431bbc9

Please sign in to comment.