-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
3,723 additions
and
3,573 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,8 @@ | ||
<nav> | ||
<a href="/">POSTS</a> | ||
<a href="/about">ABOUT</a> | ||
<a href="/resume">RESUME</a> | ||
<div class="bg-fixed bg-zinc-900"></div> | ||
</nav> | ||
<style> | ||
nav { | ||
position: relative; | ||
display: flex; | ||
width: 100%; | ||
justify-content: center; | ||
align-items: center; | ||
margin-bottom: 12px; | ||
} | ||
|
||
a { | ||
text-decoration: none; | ||
color: white; | ||
margin: 12px 20px; | ||
} | ||
|
||
|
||
a:hover { | ||
color: #AAAAAA; | ||
} | ||
nav > div { | ||
width: 100%; | ||
height: 2px; | ||
/* | ||
background-color: #202020; | ||
*/ | ||
position: absolute; | ||
bottom: 0px; | ||
} | ||
</style> | ||
<nav | ||
class="flex relative w-full justify-center items-center pt-8 pb-4 mb-8" | ||
> | ||
<a class="text-white mx-4 hover:text-slate-200" href="/">Posts</a> | ||
<a class="text-white mx-4 hover:text-slate-200" href="/about">About</a> | ||
<a class="text-white mx-4 hover:text-slate-200" href="/resume">Resume</a> | ||
<div class="bg-white absolute h-[1px] bottom-0 w-96 max-w-[80%]"></div> | ||
</nav> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<section class="flex flex-col w-full py-8"> | ||
<slot /> | ||
</section> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 3 additions & 2 deletions
5
src/pages/posts/embedded-driver-in-rust/embedded-rust-drivers.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,20 @@ | ||
/** @type {import('tailwindcss').Config} */ | ||
const plugin = require('tailwindcss/plugin') | ||
module.exports = { | ||
content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'], | ||
theme: { | ||
extend: {}, | ||
}, | ||
plugins: [ | ||
plugin(function({ addBase, theme }) { | ||
addBase({ | ||
'h1': { fontSize: theme('fontSize.4xl') }, | ||
'h2': { fontSize: theme('fontSize.3xl') }, | ||
'h3': { fontSize: theme('fontSize.2xl') }, | ||
'h4': { fontSize: theme('fontSize.1xl') }, | ||
'h5': { fontSize: theme('fontSize.lg') } | ||
}) | ||
}), | ||
require('@tailwindcss/typography'), | ||
], | ||
} | ||
} |