Skip to content

Commit

Permalink
refactor: ♻️ Update project name and description in makefile and pack…
Browse files Browse the repository at this point in the history
…age.json
  • Loading branch information
edwinhern committed May 15, 2024
1 parent 761a44d commit 9a937f3
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 48 deletions.
2 changes: 1 addition & 1 deletion makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Makefile for building, running, and shutting down a Docker container for a Next.js portfolio

# Variables
PROJECT_NAME := nextjs-portfolio
PROJECT_NAME := nextjs-portfolio-v2
DOCKER_IMAGE := $(PROJECT_NAME):latest
DOCKER_DEV_IMAGE := $(PROJECT_NAME)-dev:latest
CONTAINER_NAME := $(PROJECT_NAME)-container
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "edwin-portfolio",
"name": "edwin-portfolio-v2",
"version": "0.6.0",
"description": "My personal portfolio website",
"description": "My personal portfolio website, version 2.0",
"private": true,
"scripts": {
"dev": "next dev",
Expand Down
2 changes: 1 addition & 1 deletion src/config/site.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const siteConfig = {
name: 'Edwin Hernandez',
opImage: '/og-image.png',
siteTitle: 'edwinhern',
url: new URL('https://edwinhern.vercel.app'),
url: new URL('https://edwinhern.com'),
};

export type SiteConfig = typeof siteConfig;
88 changes: 44 additions & 44 deletions tailwind.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@ import type { Config } from 'tailwindcss';
const { default: flattenColorPalette } = require('tailwindcss/lib/util/flattenColorPalette');

const config = {
darkMode: ['class'],
content: ['./pages/**/*.{ts,tsx}', './components/**/*.{ts,tsx}', './app/**/*.{ts,tsx}', './src/**/*.{ts,tsx}'],
darkMode: ['class'],
plugins: [require('tailwindcss-animate'), addVariablesForColors],
prefix: '',
theme: {
container: {
Expand All @@ -14,62 +15,67 @@ const config = {
},
},
extend: {
fontSize: {
sm: '0.750rem',
base: '1rem',
xl: '1.333rem',
'2xl': '1.777rem',
'3xl': '2.369rem',
'4xl': '3.158rem',
'5xl': '4.210rem',
},
fontFamily: {
heading: 'var(--heading-font)',
body: 'var(--body-font)',
animation: {
'accordion-down': 'accordion-down 0.2s ease-out',
'accordion-up': 'accordion-up 0.2s ease-out',
aurora: 'aurora 60s linear infinite',
},
fontWeight: {
normal: '400',
bold: '700',
borderRadius: {
lg: 'var(--radius)',
md: 'calc(var(--radius) - 2px)',
sm: 'calc(var(--radius) - 4px)',
},
colors: {
border: 'hsl(var(--border))',
input: 'hsl(var(--input))',
ring: 'hsl(var(--ring))',
background: 'hsl(var(--background))',
foreground: 'hsl(var(--foreground))',
primary: {
DEFAULT: 'hsl(var(--primary))',
foreground: 'hsl(var(--primary-foreground))',
accent: {
DEFAULT: 'hsl(var(--accent))',
foreground: 'hsl(var(--accent-foreground))',
},
secondary: {
DEFAULT: 'hsl(var(--secondary))',
foreground: 'hsl(var(--secondary-foreground))',
background: 'hsl(var(--background))',
border: 'hsl(var(--border))',
card: {
DEFAULT: 'hsl(var(--card))',
foreground: 'hsl(var(--card-foreground))',
},
destructive: {
DEFAULT: 'hsl(var(--destructive))',
foreground: 'hsl(var(--destructive-foreground))',
},
foreground: 'hsl(var(--foreground))',
input: 'hsl(var(--input))',
muted: {
DEFAULT: 'hsl(var(--muted))',
foreground: 'hsl(var(--muted-foreground))',
},
accent: {
DEFAULT: 'hsl(var(--accent))',
foreground: 'hsl(var(--accent-foreground))',
},
popover: {
DEFAULT: 'hsl(var(--popover))',
foreground: 'hsl(var(--popover-foreground))',
},
card: {
DEFAULT: 'hsl(var(--card))',
foreground: 'hsl(var(--card-foreground))',
primary: {
DEFAULT: 'hsl(var(--primary))',
foreground: 'hsl(var(--primary-foreground))',
},
ring: 'hsl(var(--ring))',
secondary: {
DEFAULT: 'hsl(var(--secondary))',
foreground: 'hsl(var(--secondary-foreground))',
},
},
borderRadius: {
lg: 'var(--radius)',
md: 'calc(var(--radius) - 2px)',
sm: 'calc(var(--radius) - 4px)',
fontFamily: {
body: 'var(--body-font)',
heading: 'var(--heading-font)',
},
fontSize: {
'2xl': '1.777rem',
'3xl': '2.369rem',
'4xl': '3.158rem',
'5xl': '4.210rem',
base: '1rem',
sm: '0.750rem',
xl: '1.333rem',
},
fontWeight: {
bold: '700',
normal: '400',
},
keyframes: {
'accordion-down': {
Expand All @@ -89,14 +95,8 @@ const config = {
},
},
},
animation: {
'accordion-down': 'accordion-down 0.2s ease-out',
'accordion-up': 'accordion-up 0.2s ease-out',
aurora: 'aurora 60s linear infinite',
},
},
},
plugins: [require('tailwindcss-animate'), addVariablesForColors],
} satisfies Config;

export default config;
Expand Down

0 comments on commit 9a937f3

Please sign in to comment.