Skip to content

Commit 794678d

Browse files
committed
feat: Finish landing page setup for now
- Finish landing styling - THEORETICALLY get gh pages deploy working - Add 404 page - Remove navbar for now - Remove unneeded nojekyll file (using actions instead)
1 parent 4bbc2b5 commit 794678d

File tree

12 files changed

+37
-37
lines changed

12 files changed

+37
-37
lines changed

.vscode/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"files.associations": {
3-
"*.css": "tailwind"
3+
"*.css": "css"
44
}
55
}

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# HytaLab Web
2-
The public facing website for HytaLab's projects. All of our plugin/mod files and documentation are housed here. Made with SvelteKit + daisyUI.
2+
The public facing website for HytaLab's projects. All of our plugin/mod files and documentation are housed here. Made with SvelteKit and Tailwind CSS.
3+
4+
## TODO
5+
- [ ] Replace daisyUI with just Tailwind
6+
- [ ] Make project cards for home page
7+
- [ ] Make projects area base (no releases integration yet) with downloads, wiki, source, etc.
38

49
## Developing
510

File renamed without changes.

src/lib/components/Footer.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<p class="font-normal italic">We are not affiliated with Hytale or Hypixel Studios Canada Inc.</p>
1+
<p class="text-sm font-normal italic">We are not affiliated with Hytale or Hypixel Studios Canada Inc.</p>

src/lib/components/Link.svelte

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<script>
2+
let { to, children } = $props();
3+
</script>
4+
5+
<a class="" href={to} target="_blank" rel="noopener noreferrer">{@render children()}</a>

src/lib/components/header/NavBar.svelte

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<script>
1+
<!-- <script>
22
import NavLinks from "./NavLinks.svelte";
33
44
</script>
@@ -23,11 +23,11 @@
2323
</div>
2424
<div class="navbar-end">
2525
<!-- Discord and GitHub links -->
26-
</div>
26+
<!-- </div>
2727
</div>
2828
2929
<style>
3030
.dropdown {
3131
backdrop-filter: blur(10px);
3232
}
33-
</style>
33+
</style> --> -->

src/lib/components/index.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
// Export all components for easy access in routes
2-
export { default as NavBar } from './header/NavBar.svelte';
3-
export { default as Footer } from './Footer.svelte';
2+
export { default as Footer } from './Footer.svelte';
3+
export { default as Link } from './Link.svelte';
4+
5+
export { default as NavBar } from './header/NavBar.svelte';

src/routes/+layout.svelte

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<script lang="ts">
22
import './layout.css';
33
import { favicon } from '$lib';
4-
import { NavBar } from '$components';
4+
// import { NavBar } from '$components';
55
import { Footer } from '$components';
66
77
let { children } = $props();
@@ -11,11 +11,7 @@
1111
<link rel="icon" href={favicon} />
1212
</svelte:head>
1313
<div class="bg">
14-
<div>
15-
<NavBar />
16-
</div>
17-
18-
<div class="glass-blur p-5 mt-50 mr-[25%] ml-[25%] text-center border-r-8">
14+
<div class="backdrop-blur-[15px] p-5 mt-50 mr-[25%] ml-[25%] text-center border-3 border-white rounded-md">
1915
{@render children()}
2016
<div class="mt-5">
2117
<Footer />

src/routes/+page.svelte

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1-
<div>
2-
<h1 class="font-bold">♨️ We're still cooking... check back soon.</h1>
3-
</div>
1+
<script>
2+
import { Link } from '$components';
3+
</script>
4+
5+
<div class="text-shadow-lg/30">
6+
<h1 class="font-bold">♨️ We're still cooking... check back soon. ♨️</h1>
7+
<h1>
8+
In the mean time, check out our work on <Link to="https://github.com/HytaLab">GitHub</Link>.
9+
</h1>
10+
</div>

src/routes/layout.css

Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
@import "tailwindcss";
22
@plugin "daisyui";
33

4-
54
@plugin "daisyui/theme" {
6-
name: "night";
5+
name: "hytalab";
76
default: false;
87
prefersdark: false;
98
color-scheme: "dark";
@@ -71,20 +70,6 @@ html {
7170
background-image: url('src/lib/assets/bg.jpg');
7271
}
7372

74-
.glass-nav {
75-
border: none;
76-
backdrop-filter: blur(var(--glass-blur, 50px));
77-
background-color: rgba(25, 89, 191, 0.41);
78-
background-image: linear-gradient( 135deg, oklch(100% 0 0 / var(--glass-opacity, 30%)) 0%, oklch(0% 0 0 / 0%) 100% ), linear-gradient( var(--glass-reflect-degree, 100deg), oklch(100% 0 0 / var(--glass-reflect-opacity, 5%)) 25%, oklch(0% 0 0 / 0%) 25% );
79-
box-shadow: 0 0 0 1px oklch(100% 0 0 / var(--glass-border-opacity, 20%)) inset, 0 0 0 2px oklch(0% 0 0 / 5%);
80-
text-shadow: 0 1px oklch(0% 0 0 / var(--glass-text-shadow-opacity, 5%)) /* #000000 */;
81-
}
82-
83-
.glass-blur {
84-
border: none;
85-
backdrop-filter: blur(var(--glass-blur, 5px));
86-
background-color: #0000;
87-
background-image: linear-gradient( 135deg, oklch(100% 0 0 / var(--glass-opacity, 30%)) 0%, oklch(0% 0 0 / 0%) 100% ), linear-gradient( var(--glass-reflect-degree, 100deg), oklch(100% 0 0 / var(--glass-reflect-opacity, 5%)) 25%, oklch(0% 0 0 / 0%) 25% );
88-
box-shadow: 0 0 0 1px oklch(100% 0 0 / var(--glass-border-opacity, 20%)) inset, 0 0 0 2px oklch(0% 0 0 / 5%);
89-
text-shadow: 0 1px oklch(0% 0 0 / var(--glass-text-shadow-opacity, 5%)) /* #000000 */;
73+
a {
74+
text-decoration: underline dotted;
9075
}

0 commit comments

Comments
 (0)