generated from roiLeo/Nuxtplate
-
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
16 changed files
with
398 additions
and
490 deletions.
There are no files selected for viewing
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
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,13 @@ | ||
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | ||
Version 2, December 2004 | ||
|
||
Copyright (C) 2004 Sam Hocevar <[email protected]> | ||
|
||
Everyone is permitted to copy and distribute verbatim or modified | ||
copies of this license document, and changing it is allowed as long | ||
as the name is changed. | ||
|
||
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | ||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION | ||
|
||
0. You just DO WHAT THE FUCK YOU WANT TO. |
This file was deleted.
Oops, something went wrong.
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
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
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,8 +1,11 @@ | ||
<template> | ||
<footer class="mt-auto border-t border-gray-200 dark:border-gray-800"> | ||
<UContainer class="space-between flex h-14 items-center"> | ||
<span class="text-sm text-gray-500"> © {{ new Date().getFullYear() }} roiLeo.</span> | ||
<UButton class="ml-auto" color="gray" size="md" label="View on GitHub" icon="i-simple-icons-github" to="https://github.com/roiLeo/Nuxtplate" target="_blank" /> | ||
<NuxtLink to="http://www.wtfpl.net" target="_blank" external> | ||
<img class="h-4 mr-2 bg-white rounded-full" src="/img/WTFPL.svg" /> | ||
</NuxtLink> | ||
<span class="text-sm text-gray-500"> {{ new Date().getFullYear() }} roiLeo.</span> | ||
<UButton class="ml-auto" color="gray" size="md" label="View on GitHub" icon="i-simple-icons-github" to="https://github.com/roiLeo/open-preview" target="_blank" /> | ||
</UContainer> | ||
</footer> | ||
</template> |
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,11 +1,11 @@ | ||
<template> | ||
<header class="bg-background/75 border-b border-gray-200 dark:border-gray-800"> | ||
<UContainer class="flex h-14 items-center justify-between"> | ||
<NuxtLink to="/">Starter Nuxt</NuxtLink> | ||
<header class="sticky top-0 inset-x-0 flex flex-wrap md:justify-start md:flex-nowrap z-50 w-full text-sm"> | ||
<nav class="mt-4 relative max-w-2xl w-full bg-white border border-gray-200 rounded-[2rem] mx-2 py-2.5 flex items-center justify-between px-4 mx-auto dark:bg-neutral-900 dark:border-neutral-700"> | ||
<NuxtLink class="font-bold" to="/">OpenPreview</NuxtLink> | ||
<div class="flex"> | ||
<ColorPicker /> | ||
<ColorModeButton /> | ||
</div> | ||
</UContainer> | ||
</nav> | ||
</header> | ||
</template> |
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,29 @@ | ||
<template> | ||
<UFormGroup required class="flex-1"> | ||
<UInput | ||
v-model="q" | ||
name="q" | ||
type="url" | ||
placeholder="https://hmpg.net" | ||
icon="i-heroicons-computer-desktop-20-solid" | ||
autocomplete="off" | ||
required | ||
:ui="{ icon: { trailing: { pointer: '' } } }" | ||
> | ||
<template #trailing> | ||
<UButton | ||
v-show="q || q !== null" | ||
color="gray" | ||
variant="link" | ||
icon="i-heroicons-x-mark-20-solid" | ||
:padded="false" | ||
@click="q = null" | ||
/> | ||
</template> | ||
</UInput> | ||
</UFormGroup> | ||
</template> | ||
|
||
<script setup lang="ts"> | ||
const q = defineModel({ type: String, default: null }) | ||
</script> |
This file was deleted.
Oops, something went wrong.
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
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,8 +1,20 @@ | ||
export default defineNuxtConfig({ | ||
app: { | ||
head: { | ||
title: 'OpenPreview', | ||
charset: 'utf-8', | ||
viewport: 'width=device-width, initial-scale=1', | ||
bodyAttrs: { class: 'bg-white dark:bg-gray-900' } | ||
} | ||
}, | ||
|
||
modules: ['@nuxtjs/i18n', '@nuxt/ui'], | ||
ui: { global: true }, | ||
|
||
colorMode: { | ||
preference: 'dark', | ||
classSuffix: '' | ||
} | ||
}) | ||
}, | ||
|
||
compatibilityDate: '2024-09-02' | ||
}) |
Oops, something went wrong.