Skip to content

Commit 20741e6

Browse files
committed
chore: move icon module
1 parent f825f3c commit 20741e6

File tree

2 files changed

+2
-23
lines changed

2 files changed

+2
-23
lines changed

src/components/icons/shuttle_icon.rs renamed to src/components/icons/cloudflare.rs

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,5 @@
11
use leptos::{component, view, IntoView};
22

3-
#[component]
4-
pub fn ShuttleIcon() -> impl IntoView {
5-
view! {
6-
<svg
7-
width="1em"
8-
height="1em"
9-
viewBox="0 0 80 20"
10-
11-
fill="currentColor"
12-
xmlns="http://www.w3.org/2000/svg"
13-
class="text-8xl dark:text-head"
14-
>
15-
<path
16-
fill-rule="evenodd"
17-
clip-rule="evenodd"
18-
d="M21.5276 0.927734L14.3516 7.9646L7.17585 7.9646L0 15.0013H7.17585L7.17585 22.0375H0V29.0743H7.17585L7.17585 22.0383H14.3516V29.0751L21.5276 22.0383V15.0013L28.7034 7.9646V0.927734H21.5276Z"
19-
></path>
20-
</svg>
21-
}
22-
}
23-
243
#[component]
254
pub fn CloudflareIcon() -> impl IntoView {
265
view! {

src/components/icons/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ mod linkedin_icon;
44
mod location_icon;
55
mod logo_rust_page;
66
mod next;
7-
mod shuttle_icon;
7+
mod cloudflare;
88
mod telegram_icon;
99
mod twitter_icon;
1010
mod web_icon;
@@ -15,7 +15,7 @@ pub use linkedin_icon::*;
1515
pub use location_icon::*;
1616
pub use logo_rust_page::*;
1717
pub use next::*;
18-
pub use shuttle_icon::*;
18+
pub use cloudflare::*;
1919
pub use telegram_icon::*;
2020
pub use twitter_icon::*;
2121
pub use web_icon::*;

0 commit comments

Comments
 (0)