Skip to content

Commit 9768beb

Browse files
committed
move content around
1 parent 1c8217a commit 9768beb

5 files changed

Lines changed: 67 additions & 48 deletions

File tree

deno.jsonc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"tasks": {
66
"build:server": "wasm-pack build --release --target web --out-name server --features ssr --no-default-features",
77
"build:client": "wasm-pack build --release --target web --out-name client --features hydrate --no-default-features",
8-
"build": "deno task build:server & deno task build:client",
8+
"build": "deno task build:server; deno task build:client",
99
"start": "deno run --allow-read --allow-net run.ts"
1010
}
1111
}

public/global.css

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ a:visited {
127127

128128
.main {
129129
padding-top: 6%;
130-
padding-bottom: 150px;
130+
padding-bottom: 50px;
131131
background: linear-gradient(to bottom, #00253D, #153243 23%, #203847 32%, #203847 92%, #2A3E4A);
132132
}
133133

@@ -297,3 +297,10 @@ a:visited {
297297
width: 100%;
298298
}
299299
}
300+
301+
.footer {
302+
width: 100%;
303+
display: flex;
304+
justify-content: center;
305+
padding-bottom: 24px;
306+
}

src/index.rs

Lines changed: 40 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,46 @@ pub(super) fn IndexPage() -> impl IntoView {
2222

2323
<hr class="content width-100" />
2424

25+
<section class="content">
26+
<LocalAnchor name="itch".to_string() />
27+
<a href="https://snendev.itch.io/" target="_blank" class="row no-underline">
28+
<crate::icons::ItchIcon class="icon".to_string() />
29+
<h2>Itch.IO</h2>
30+
</a>
31+
<h3 class="maxwidth-800">
32+
"Many of my games are on "
33+
<a href="https://snendev.itch.io/">itch.io</a>
34+
". Check them out!"
35+
</h3>
36+
<h4 class="maxwidth-800">
37+
"I also have some games hosted on "
38+
<a href="https://lab.snen.dev">"my \"lab\""</a>
39+
", so feel free to take a look there as well."
40+
</h4>
41+
<h4 class="maxwidth-800">
42+
"This section will be updated more soon!"
43+
</h4>
44+
</section>
45+
46+
<hr class="content width-100" />
47+
48+
<section class="content">
49+
<LocalAnchor name="github".to_string() />
50+
<a href="https://github.com/snendev" target="_blank" class="row no-underline">
51+
<crate::icons::GithubIcon class="icon".to_string() />
52+
<h2>GitHub</h2>
53+
</a>
54+
<div
55+
class="github-card mobile-only"
56+
data-github="snendev"
57+
data-width="350"
58+
data-height="130"
59+
data-theme="default"
60+
/>
61+
</section>
62+
63+
<hr class="content width-100" />
64+
2565
<section class="content">
2666
<LocalAnchor name="bsky".to_string() />
2767
<a href="https://bsky.app/profile/snen.dev" target="_blank" class="row no-underline">
@@ -68,46 +108,6 @@ pub(super) fn IndexPage() -> impl IntoView {
68108

69109
<hr class="content width-100" />
70110

71-
<section class="content">
72-
<LocalAnchor name="itch".to_string() />
73-
<a href="https://snendev.itch.io/" target="_blank" class="row no-underline">
74-
<crate::icons::ItchIcon class="icon".to_string() />
75-
<h2>Itch.IO</h2>
76-
</a>
77-
<h3 class="maxwidth-800">
78-
"Many of my games are on "
79-
<a href="https://snendev.itch.io/">itch.io</a>
80-
". Check them out!"
81-
</h3>
82-
<h4 class="maxwidth-800">
83-
"I also have some games hosted on "
84-
<a href="https://lab.snen.dev">"my \"lab\""</a>
85-
", so feel free to take a look there as well."
86-
</h4>
87-
<h4 class="maxwidth-800">
88-
"This section will be updated more soon!"
89-
</h4>
90-
</section>
91-
92-
<hr class="content width-100" />
93-
94-
<section class="content">
95-
<LocalAnchor name="github".to_string() />
96-
<a href="https://github.com/snendev" target="_blank" class="row no-underline">
97-
<crate::icons::GithubIcon class="icon".to_string() />
98-
<h2>GitHub</h2>
99-
</a>
100-
<div
101-
class="github-card mobile-only"
102-
data-github="snendev"
103-
data-width="350"
104-
data-height="130"
105-
data-theme="default"
106-
/>
107-
</section>
108-
109-
<hr class="content width-100" />
110-
111111
<section class="content">
112112
<a href="mailto:me@snen.dev" target="_blank" class="row no-underline">
113113
<crate::icons::EmailIcon class="icon".to_string() />

src/lib.rs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,18 @@ pub fn App() -> impl IntoView {
2525
</Routes>
2626
</main>
2727
</Router>
28+
<Footer />
29+
}
30+
}
31+
32+
#[component]
33+
fn Footer() -> impl IntoView {
34+
view! {
35+
<footer class="footer">
36+
<h4>
37+
snen.dev, Inc
38+
</h4>
39+
</footer>
2840
}
2941
}
3042

src/nav.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,18 @@ use crate::icons;
55
#[component]
66
pub(super) fn Nav() -> impl IntoView {
77
view! {
8-
<a href="#bsky" class="icon-link no-underline">
9-
<icons::BSkyIcon class="adaptive-icon".to_string() />
10-
</a>
11-
<a href="#mastodon" class="icon-link no-underline">
12-
<icons::MastodonIcon class="adaptive-icon".to_string() />
13-
</a>
148
<a href="#itch" class="icon-link no-underline">
159
<icons::ItchIcon class="adaptive-icon".to_string() />
1610
</a>
1711
<a href="#github" class="icon-link no-underline">
1812
<icons::GithubIcon class="adaptive-icon".to_string() />
1913
</a>
14+
<a href="#bsky" class="icon-link no-underline">
15+
<icons::BSkyIcon class="adaptive-icon".to_string() />
16+
</a>
17+
<a href="#mastodon" class="icon-link no-underline">
18+
<icons::MastodonIcon class="adaptive-icon".to_string() />
19+
</a>
2020
<a href="#email" class="icon-link no-underline">
2121
<icons::EmailIcon class="adaptive-icon".to_string() />
2222
</a>

0 commit comments

Comments
 (0)