Skip to content

Commit 6214ac1

Browse files
committed
blog colors
1 parent 21a20fd commit 6214ac1

File tree

14 files changed

+67
-64
lines changed

14 files changed

+67
-64
lines changed
File renamed without changes.

app/tag-data.json

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,34 @@
11
{
2-
"google": 1,
3-
"search-console": 1,
4-
"seo": 4,
2+
"nodejs": 2,
3+
"typescript": 1,
54
"nextjs": 6,
5+
"autenticacion": 2,
6+
"supabase": 1,
7+
"roadmap": 1,
8+
"diseño-web": 1,
9+
"seo": 4,
10+
"mongodb": 1,
11+
"comandos": 2,
12+
"bases-de-datos": 1,
13+
"tutorial": 2,
14+
"sql": 4,
15+
"mysql": 3,
16+
"javascript": 1,
17+
"nextauth": 1,
618
"apis": 1,
719
"fetch": 1,
820
"axios": 1,
21+
"desarrollo-web": 3,
22+
"rutas": 1,
23+
"git": 1,
924
"github": 1,
1025
"open-source": 1,
1126
"contribuciones": 1,
12-
"desarrollo-web": 3,
13-
"rutas": 1,
14-
"tutorial": 2,
1527
"ngrok": 1,
1628
"pruebas-web": 1,
29+
"google": 1,
30+
"search-console": 1,
1731
"dominios": 1,
1832
"vercel": 1,
19-
"hostinger": 1,
20-
"git": 1,
21-
"javascript": 1,
22-
"nextauth": 1,
23-
"autenticacion": 2,
24-
"supabase": 1,
25-
"nodejs": 2,
26-
"roadmap": 1,
27-
"mongodb": 1,
28-
"comandos": 2,
29-
"bases-de-datos": 1,
30-
"sql": 4,
31-
"mysql": 3,
32-
"diseño-web": 1,
33-
"typescript": 1
33+
"hostinger": 1
3434
}

components/Header.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import Link from './Link'
55
import MobileNav from './MobileNav'
66
import SearchButton from './SearchButton'
77
import Image from 'next/image'
8+
import ThemeSwitch from './ThemeSwitch'
89

910
const Header = () => {
1011
let headerClass = 'flex items-center w-full justify-between py-10 px-0 md:px-52 '

components/PageTitle.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ interface Props {
66

77
export default function PageTitle({ children }: Props) {
88
return (
9-
<h1 className="text-3xl font-extrabold leading-9 tracking-tight text-gray-900 dark:text-gray-100 sm:text-4xl sm:leading-10 md:text-5xl md:leading-14">
9+
<h1 className="text-3xl font-extrabold leading-9 tracking-tight text-gray-100 sm:text-4xl sm:leading-10 md:text-5xl md:leading-14">
1010
{children}
1111
</h1>
1212
)

components/new/ProjectSection.tsx

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -37,22 +37,22 @@ const projects = [
3737
featured: true,
3838
},
3939
{
40-
name: 'ecommerce',
41-
id: 2,
42-
title: 'E-Commerce Platform',
43-
description: [
44-
'Microservices architecture',
45-
'Multiple payment gateways',
46-
'Real-time inventory updates',
47-
],
48-
longDescription:
49-
'This E-Commerce Platform is a robust, full-stack solution built with a microservices architecture for scalability and resilience. It supports multiple payment gateways (e.g., Stripe, PayPal) and features real-time inventory management to prevent overselling. The platform ',
50-
image: '/docsjs.png?height=400&width=600',
51-
images: ['/1.png', '/2.png'],
52-
technologies: ['Next.js', 'MongoDB', 'Stripe', 'Docker'],
53-
techColors: ['#000000', '#47a248', '#635bff', '#2496ed'],
54-
liveUrl: '#',
55-
githubUrl: '#',
40+
name: 'ProjectD',
41+
id: 2,
42+
title: 'Assetto Corsa Circuit Analyzer',
43+
description: [
44+
'Analysis of other players’ racing lines',
45+
'Lap timer to record personal bests',
46+
'User management with sharing and saving analyses',
47+
],
48+
longDescription:
49+
'This Assetto Corsa project helps players improve their lap times by analyzing racing lines from other players and using a lap timer to track their own performance. Users can manage their profiles, save their analyses, and share or view others’ strategies, promoting continuous improvement and friendly competition.',
50+
image: '/projectd.png?height=800&width=800',
51+
images: ['/projectd1.png', '/projectd2.png'],
52+
technologies: ['Next.js', 'Clerk', 'Convex', 'Zustand'],
53+
techColors: ['#000000', '#47a248', '#635bff', '#2496ed'],
54+
liveUrl: 'https://project-d-psi.vercel.app/',
55+
githubUrl: 'https://github.com/Porx312/ProjectD',
5656
featured: true,
5757
},
5858
{

css/tailwind.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,9 @@ input:-webkit-autofill:focus {
4848
margin-left: -24px;
4949
padding-right: 4px;
5050
}
51-
51+
.content-header{
52+
color: rgb(194, 193, 193);
53+
}
5254
.content-header:hover .content-header-link,
5355
.content-header-link:hover {
5456
opacity: 1;

layouts/AuthorLayout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export default function AuthorLayout({ children, content }: Props) {
1313

1414
return (
1515
<>
16-
<div className="divide-y divide-gray-200 dark:divide-gray-700">
16+
<div className="divide-y divide-gray-200 ">
1717
<div className="space-y-2 pb-8 pt-6 md:space-y-5">
1818
<h1 className="text-3xl font-extrabold leading-9 tracking-tight text-gray-900 dark:text-gray-100 sm:text-4xl sm:leading-10 md:text-6xl md:leading-14">
1919
About

layouts/ListLayout.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ export default function ListLayout({
9999
/>
100100
</label>
101101
<svg
102-
className="absolute right-3 top-3 h-5 w-5 text-gray-400 dark:text-gray-300"
102+
className="absolute right-3 top-3 h-5 w-5 text-gray-200"
103103
xmlns="http://www.w3.org/2000/svg"
104104
fill="none"
105105
viewBox="0 0 24 24"
@@ -123,7 +123,7 @@ export default function ListLayout({
123123
<article className="space-y-2 xl:grid xl:grid-cols-4 xl:items-baseline xl:space-y-0">
124124
<dl>
125125
<dt className="sr-only">Published on</dt>
126-
<dd className="text-base font-medium leading-6 text-gray-500 dark:text-gray-400">
126+
<dd className="text-base font-medium leading-6 text-gray-200 ">
127127
<time dateTime={date}>{formatDate(date, siteMetadata.locale)}</time>
128128
</dd>
129129
</dl>
@@ -140,7 +140,7 @@ export default function ListLayout({
140140
))}
141141
</div>
142142
</div>
143-
<div className="prose max-w-none text-gray-500 dark:text-gray-400">
143+
<div className="prose max-w-none text-gray-200 dark:text-gray-400">
144144
{summary}
145145
</div>
146146
</div>

layouts/ListLayoutWithTags.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ export default function ListLayoutWithTags({
133133
<div className="mb-4 flex flex-col sm:flex-row sm:items-center sm:justify-between">
134134
<time
135135
dateTime={post.date}
136-
className="mb-2 block text-sm text-gray-400 sm:mb-0"
136+
className="mb-2 block text-sm text-gray-200 sm:mb-0"
137137
suppressHydrationWarning
138138
>
139139
{formatDate(post.date, siteMetadata.locale)}
@@ -152,7 +152,7 @@ export default function ListLayoutWithTags({
152152
{post.title}
153153
</Link>
154154
</h2>
155-
<p className="mb-4 text-sm text-gray-300 sm:text-base">{post.summary}</p>
155+
<p className="mb-4 text-sm text-gray-200 sm:text-base">{post.summary}</p>
156156
<Link
157157
href={`/${post.path}`}
158158
className="inline-block rounded-md bg-red-500 px-4 py-2 text-sm font-medium text-white transition-colors duration-200 hover:bg-red-600"

layouts/PostLayout.tsx

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,14 @@ export default function PostLayout({ content, authorDetails, next, prev, childre
3737
return (
3838
<SectionContainer>
3939
<ScrollTopAndComment />
40-
<article>
41-
<div className="xl:divide-y xl:divide-gray-200 xl:dark:divide-gray-700">
40+
<article className='flex items-center justify-center'>
41+
<div className="xl:divide-y xl:divide-gray-200 ">
4242
<header className="pt-6 xl:pb-6">
4343
<div className="space-y-1 text-center">
4444
<dl className="space-y-10">
4545
<div>
4646
<dt className="sr-only">Published on</dt>
47-
<dd className="text-base font-medium leading-6 text-gray-500 dark:text-gray-400">
47+
<dd className="text-base font-medium leading-6 text-white">
4848
<time dateTime={date}>
4949
{new Date(date).toLocaleDateString(siteMetadata.locale, postDateTemplate)}
5050
</time>
@@ -56,8 +56,8 @@ export default function PostLayout({ content, authorDetails, next, prev, childre
5656
</div>
5757
</div>
5858
</header>
59-
<div className="grid-rows-[auto_1fr] divide-y divide-gray-200 pb-8 dark:divide-gray-700 xl:grid xl:grid-cols-4 xl:gap-x-6 xl:divide-y-0">
60-
<dl className="pb-10 pt-6 xl:border-b xl:border-gray-200 xl:pt-11 xl:dark:border-gray-700">
59+
<div className="grid-rows-[auto_1fr] divide-y divide-gray-200 pb-8 xl:grid xl:grid-cols-4 xl:gap-x-6 xl:divide-y-0">
60+
<dl className="pb-10 pt-6 xl:border-b xl:border-gray-200 xl:pt-11 ">
6161
<dt className="sr-only">Authors</dt>
6262
<dd>
6363
<ul className="flex flex-wrap justify-center gap-4 sm:space-x-12 xl:block xl:space-x-0 xl:space-y-8">
@@ -74,7 +74,7 @@ export default function PostLayout({ content, authorDetails, next, prev, childre
7474
)}
7575
<dl className="whitespace-nowrap text-sm font-medium leading-5">
7676
<dt className="sr-only">Name</dt>
77-
<dd className="text-gray-900 dark:text-gray-100">{author.name}</dd>
77+
<dd className="text-gray-200 dark:text-gray-100">{author.name}</dd>
7878
<dt className="sr-only">Twitter</dt>
7979
<dd>
8080
{author.twitter && (
@@ -95,15 +95,15 @@ export default function PostLayout({ content, authorDetails, next, prev, childre
9595
</ul>
9696
</dd>
9797
</dl>
98-
<div className="divide-y divide-gray-200 dark:divide-gray-700 xl:col-span-3 xl:row-span-2 xl:pb-0">
99-
<div className="prose max-w-none pb-8 pt-10 dark:prose-invert">{children}</div>
100-
<div className="pb-6 pt-6 text-sm text-gray-700 dark:text-gray-300">
98+
<div className="divide-y divide-gray-200 xl:col-span-3 xl:row-span-2 xl:pb-0">
99+
<div className="prose max-w-none pb-8 pt-10 text-white">{children}</div>
100+
<div className="pb-6 pt-6 text-sm text-gray-200">
101101
<Link href={editUrl(filePath)}>
102102
<button className="flex cursor-pointer items-center gap-2 rounded-lg bg-black px-4 py-2 text-sm font-medium text-zinc-200 transition-all duration-200 ease-in hover:bg-[#111]">
103103
<svg
104104
viewBox="0 0 24 24"
105105
xmlns="http://www.w3.org/2000/svg"
106-
className="w-6 fill-zinc-200"
106+
className="w-6 fill-zinc-100"
107107
>
108108
<path d="M10.9,2.1c-4.6,0.5-8.3,4.2-8.8,8.7c-0.6,5,2.5,9.3,6.9,10.7v-2.3c0,0-0.4,0.1-0.9,0.1c-1.4,0-2-1.2-2.1-1.9 c-0.1-0.4-0.3-0.7-0.6-1C5.1,16.3,5,16.3,5,16.2C5,16,5.3,16,5.4,16c0.6,0,1.1,0.7,1.3,1c0.5,0.8,1.1,1,1.4,1c0.4,0,0.7-0.1,0.9-0.2 c0.1-0.7,0.4-1.4,1-1.8c-2.3-0.5-4-1.8-4-4c0-1.1,0.5-2.2,1.2-3C7.1,8.8,7,8.3,7,7.6C7,7.2,7,6.6,7.3,6c0,0,1.4,0,2.8,1.3 C10.6,7.1,11.3,7,12,7s1.4,0.1,2,0.3C15.3,6,16.8,6,16.8,6C17,6.6,17,7.2,17,7.6c0,0.8-0.1,1.2-0.2,1.4c0.7,0.8,1.2,1.8,1.2,3 c0,2.2-1.7,3.5-4,4c0.6,0.5,1,1.4,1,2.3v3.3c4.1-1.3,7-5.1,7-9.5C22,6.1,16.9,1.4,10.9,2.1z"></path>
109109
</svg>
@@ -113,18 +113,18 @@ export default function PostLayout({ content, authorDetails, next, prev, childre
113113
</div>
114114
{siteMetadata.comments && (
115115
<div
116-
className="pb-6 pt-6 text-center text-gray-700 dark:text-gray-300"
116+
className="pb-6 pt-6 text-center text-gray-200"
117117
id="comment"
118118
>
119119
<Comments slug={slug} />
120120
</div>
121121
)}
122122
</div>
123123
<footer>
124-
<div className="divide-gray-200 text-sm font-medium leading-5 dark:divide-gray-700 xl:col-start-1 xl:row-start-2 xl:divide-y">
124+
<div className="divide-gray-200 text-sm font-medium leading-5 dark:divide-gray-200 xl:col-start-1 xl:row-start-2 xl:divide-y">
125125
{tags && (
126126
<div className="py-4 xl:py-8">
127-
<h2 className="text-xs uppercase tracking-wide text-gray-500 dark:text-gray-400">
127+
<h2 className="text-xs uppercase tracking-wide text-gray-200 dark:text-gray-200">
128128
Tags
129129
</h2>
130130
<div className="flex flex-wrap">
@@ -138,7 +138,7 @@ export default function PostLayout({ content, authorDetails, next, prev, childre
138138
<div className="flex justify-between py-4 xl:block xl:space-y-8 xl:py-8">
139139
{prev && prev.path && (
140140
<div>
141-
<h2 className="text-xs uppercase tracking-wide text-gray-500 dark:text-gray-400">
141+
<h2 className="text-xs uppercase tracking-wide text-gray-200 dark:text-gray-300">
142142
Anterior Articulo
143143
</h2>
144144
<div className="text-red-500 hover:text-red-600 dark:hover:text-red-400">
@@ -148,7 +148,7 @@ export default function PostLayout({ content, authorDetails, next, prev, childre
148148
)}
149149
{next && next.path && (
150150
<div>
151-
<h2 className="text-xs uppercase tracking-wide text-gray-500 dark:text-gray-400">
151+
<h2 className="text-xs uppercase tracking-wide text-gray-200 dark:text-gray-300">
152152
Siguiente Articulo
153153
</h2>
154154
<div className="text-red-500 hover:text-red-600 dark:hover:text-red-400">

0 commit comments

Comments
 (0)