mirror of
https://github.com/NohamR/gitprofile.git
synced 2026-05-25 04:17:13 +00:00
Migrate to TypeScript
This commit is contained in:
219
gitprofile.config.ts
Normal file
219
gitprofile.config.ts
Normal file
@@ -0,0 +1,219 @@
|
||||
// gitprofile.config.ts
|
||||
|
||||
const CONFIG = {
|
||||
github: {
|
||||
username: 'arifszn', // Your GitHub org/user name. (This is the only required config)
|
||||
},
|
||||
/**
|
||||
* If you are deploying to https://<USERNAME>.github.io/, for example your repository is at https://github.com/arifszn, set base to '/'.
|
||||
* If you are deploying to https://<USERNAME>.github.io/<REPO_NAME>/,
|
||||
* for example your repository is at https://github.com/arifszn/example, then set base to '/example/'.
|
||||
*/
|
||||
base: '/gitprofile/',
|
||||
projects: {
|
||||
github: {
|
||||
display: true, // Display GitHub projects?
|
||||
header: 'Github Projects',
|
||||
mode: 'automatic', // Mode can be: 'automatic' or 'manual'
|
||||
automatic: {
|
||||
sortBy: 'stars', // Sort projects by 'stars' or 'updated'
|
||||
limit: 8, // How many projects to display.
|
||||
exclude: {
|
||||
forks: false, // Forked projects will not be displayed if set to true.
|
||||
projects: [], // These projects will not be displayed. example: ['arifszn/my-project1', 'arifszn/my-project2']
|
||||
},
|
||||
},
|
||||
manual: {
|
||||
// Properties for manually specifying projects
|
||||
projects: ['arifszn/gitprofile'], // List of repository names to display. example: ['arifszn/my-project1', 'arifszn/my-project2']
|
||||
},
|
||||
},
|
||||
external: {
|
||||
header: 'My Projects',
|
||||
// To hide the `External Projects` section, keep it empty.
|
||||
projects: [
|
||||
{
|
||||
title: 'Project Name',
|
||||
description:
|
||||
'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed euismod, nunc ut.',
|
||||
imageUrl:
|
||||
'https://img.freepik.com/free-vector/illustration-gallery-icon_53876-27002.jpg',
|
||||
link: 'https://example.com',
|
||||
},
|
||||
{
|
||||
title: 'Project Name',
|
||||
description:
|
||||
'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed euismod, nunc ut.',
|
||||
imageUrl:
|
||||
'https://img.freepik.com/free-vector/illustration-gallery-icon_53876-27002.jpg',
|
||||
link: 'https://example.com',
|
||||
},
|
||||
],
|
||||
},
|
||||
},
|
||||
seo: {
|
||||
title: 'Portfolio of Ariful Alam',
|
||||
description: '',
|
||||
imageURL: '',
|
||||
},
|
||||
social: {
|
||||
linkedin: 'ariful-alam',
|
||||
twitter: 'arif_szn',
|
||||
mastodon: 'arifszn@mastodon.social',
|
||||
facebook: '',
|
||||
instagram: '',
|
||||
youtube: '', // example: 'pewdiepie'
|
||||
dribbble: '',
|
||||
behance: '',
|
||||
medium: 'arifszn',
|
||||
dev: 'arifszn',
|
||||
stackoverflow: '', // example: '1/jeff-atwood'
|
||||
skype: '',
|
||||
telegram: '',
|
||||
website: 'https://www.arifszn.com',
|
||||
phone: '',
|
||||
email: 'arifulalamszn@gmail.com',
|
||||
},
|
||||
resume: {
|
||||
fileUrl:
|
||||
'https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf', // Empty fileUrl will hide the `Download Resume` button.
|
||||
},
|
||||
skills: [
|
||||
'PHP',
|
||||
'Laravel',
|
||||
'JavaScript',
|
||||
'React.js',
|
||||
'Node.js',
|
||||
'Nest.js',
|
||||
'MySQL',
|
||||
'PostgreSQL',
|
||||
'Git',
|
||||
'Docker',
|
||||
'PHPUnit',
|
||||
'CSS',
|
||||
'Antd',
|
||||
'Tailwind',
|
||||
],
|
||||
experiences: [
|
||||
{
|
||||
company: 'Company Name',
|
||||
position: 'Position',
|
||||
from: 'September 2021',
|
||||
to: 'Present',
|
||||
companyLink: 'https://example.com',
|
||||
},
|
||||
{
|
||||
company: 'Company Name',
|
||||
position: 'Position',
|
||||
from: 'July 2019',
|
||||
to: 'August 2021',
|
||||
companyLink: 'https://example.com',
|
||||
},
|
||||
],
|
||||
certifications: [
|
||||
{
|
||||
name: 'Lorem ipsum',
|
||||
body: 'Lorem ipsum dolor sit amet',
|
||||
year: 'March 2022',
|
||||
link: 'https://example.com',
|
||||
},
|
||||
],
|
||||
educations: [
|
||||
{
|
||||
institution: 'Institution Name',
|
||||
degree: 'Degree',
|
||||
from: '2015',
|
||||
to: '2019',
|
||||
},
|
||||
{
|
||||
institution: 'Institution Name',
|
||||
degree: 'Degree',
|
||||
from: '2012',
|
||||
to: '2014',
|
||||
},
|
||||
],
|
||||
// Display articles from your medium or dev account. (Optional)
|
||||
blog: {
|
||||
source: 'dev', // medium | dev
|
||||
username: 'arifszn', // to hide blog section, keep it empty
|
||||
limit: 3, // How many articles to display. Max is 10.
|
||||
},
|
||||
googleAnalytics: {
|
||||
id: '', // GA3 tracking id/GA4 tag id UA-XXXXXXXXX-X | G-XXXXXXXXXX
|
||||
},
|
||||
// Track visitor interaction and behavior. https://www.hotjar.com
|
||||
hotjar: {
|
||||
id: '',
|
||||
snippetVersion: 6,
|
||||
},
|
||||
themeConfig: {
|
||||
defaultTheme: 'wireframe',
|
||||
|
||||
// Hides the switch in the navbar
|
||||
// Useful if you want to support a single color mode
|
||||
disableSwitch: false,
|
||||
|
||||
// Should use the prefers-color-scheme media-query,
|
||||
// using user system preferences, instead of the hardcoded defaultTheme
|
||||
respectPrefersColorScheme: false,
|
||||
|
||||
// Display the ring in Profile picture
|
||||
displayAvatarRing: true,
|
||||
|
||||
// Available themes. To remove any theme, exclude from here.
|
||||
themes: [
|
||||
'light',
|
||||
'dark',
|
||||
'cupcake',
|
||||
'bumblebee',
|
||||
'emerald',
|
||||
'corporate',
|
||||
'synthwave',
|
||||
'retro',
|
||||
'cyberpunk',
|
||||
'valentine',
|
||||
'halloween',
|
||||
'garden',
|
||||
'forest',
|
||||
'aqua',
|
||||
'lofi',
|
||||
'pastel',
|
||||
'fantasy',
|
||||
'wireframe',
|
||||
'black',
|
||||
'luxury',
|
||||
'dracula',
|
||||
'cmyk',
|
||||
'autumn',
|
||||
'business',
|
||||
'acid',
|
||||
'lemonade',
|
||||
'night',
|
||||
'coffee',
|
||||
'winter',
|
||||
'procyon',
|
||||
],
|
||||
|
||||
// Custom theme, applied to `procyon` theme
|
||||
customTheme: {
|
||||
primary: '#fc055b',
|
||||
secondary: '#219aaf',
|
||||
accent: '#e8d03a',
|
||||
neutral: '#2A2730',
|
||||
'base-100': '#E3E3ED',
|
||||
'--rounded-box': '3rem',
|
||||
'--rounded-btn': '3rem',
|
||||
},
|
||||
},
|
||||
|
||||
// Optional Footer. Supports plain text or HTML.
|
||||
footer: `Made with <a
|
||||
class="text-primary" href="https://github.com/arifszn/gitprofile"
|
||||
target="_blank"
|
||||
rel="noreferrer"
|
||||
>GitProfile</a> and ❤️`,
|
||||
|
||||
enablePWA: true,
|
||||
};
|
||||
|
||||
export default CONFIG;
|
||||
Reference in New Issue
Block a user