-
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
9 changed files
with
67 additions
and
1 deletion.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,11 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<link rel="preconnect" href="https://fonts.googleapis.com"> | ||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> | ||
<link href="https://fonts.googleapis.com/css2?family=Silkscreen:wght@400;700&display=swap" rel="stylesheet"> | ||
<link data-trunk rel="tailwind-css" href="/style/tailwind.css" /> | ||
<link data-trunk rel="copy-dir" href="/images" /> | ||
</head> | ||
<body></body> | ||
</html> |
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,15 @@ | ||
use leptos::*; | ||
|
||
#[component] | ||
pub fn Banner() -> impl IntoView { | ||
view! { | ||
<div class="flex flex-col items-center justify-center"> | ||
<div class="flex justify-center items-center w-28 h-28 bg-neutral-900 rounded-2xl shadow-lg pl-1 shrink-0"> | ||
<img src="/images/podcast-logo.png" alt="podcast-logo" class="w-20"/> | ||
</div> | ||
<div class="text-white text-3xl font-title font-bold mt-6 text-center"> | ||
"NEVER STOP LEARNING." | ||
</div> | ||
</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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
use leptos::*; | ||
|
||
#[component] | ||
pub fn Episodes() -> impl IntoView { | ||
view! { | ||
<div class="mt-12"> | ||
<span class="text-neutral-100 font-mono">Coming soon...</span> | ||
</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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
pub mod banner; | ||
pub mod episodes; |
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,15 @@ | ||
use leptos::*; | ||
|
||
mod components; | ||
use components::banner::*; | ||
use components::episodes::*; | ||
|
||
#[component] | ||
pub fn App() -> impl IntoView { | ||
view! { | ||
<div class="w-screen h-screen bg-gradient-to-br from-red-950 to-red-600 flex flex-col justify-center items-center px-6"> | ||
<Banner /> | ||
<Episodes /> | ||
</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 |
---|---|---|
@@ -1,6 +1,8 @@ | ||
use leptos::*; | ||
mod app; | ||
use app::*; | ||
|
||
fn main() { | ||
console_error_panic_hook::set_once(); | ||
mount_to_body(|| view! { <p>"Hello, world!"</p> }) | ||
mount_to_body(|| view! { <App /> }) | ||
} |
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 @@ | ||
@tailwind base; | ||
@tailwind components; | ||
@tailwind utilities; |
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,14 @@ | ||
/** @type {import('tailwindcss').Config} */ | ||
module.exports = { | ||
content: { | ||
files: ["*.html", "./src/**/*.rs"], | ||
}, | ||
theme: { | ||
extend: { | ||
fontFamily: { | ||
title: ["Silkscreen", "san-serif"], | ||
}, | ||
}, | ||
}, | ||
plugins: [], | ||
}; |