Skip to content

Commit

Permalink
Changed landing background & removed dark mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Nitrrine committed Dec 14, 2023
1 parent 862926d commit 587ecd4
Show file tree
Hide file tree
Showing 6 changed files with 38 additions and 53 deletions.
7 changes: 0 additions & 7 deletions assets/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,3 @@
--bs-link-hover-color: #ff3da4;
--bs-link-hover-color-rgb: 255, 61, 164;
}

[data-bs-theme="dark"] {
--bs-body-bg: #0f0f0f;
--bs-body-bg-rgb: 15, 15, 15;
--bs-tertiary-bg: #161616;
--bs-tertiary-bg-rgb: 22, 22, 22;
}
1 change: 0 additions & 1 deletion assets/images/brand/wordmark_light.svg

This file was deleted.

Binary file added assets/images/landing/landing-bg.webp
Binary file not shown.
17 changes: 0 additions & 17 deletions layouts/default.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,6 @@
alt="Lodine"
width="120"
class="d-inline-block align-text-top"
v-if="colorMode.value == 'light'"
/>
<img
src="~/assets/images/brand/wordmark_light.svg"
alt="Lodine"
width="120"
class="d-inline-block align-text-top"
v-if="colorMode.value == 'dark'"
/>
</NuxtLink>
<button
Expand Down Expand Up @@ -80,11 +72,6 @@
</ul>
</div>
</div>
<select class="w-auto form-select" v-model="colorMode.preference">
<option value="system">System</option>
<option value="light">Light</option>
<option value="dark">Dark</option>
</select>
</div>
</footer>
</div>
Expand All @@ -107,7 +94,3 @@ main {
}
}
</style>

<script setup>
const colorMode = useColorMode()
</script>
6 changes: 1 addition & 5 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,6 @@ export default defineNuxtConfig({
],
},
},
modules: ["nuxt-icons", "@nuxtjs/color-mode"],
colorMode: {
preference: "light",
dataValue: "bs-theme",
},
modules: ["nuxt-icons"],
css: ["~/assets/css/custom.css"],
})
60 changes: 37 additions & 23 deletions pages/index.vue
Original file line number Diff line number Diff line change
@@ -1,34 +1,48 @@
<template>
<div
class="d-flex align-items-center text-center text-white bg-primary w-100 h-100"
class="banner d-flex align-items-center text-center text-white w-100 h-100"
>
<div class="container">
<h1 class="fw-bold">We're Lodine Software!</h1>
<h4>A self-funded software company</h4>
<div class="d-inline-flex gap-2 mt-2">
<a
href="https://go.lodine.xyz/twitter"
target="_blank"
class="btn btn-light"
>Twitter</a
>
<a
href="https://go.lodine.xyz/instagram"
target="_blank"
class="btn btn-light"
>Instagram</a
>
<a
href="https://go.lodine.xyz/itch"
target="_blank"
class="btn btn-light"
>Itch.io</a
>
<div class="inner w-100 py-3">
<div class="container">
<h1 class="fw-bold">We're Lodine Software!</h1>
<h4>A self-funded software company</h4>
<div class="d-inline-flex gap-2 mt-2">
<a
href="https://go.lodine.xyz/twitter"
target="_blank"
class="btn btn-light"
>Twitter</a
>
<a
href="https://go.lodine.xyz/instagram"
target="_blank"
class="btn btn-light"
>Instagram</a
>
<a
href="https://go.lodine.xyz/itch"
target="_blank"
class="btn btn-light"
>Itch.io</a
>
</div>
</div>
</div>
</div>
</template>

<style lang="scss" scoped>
.banner {
background: url("assets/images/landing/landing-bg.webp");
background-size: cover;
.inner {
background: rgba($color: #000000, $alpha: 0.8);
backdrop-filter: blur(3px);
}
}
</style>

<script setup>
useHead({
title: "Home",
Expand Down

0 comments on commit 587ecd4

Please sign in to comment.