-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #67 from opeolluwa/master
sync forks
- Loading branch information
Showing
36 changed files
with
392 additions
and
325 deletions.
There are no files selected for viewing
Binary file not shown.
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 |
---|---|---|
|
@@ -9,117 +9,32 @@ | |
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> | ||
<link href="https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap" | ||
rel="stylesheet"> | ||
<link rel="stylesheet" href="./style/tailwind.css"> | ||
<link rel="stylesheet" href="./style/output.css"> | ||
<link data-trunk rel="rust" data-wasm-opt="z" /> | ||
<link data-trunk rel="icon" type="image/ico" href="/public/favicon.ico" /> | ||
<link data-trunk rel="tailwind-css" href="/style/tailwind.css" /> | ||
<link href="https://cdn.jsdelivr.net/npm/[email protected]/fonts/remixicon.css" rel="stylesheet" /> | ||
<link rel="stylesheet" href="https://unpkg.com/aos@next/dist/aos.css" /> | ||
<style> | ||
.open-sans-300 { | ||
font-family: "Open Sans", sans-serif; | ||
font-optical-sizing: auto; | ||
font-weight: 300; | ||
font-style: normal; | ||
font-variation-settings: | ||
"wdth" 100; | ||
} | ||
|
||
.open-sans-400 { | ||
font-family: "Open Sans", sans-serif; | ||
font-optical-sizing: auto; | ||
font-weight: 400; | ||
font-style: normal; | ||
font-variation-settings: | ||
"wdth" 100; | ||
} | ||
|
||
.open-sans-600 { | ||
font-family: "Open Sans", sans-serif; | ||
font-optical-sizing: auto; | ||
font-weight: 600; | ||
font-style: normal; | ||
font-variation-settings: | ||
"wdth" 100; | ||
} | ||
|
||
|
||
.open-sans-700 { | ||
font-family: "Open Sans", sans-serif; | ||
font-optical-sizing: auto; | ||
font-weight: 700; | ||
font-style: normal; | ||
font-variation-settings: | ||
"wdth" 100; | ||
} | ||
|
||
.open-sans-800 { | ||
font-family: "Open Sans", sans-serif; | ||
font-optical-sizing: auto; | ||
font-weight: 800; | ||
font-style: normal; | ||
font-variation-settings: | ||
"wdth" 100; | ||
} | ||
|
||
.open-sans-300-italic { | ||
font-family: "Open Sans", sans-serif; | ||
font-optical-sizing: auto; | ||
font-weight: 300; | ||
font-style: italic; | ||
font-variation-settings: | ||
"wdth" 100; | ||
} | ||
|
||
.open-sans-400-italic { | ||
font-family: "Open Sans", sans-serif; | ||
font-optical-sizing: auto; | ||
font-weight: 400; | ||
font-style: italic; | ||
font-variation-settings: | ||
"wdth" 100; | ||
} | ||
|
||
|
||
.open-sans-600-italic { | ||
font-family: "Open Sans", sans-serif; | ||
font-optical-sizing: auto; | ||
font-weight: 600; | ||
font-style: italic; | ||
font-variation-settings: | ||
"wdth" 100; | ||
} | ||
|
||
.open-sans-700-italic { | ||
font-family: "Open Sans", sans-serif; | ||
font-optical-sizing: auto; | ||
font-weight: 700; | ||
font-style: italic; | ||
font-variation-settings: | ||
"wdth" 100; | ||
} | ||
|
||
.open-sans-800-italic { | ||
font-family: "Open Sans", sans-serif; | ||
font-optical-sizing: auto; | ||
font-weight: 800; | ||
font-style: italic; | ||
font-variation-settings: | ||
"wdth" 100; | ||
} | ||
|
||
body { | ||
font-family: "Open Sans", sans-serif; | ||
font-optical-sizing: auto; | ||
font-weight: 400; | ||
font-style: normal; | ||
font-variation-settings: | ||
"wdth" 100; | ||
background-color: #000 !important; | ||
color: #fff; | ||
} | ||
</style> | ||
</head> | ||
|
||
<body> | ||
|
||
<script src="https://unpkg.com/aos@next/dist/aos.js"></script> | ||
<script> | ||
AOS.init(); | ||
</script> | ||
</body> | ||
|
||
</html> |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 +1,13 @@ | ||
pub fn card() {} | ||
use leptos::{component, view, Children, IntoView}; | ||
|
||
/// the app card component | ||
#[component] | ||
pub fn Card( | ||
/// additional tailwind or custom css classes | ||
#[prop(default = "")] | ||
class: &'static str, | ||
/// the element that goes into the button | ||
children: Children, | ||
) -> impl IntoView { | ||
view! { <div class=format!("px-4 py-2 rounded {class}")>{children()}</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
use leptos::{component, view, IntoView}; | ||
|
||
#[component] | ||
pub fn Logo() -> impl IntoView { | ||
view! { | ||
<div class="mb-6 md:mb-0"> | ||
<a href="/" class="flex items-center"> | ||
|
||
<span class="self-center text-2xl font-semibold whitespace-nowrap">Utils</span> | ||
</a> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,5 +2,6 @@ pub mod button; | |
pub mod card; | ||
pub mod icon; | ||
pub mod input; | ||
pub mod logo; | ||
pub mod text; | ||
pub mod view; |
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
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,22 @@ | ||
use crate::components::button::Button; | ||
use crate::components::card::Card; | ||
use crate::components::icon::Icon; | ||
use crate::layouts::default::Layout; | ||
use leptos::{component, view, IntoView}; | ||
use serde::{Deserialize, Serialize}; | ||
|
||
#[component] | ||
pub fn Docs() -> impl IntoView { | ||
view! { | ||
<Layout> | ||
<div> | ||
Lorem ipsum dolor sit amet consectetur adipisicing elit. Explicabo, aspernatur. Maiores accusantium iusto consectetur, eveniet iste maxime placeat minima odit voluptas alias corrupti, tempore temporibus, molestiae ab aliquid neque sunt! | ||
</div> | ||
|
||
<div> | ||
Lorem ipsum dolor sit amet consectetur adipisicing elit. Necessitatibus libero porro aut, accusantium consequatur ab est quisquam, voluptas ad sint temporibus reiciendis non quia, minima sequi excepturi officia omnis praesentium? | ||
</div> | ||
|
||
</Layout> | ||
} | ||
} |
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
Oops, something went wrong.