Skip to content

Instantly share code, notes, and snippets.

View olygood's full-sized avatar

olivier huttmacher olygood

  • Liege
View GitHub Profile
@olygood
olygood / globals.css
Created March 25, 2024 08:29
globals de nextjs
@tailwind base;
@tailwind components;
@tailwind utilities;
//COLORS-----------------------------------
:root {
--color-red: #ef7b7b;
--color-jellow: #fcf3ca;
--color-green: #c4eada;
/* --color-grey: #919190; */
@olygood
olygood / all.json
Created November 28, 2023 14:56
tout les fichiers .json ici
//configure json et explication
//package.json
//ext: s'occupe des fichiers .js et .json si il change relance le server nodemon
//watch s'occupe des dossier
"nodemonConfig": {
"verbose": true,
"watch": ["src", "config"],
"ext": "js,json",
"scripts": {
"start": "nodemon your_main_file.js",
@olygood
olygood / tailwindcss.txt
Created September 19, 2023 16:36
tailwindcss
/ Install Tailwind CSS
/ Install tailwindcss and its peer dependencies, then generate your tailwind.config.js and postcss.config.js files.
npm install -D tailwindcss postcss autoprefixer
npx tailwindcss init -p
/ Configure your template paths
/ Add the paths to all of your template files in your tailwind.config.js file.
tailwind.config.js
{
"compilerOptions": {
"target": "ES2020",
"useDefineForClassFields": true,
"lib": ["ES2020", "DOM", "DOM.Iterable"],
"module": "ESNext",
"skipLibCheck": true,
/* Bundler mode */
"moduleResolution": "bundler",
{
"compilerOptions": {
"composite": true,
"skipLibCheck": true,
"module": "ESNext",
"moduleResolution": "bundler",
"allowSyntheticDefaultImports": true
},
"include": ["vite.config.ts"]
}
@olygood
olygood / README.md
Last active August 14, 2023 08:42
all readme learn writer

Twitter App

Bienvenue dans ce workshop pour la création d'une mini app Twitter. Cette application va nous permettre d'utiliser :

  • zod
  • react-query
  • next

Pré-requis

@olygood
olygood / postcss.config.js
Last active August 14, 2023 08:27
all.config //tailwind, vite etc....config.js
export default {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
}
@olygood
olygood / cv.json
Last active August 14, 2023 09:13
json files
{
"présentation":{
"nom": "",
"prénom": "",
"fonction": "WebDeveloper",
"date-naissance": "29 janvier 1975",
"residant": "Liège, Belgique"
},
"reseaux":{
"nom": "",
@olygood
olygood / reactLink.jsx
Last active August 14, 2023 09:12
react Link
@olygood
olygood / ghPages.text
Created August 16, 2022 16:05
gh-pages
npm install gh-pages --save-dev
package.json :
"homepage": "http://olygood.github.io/cardReact",
"scripts": {
"predeploy": "npm run build",
"deploy": "gh-pages -d build"
}
npm run deploy
aller sur gihub, repos, settings, pages, branch, gh-pages