-
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
5 changed files
with
27 additions
and
20 deletions.
There are no files selected for viewing
This file was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import Navigation from "./Navigation"; | ||
import Darkmode from "./Darkmode.astro"; | ||
|
||
import React from "react"; | ||
|
||
const Aside = () => { | ||
return ( | ||
<aside className="p-4 w-screen sm:fixe sm:h-screen md:w-2/12 dark:bg-zinc-900 md:flex md:flex-col md:justify-between bg-white"> | ||
<div className="top-section"> | ||
<div className="title dark:text-white"> | ||
<h1 className="text-xl font-medium leading-3 ">Hector Rivera</h1> | ||
<p className="text-sm">Developer & Designer</p> | ||
</div> | ||
<Navigation /> | ||
</div> | ||
</aside> | ||
); | ||
}; | ||
|
||
export default Aside; |
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,4 @@ | ||
<div class="bottom-section mt-5 md:mt-0 dark:text-white"> | ||
<input type="checkbox" name="" id="changeTheme" class="accent-black p-4 dark:text-white dark:accent-white" value="light"> | ||
<label class="text-sm" for="theme">dark mode</label> | ||
</div> |
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