Skip to content

Commit d4e8077

Browse files
committed
v8
1 parent 4c8110a commit d4e8077

File tree

7 files changed

+13
-11
lines changed

7 files changed

+13
-11
lines changed

src/components/Footer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const Footer = () => {
1212
<p className="mt-4 text-sm text-gray-400">Subscribe to our newsletter to get the latest updates straight to your inbox.</p>
1313
<form className="mt-4 flex gap-2">
1414
<input type="email" placeholder="Enter your email" className="bg-gray-800 text-white px-4 py-2 rounded-md w-full" />
15-
<button type="submit" className="bg-teal-500 hover:bg-teal-600 text-white font-bold py-2 px-4 rounded-md transition-colors">Subscribe</button>
15+
<button type="submit" className="bg-primary-500 hover:bg-primary-600 text-white font-bold py-2 px-4 rounded-md transition-colors">Subscribe</button>
1616
</form>
1717
</div>
1818
<div className="md:text-right">

src/components/Navbar.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const Navbar = () => {
2626
<Link to="/" className="text-sm font-medium hover:text-gray-300 transition-colors">Home</Link>
2727
<Link to="/blog" className="text-sm font-medium hover:text-gray-300 transition-colors">Blog</Link>
2828
<Link to="/projects" className="text-sm font-medium hover:text-gray-300 transition-colors">Projects</Link>
29-
<button className="bg-teal-500 hover:bg-teal-600 text-white font-bold py-2 px-4 rounded-full transition-colors">
29+
<button className="bg-primary-500 hover:bg-primary-600 text-white font-bold py-2 px-4 rounded-full transition-colors">
3030
Play Latest
3131
</button>
3232
</div>

src/components/PostMetadata.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const PostMetadata = ({ metadata }) => {
2424
<Label>Tags</Label>
2525
<div className="flex flex-wrap gap-2 mt-2">
2626
{metadata.tags.map(tag => (
27-
<span key={tag} className="bg-teal-400/10 text-teal-400 text-xs font-medium px-2.5 py-1 rounded-full">
27+
<span key={tag} className="bg-primary-400/10 text-primary-400 text-xs font-medium px-2.5 py-1 rounded-full">
2828
{tag}
2929
</span>
3030
))}

src/index.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
body {
66
margin: 0;
7+
background-color: #1a0a0a;
78
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
89
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
910
sans-serif;

src/pages/BlogPostPage.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ const BlogPostPage = () => {
4444
<div className="mx-auto max-w-7xl px-6 lg:px-8">
4545
<div className="lg:grid lg:grid-cols-4 lg:gap-8">
4646
<div className="lg:col-span-3">
47-
<Link to="/blog" className="text-teal-400 hover:text-teal-500 transition-colors mb-8 block">
47+
<Link to="/blog" className="text-primary-400 hover:text-primary-500 transition-colors mb-8 block">
4848
&larr; Back to Blog
4949
</Link>
5050
<div className="prose prose-xl prose-dark max-w-none">

src/pages/HomePage.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,15 @@ const HomePage = () => {
3434
</div>
3535
</div>
3636

37-
<div className="mt-16">
37+
<div className="mt-8">
3838
<h2 className="text-2xl font-semibold tracking-tight text-white text-center">Recent Blog Posts</h2>
3939
<div className="mt-8">
4040
{posts.slice(0, 5).map(slug => (
4141
<PostItem key={slug} slug={slug} />
4242
))}
4343
</div>
4444
</div>
45+
4546
</div>
4647
</div>
4748
);

tailwind.config.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,20 @@ module.exports = {
1313
mono: ['JetBrains Mono', ...defaultTheme.fontFamily.mono],
1414
},
1515
colors: {
16-
teal: {
17-
400: '#2dd4bf',
18-
500: '#14b8a6',
19-
600: '#0d9488',
16+
primary: {
17+
400: '#f87171',
18+
500: '#ef4444',
19+
600: '#dc2626',
2020
},
2121
},
2222
typography: (theme) => ({
2323
dark: {
2424
css: {
2525
color: theme('colors.gray.300'),
2626
a: {
27-
color: theme('colors.teal.400'),
27+
color: theme('colors.primary.400'),
2828
'&:hover': {
29-
color: theme('colors.teal.600'),
29+
color: theme('colors.primary.600'),
3030
},
3131
},
3232

0 commit comments

Comments
 (0)