1
1
mirror of https://github.com/theoludwig/theoludwig.git synced 2025-05-29 22:37:44 +02:00

Compare commits

...

52 Commits

Author SHA1 Message Date
b0a34c6162 fix: link styles with underline on hover 2021-06-10 00:17:52 +02:00
ea04f0f189 build(deps-dev): bump @types/react from 17.0.9 to 17.0.10 (#68) 2021-06-09 11:18:01 +02:00
1403cdf80c build(deps-dev): bump @typescript-eslint/eslint-plugin (#67) 2021-06-08 09:16:29 +02:00
40e676cfc7 build(deps-dev): bump @types/node from 15.12.1 to 15.12.2 (#66) 2021-06-08 09:16:12 +02:00
5f654020d5 build(deps-dev): bump @lhci/cli from 0.7.2 to 0.8.0 (#58) 2021-06-07 14:44:05 +02:00
a3ec87bf52 build(deps-dev): bump @types/node from 15.12.0 to 15.12.1 (#63) 2021-06-07 10:59:08 +02:00
88588355fd build(deps): bump @fontsource/montserrat from 4.4.2 to 4.4.5 (#64) 2021-06-07 10:58:15 +02:00
c329c56094 build(deps-dev): bump prettier from 2.3.0 to 2.3.1 (#65) 2021-06-07 10:57:58 +02:00
08a5454cf4 build(deps-dev): bump eslint from 7.27.0 to 7.28.0 (#62) 2021-06-07 10:57:38 +02:00
8faf47c06e build(deps-dev): bump @testing-library/jest-dom from 5.12.0 to 5.13.0 (#59) 2021-06-04 10:25:13 +02:00
d7f778de28 build(deps-dev): bump jest from 27.0.3 to 27.0.4 (#60) 2021-06-04 10:24:58 +02:00
cd3cc50e00 build(deps-dev): bump @types/node from 15.9.0 to 15.12.0 (#61) 2021-06-04 10:24:39 +02:00
755f2da03a build(deps-dev): bump @types/react from 17.0.8 to 17.0.9 (#54) 2021-06-04 09:29:48 +02:00
7ef9f79b97 build(deps): bump node from 16.2.0 to 16.3.0 (#57) 2021-06-04 09:25:00 +02:00
2c53a1409c build(deps-dev): bump @types/node from 15.6.1 to 15.9.0 (#55) 2021-06-03 10:54:28 +02:00
1e2d5c0f3e build(deps-dev): bump tailwindcss from 2.1.2 to 2.1.4 (#56) 2021-06-03 10:54:11 +02:00
6db7ed2f5e build(deps-dev): bump @typescript-eslint/eslint-plugin (#52) 2021-06-01 18:22:33 +02:00
9b8102cbdc ci: only one workflow (Divlo) 2021-05-31 15:04:17 +02:00
e0bc1fed49 build(deps): bump @fontsource/montserrat from 4.4.0 to 4.4.2 (#51) 2021-05-31 13:43:10 +02:00
c230f5bb51 build(deps-dev): bump eslint-plugin-import from 2.23.3 to 2.23.4 (#50) 2021-05-31 13:42:53 +02:00
6f4819b689 build(deps-dev): bump jest from 27.0.1 to 27.0.3 (#49) 2021-05-31 13:42:30 +02:00
fd67737754 build(deps-dev): bump babel-jest from 27.0.1 to 27.0.2 (#48) 2021-05-31 13:42:14 +02:00
6f94865917 build(deps): bump @fontsource/montserrat from 4.3.0 to 4.4.0 (#47) 2021-05-28 08:46:08 +02:00
1e4167e209 build(deps): bump actions/cache from 2.1.5 to 2.1.6 (#46) 2021-05-28 08:44:01 +02:00
655ed6f6f6 build(deps-dev): bump typescript from 4.2.4 to 4.3.2 (#45) 2021-05-27 10:23:19 +02:00
8fe73be90b build(deps): bump jest to 27.0.1 2021-05-26 18:54:09 +02:00
e925b73606 build(deps): bump next from 10.2.2 to 10.2.3 (#40) 2021-05-25 08:56:30 +02:00
b902b9a122 build(deps-dev): bump @typescript-eslint/eslint-plugin (#41) 2021-05-25 08:55:07 +02:00
1044302118 build(deps-dev): bump @types/node from 15.6.0 to 15.6.1 (#39) 2021-05-25 08:54:46 +02:00
df15232312 build(deps-dev): bump eslint-plugin-import from 2.23.2 to 2.23.3 (#36) 2021-05-24 11:30:29 +02:00
f5d273688d build(deps): bump next-translate from 1.0.6 to 1.0.7 (#37) 2021-05-24 11:30:08 +02:00
993dd1e30e build(deps-dev): bump @types/node from 15.3.1 to 15.6.0 (#38) 2021-05-24 11:29:36 +02:00
83f90e24c7 build(deps-dev): bump eslint from 7.26.0 to 7.27.0 (#35) 2021-05-24 11:29:24 +02:00
c3fd177ff5 build(deps-dev): bump postcss from 8.2.15 to 8.3.0 (#34) 2021-05-21 09:34:40 +02:00
c5f8b4fb13 build(deps): bump node from 16.1.0 to 16.2.0 (#31) 2021-05-20 11:14:07 +02:00
a4e48de57e build(deps-dev): bump @types/node from 15.3.0 to 15.3.1 (#32) 2021-05-20 11:13:37 +02:00
e3aa2a4d50 build(deps): bump next from 10.2.0 to 10.2.2 (#33) 2021-05-20 11:13:11 +02:00
88c44ed31f build(deps-dev): bump @types/react from 17.0.5 to 17.0.6 (#30) 2021-05-19 10:26:33 +02:00
d3d1ca7beb build(deps-dev): bump @typescript-eslint/eslint-plugin (#29) 2021-05-18 09:17:15 +02:00
8d758bc1d7 build(deps-dev): bump @types/node from 15.0.3 to 15.3.0 (#26) 2021-05-17 15:55:05 +02:00
34b5f123b4 build(deps-dev): bump eslint-plugin-import from 2.23.0 to 2.23.2 (#27) 2021-05-17 15:54:48 +02:00
809f4612b5 build(deps-dev): bump @testing-library/react from 11.2.6 to 11.2.7 (#28) 2021-05-17 15:54:32 +02:00
1f48f7a296 build(deps-dev): bump eslint-plugin-import from 2.22.1 to 2.23.0 (#25) 2021-05-14 11:18:23 +02:00
56258dc06b build(deps-dev): bump @commitlint/cli to 12.1.4 (#21) 2021-05-13 13:38:13 +02:00
3fea7d48f6 build(deps-dev): bump @types/node from 15.0.2 to 15.0.3 (#22) 2021-05-13 13:36:12 +02:00
f49ca1f4f2 build(deps-dev): bump @commitlint/config-conventional (#23) 2021-05-13 13:36:00 +02:00
e9d9139263 build(deps-dev): bump semantic-release from 17.4.2 to 17.4.3 (#24) 2021-05-13 13:35:49 +02:00
98e7987b04 build(deps): bump actions/checkout from 2 to 2.3.4 (#20) 2021-05-13 13:35:37 +02:00
4dc145fe75 build(deps-dev): bump prettier from 2.2.1 to 2.3.0 (#17) 2021-05-11 18:33:41 +02:00
c8b12cd618 build(deps-dev): bump @typescript-eslint/eslint-plugin (#18) 2021-05-11 18:25:24 +02:00
97cf63f643 build(deps-dev): bump postcss from 8.2.14 to 8.2.15 (#19) 2021-05-11 18:25:12 +02:00
cd20e25082 fix: update content 2021-05-08 21:09:03 +02:00
17 changed files with 4191 additions and 8275 deletions

View File

@ -7,32 +7,120 @@ on:
branches: [master]
jobs:
ci:
analyze:
name: 'Analyze'
runs-on: 'ubuntu-latest'
strategy:
matrix:
node-version: [14.x]
steps:
- uses: 'actions/checkout@v2'
- name: Use Node.js ${{ matrix.node-version }}
strategy:
fail-fast: false
matrix:
language: ['javascript']
steps:
- uses: 'actions/checkout@v2.3.4'
- name: 'Initialize CodeQL'
uses: 'github/codeql-action/init@v1'
with:
languages: ${{ matrix.language }}
- name: 'Perform CodeQL Analysis'
uses: 'github/codeql-action/analyze@v1'
lint:
runs-on: 'ubuntu-latest'
steps:
- uses: 'actions/checkout@v2.3.4'
- name: 'Use Node.js'
uses: 'actions/setup-node@v2.1.5'
with:
node-version: ${{ matrix.node-version }}
node-version: '14.x'
- name: 'Cache dependencies'
uses: 'actions/cache@v2.1.5'
uses: 'actions/cache@v2.1.6'
with:
path: '.npm'
key: ${{ runner.os }}-${{ hashFiles('**/package-lock.json') }}
- run: 'npm install --global npm@7'
- run: 'npm ci --cache .npm --prefer-offline'
- name: 'Install'
run: 'npm ci --cache .npm --prefer-offline'
- run: 'npm run lint:commit -- --to "${{ github.sha }}"'
- run: 'npm run lint:docker'
- run: 'npm run lint:editorconfig'
- run: 'npm run lint:markdown'
- run: 'npm run lint:typescript'
- run: 'npm run build'
- run: 'npm run lighthouse'
- run: 'npm run test'
build:
runs-on: 'ubuntu-latest'
steps:
- uses: 'actions/checkout@v2.3.4'
- name: 'Use Node.js'
uses: 'actions/setup-node@v2.1.5'
with:
node-version: '14.x'
- name: 'Cache dependencies'
uses: 'actions/cache@v2.1.6'
with:
path: '.npm'
key: ${{ runner.os }}-${{ hashFiles('**/package-lock.json') }}
- name: 'Install'
run: 'npm ci --cache .npm --prefer-offline'
- name: 'Build'
run: 'npm run build'
- name: 'Lighthouse'
run: 'npm run lighthouse'
test:
runs-on: 'ubuntu-latest'
steps:
- uses: 'actions/checkout@v2.3.4'
- name: 'Use Node.js'
uses: 'actions/setup-node@v2.1.5'
with:
node-version: '14.x'
- name: 'Cache dependencies'
uses: 'actions/cache@v2.1.6'
with:
path: '.npm'
key: ${{ runner.os }}-${{ hashFiles('**/package-lock.json') }}
- name: 'Install'
run: 'npm ci --cache .npm --prefer-offline'
- name: 'Test'
run: 'npm run test'
release:
if: github.ref == 'refs/heads/master' && github.event_name == 'push'
needs: [analyze, lint, build, test]
runs-on: 'ubuntu-latest'
steps:
- uses: 'actions/checkout@v2.3.4'
- name: 'Use Node.js'
uses: 'actions/setup-node@v2.1.5'
with:
node-version: '14.x'
- name: 'Cache dependencies'
uses: 'actions/cache@v2.1.6'
with:
path: '.npm'
key: ${{ runner.os }}-${{ hashFiles('**/package-lock.json') }}
- name: 'Install'
run: 'npm ci --cache .npm --prefer-offline'
- name: 'Release'
run: 'npm run release'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@ -1,28 +0,0 @@
name: 'CodeQL'
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
analyze:
name: 'Analyze'
runs-on: 'ubuntu-latest'
strategy:
fail-fast: false
matrix:
language: ['javascript']
steps:
- uses: 'actions/checkout@v2'
- name: 'Initialize CodeQL'
uses: 'github/codeql-action/init@v1'
with:
languages: ${{ matrix.language }}
- name: 'Perform CodeQL Analysis'
uses: 'github/codeql-action/analyze@v1'

View File

@ -1,34 +0,0 @@
name: 'Release'
on:
workflow_run:
workflows: [Divlo]
branches: [master]
types:
- 'completed'
jobs:
release:
runs-on: 'ubuntu-latest'
strategy:
matrix:
node-version: [14.x]
steps:
- uses: 'actions/checkout@v2'
- name: Use Node.js ${{ matrix.node-version }}
uses: 'actions/setup-node@v2.1.5'
with:
node-version: ${{ matrix.node-version }}
- name: 'Cache dependencies'
uses: 'actions/cache@v2.1.5'
with:
path: '.npm'
key: ${{ runner.os }}-${{ hashFiles('**/package-lock.json') }}
- run: 'npm install --global npm@7'
- run: 'npm ci --cache .npm --prefer-offline'
- run: 'npm run release'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@ -13,6 +13,7 @@
"legacy-javascript": "off",
"unused-javascript": "off",
"uses-rel-preload": "off",
"csp-xss": "off",
"canonical": "off",
"unsized-images": "off",
"uses-responsive-images": "off",

View File

@ -1,4 +1,5 @@
{
"branches": ["master"],
"plugins": [
[
"@semantic-release/commit-analyzer",
@ -6,7 +7,12 @@
"preset": "conventionalcommits"
}
],
[
"@semantic-release/release-notes-generator",
{
"preset": "conventionalcommits"
}
],
"@semantic-release/github"
]
}

View File

@ -1,4 +1,4 @@
FROM node:16.1.0
FROM node:16.3.0
WORKDIR /usr/src/app
RUN chown --recursive node:node /usr/src/app

View File

@ -15,7 +15,7 @@ export const InterestParagraph: React.FC<InterestParagraphProps> = (props) => {
{title}
</strong>
<br />
<span className='paragraph-color'>{htmlParser(description)}</span>
<span>{htmlParser(description)}</span>
</p>
</>
)

View File

@ -2,7 +2,7 @@ import Translation from 'next-translate/Trans'
export const ProfileDescriptionBottom: React.FC = () => {
return (
<p className='block mt-8 mb-0 font-normal text-base text-gray dark:text-gray-dark'>
<p className='mt-8 mb-8 font-normal text-base text-gray dark:text-gray-dark'>
<Translation
i18nKey='home:about.descriptionBottom'
components={[<br key='break' />]}

View File

@ -15,7 +15,10 @@ export const ProfileItem: React.FC<ProfileItemProps> = (props) => {
</strong>
<span className='profile-list__item-info text-gray dark:text-gray-dark'>
{link != null ? (
<a className='text-gray dark:text-gray-dark' href={link}>
<a
className='text-gray dark:text-gray-dark hover:underline'
href={link}
>
{value}
</a>
) : (

View File

@ -7,7 +7,7 @@ import { EmailIcon } from './SocialMediaIcons/EmailIcon'
export const SocialMediaList: React.FC = () => {
return (
<ul className='social-media-list m-0 p-0 list-none text-center mt-2 px-0 py-4'>
<ul className='social-media-list m-0 mt-2 py-4 list-none text-center'>
<SocialMediaItem link='https://twitter.com/Divlo_FR' ariaLabel='Twitter'>
<TwitterIcon />
</SocialMediaItem>

View File

@ -5,9 +5,9 @@ import { ProfileLogo } from './ProfileLogo'
export const Profile: React.FC = () => {
return (
<div className='flex flex-col justify-center items-center px-10 pt-2 pb-6 md:pt-10 xl:pt-0 md:flex-row'>
<div className='flex flex-col justify-center items-center px-10 pt-2 md:pt-10 xl:pt-0 md:flex-row'>
<ProfileLogo />
<div className='col-sm-24 col-md-14'>
<div>
<ProfileInfo />
<ProfileList />
<ProfileDescriptionBottom />

View File

@ -9,7 +9,7 @@ export const ShadowContainer: React.FC<ShadowContainerProps> = (props) => {
<>
<div
className={classNames(
'shadow-container flex flex-col h-full max-w-full break-words',
'shadow-container h-full max-w-full break-words',
className
)}
{...rest}

View File

@ -5,6 +5,7 @@ module.exports = {
},
moduleDirectories: ['node_modules', './'],
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'],
testEnvironment: 'jsdom',
setupFilesAfterEnv: [
'@testing-library/jest-dom/extend-expect',
'@testing-library/react'

View File

@ -4,22 +4,22 @@
"description": "Developer Full Stack Junior • Passionate about High-Tech",
"birthDate": "Birth date",
"nationality": "Nationality",
"descriptionBottom": "I'm learning online programming languages to improve my skills in my passion. <0/> <0/> I designed my graphic chart and my website."
"descriptionBottom": "I am self-taught in Computer Science by following online trainings. <0/> <0/> I put into practice everything I learn and make many projects."
},
"interests": {
"title": "My Interests",
"paragraphs": [
{
"title": "Developer Full Stack Junior :",
"description": "Computer programming is my main passion, I love it! <br/> Mostly web development for the moment but I'm programming some Python and others programming language too."
"description": "Computer programming is my main hobby, I love it! <br/> Mostly web development for the moment but I'm programming some Python and others programming language too."
},
{
"title": "Passionate about High-Tech :",
"description": "I always wondered how the future would be. Every day I want to wake up and think that the future will be great and even better than the past. Technologies improve gradually over time, which is very useful in many areas."
"description": "I always wondered how the future would be. Every day I want to wake up and think that the future will be great and better than the past. Technologies improve gradually over time, which is very useful in many areas."
},
{
"title": "Open-Source enthusiast :",
"description": "For me, everyone should work, solve problems, build things and think together. Long live open source, whenever you can share your work, do it! <br/> The website is open-source on <a href='https://github.com/Divlo/Divlo' target='_blank' rel='noopener noreferrer'>github</a>."
"description": "For me, everyone should work, solve problems, build things and think together. Long live open source, whenever you can share your work, do it! <br/> The website is open-source on <a class='text-yellow dark:text-yellow-dark hover:underline' href='https://github.com/Divlo/Divlo' target='_blank' rel='noopener noreferrer'>github</a>."
}
]
},

View File

@ -4,22 +4,22 @@
"description": "Développeur Full Stack Junior • Passionné de High-Tech",
"birthDate": "Date de naissance",
"nationality": "Nationalité",
"descriptionBottom": "J'apprends en ligne l'informatique et les langages de programmation pour m'améliorer dans ma passion. <0/> <0/> J'ai conçu ma charte graphique et mon site internet."
"descriptionBottom": "Je me forme en autodidacte dans l'informatique en suivant des formations en ligne. <0/> <0/> Je mets en pratique tout ce que j'apprends et réalise de nombreux projets."
},
"interests": {
"title": "Mes intérêts",
"paragraphs": [
{
"title": "Développeur Full Stack Junior :",
"description": "La programmation informatique est ma principale passion, j'adore! <br/> Principalement du développement Web pour le moment, mais je programme aussi du Python et d'autres langages de programmation."
"description": "La programmation informatique est mon loisir principal, j'adore! <br/> Principalement du développement Web pour le moment, mais je programme aussi du Python et d'autres langages de programmation."
},
{
"title": "Passionné de High-Tech :",
"description": "Je me suis toujours demandé comment l'avenir serait. Chaque jour, je veux me réveiller et penser que l'avenir sera formidable et même meilleur que le passé. Les technolgies s'améliorent progressivement avec le temps, ce qui est très utile dans de nombreux domaines."
"description": "Je me suis toujours demandé comment l'avenir serait. Chaque jour, je veux me réveiller et penser que l'avenir sera formidable et meilleur que le passé. Les technolgies s'améliorent progressivement avec le temps, ce qui est très utile dans de nombreux domaines."
},
{
"title": "Enthousiaste de l'Open-Source :",
"description": "Pour moi, tout le monde devrait travailler, résoudre des problèmes, construire des choses et réfléchir ensemble. Longue vie à l'open-source, chaque fois que vous pouvez partagez votre travail, faites-le! <br/> Le site est open-source sur <a href='https://github.com/Divlo/Divlo' target='_blank' rel='noopener noreferrer'>github</a>."
"description": "Pour moi, tout le monde devrait travailler, résoudre des problèmes, construire des choses et réfléchir ensemble. Longue vie à l'open-source, chaque fois que vous pouvez partagez votre travail, faites-le! <br/> Le site est open-source sur <a class='text-yellow dark:text-yellow-dark hover:underline' href='https://github.com/Divlo/Divlo' target='_blank' rel='noopener noreferrer'>github</a>."
}
]
},

12195
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -23,51 +23,51 @@
"postinstall": "husky install"
},
"dependencies": {
"@fontsource/montserrat": "4.3.0",
"@fontsource/montserrat": "4.4.5",
"@fortawesome/fontawesome-svg-core": "1.2.35",
"@fortawesome/free-brands-svg-icons": "5.15.3",
"@fortawesome/free-solid-svg-icons": "5.15.3",
"@fortawesome/react-fontawesome": "0.1.14",
"classnames": "2.3.1",
"html-react-parser": "1.2.6",
"next": "10.2.0",
"next": "10.2.3",
"next-pwa": "5.2.21",
"next-themes": "0.0.14",
"next-translate": "1.0.6",
"next-translate": "1.0.7",
"react": "17.0.2",
"react-dom": "17.0.2",
"universal-cookie": "4.0.4"
},
"devDependencies": {
"@commitlint/cli": "12.1.1",
"@commitlint/config-conventional": "12.1.1",
"@lhci/cli": "0.7.2",
"@testing-library/jest-dom": "5.12.0",
"@testing-library/react": "11.2.6",
"@commitlint/cli": "12.1.4",
"@commitlint/config-conventional": "12.1.4",
"@lhci/cli": "0.8.0",
"@testing-library/jest-dom": "5.13.0",
"@testing-library/react": "11.2.7",
"@types/jest": "26.0.23",
"@types/node": "15.0.2",
"@types/react": "17.0.5",
"@types/node": "15.12.2",
"@types/react": "17.0.11",
"@types/styled-jsx": "2.2.8",
"@typescript-eslint/eslint-plugin": "4.22.1",
"autoprefixer": "10.2.5",
"babel-jest": "26.6.3",
"@typescript-eslint/eslint-plugin": "4.26.1",
"autoprefixer": "10.2.6",
"babel-jest": "27.0.2",
"dockerfilelint": "1.8.0",
"editorconfig-checker": "4.0.2",
"eslint": "7.26.0",
"eslint": "7.28.0",
"eslint-config-prettier": "8.3.0",
"eslint-config-standard-with-typescript": "20.0.0",
"eslint-plugin-import": "2.22.1",
"eslint-plugin-import": "2.23.4",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-prettier": "3.4.0",
"eslint-plugin-promise": "4.3.1",
"eslint-plugin-promise": "5.1.0",
"husky": "6.0.0",
"jest": "26.6.3",
"jest": "27.0.4",
"lint-staged": "11.0.0",
"markdownlint-cli": "0.27.1",
"postcss": "8.2.14",
"prettier": "2.2.1",
"semantic-release": "17.4.2",
"tailwindcss": "2.1.2",
"typescript": "4.2.4"
"postcss": "8.3.0",
"prettier": "2.3.1",
"semantic-release": "17.4.3",
"tailwindcss": "2.1.4",
"typescript": "4.3.2"
}
}