Skip to content

Commit

Permalink
feat: improve browse button design
Browse files Browse the repository at this point in the history
  • Loading branch information
herteleo committed Nov 2, 2022
1 parent 261be53 commit 6e456d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/views/Home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ useDir();
<template>
<div class="grid grow place-items-center">
<div class="max-w-md space-y-2 p-4 text-center text-gray-400">
<button @click="setRootDir">
<button class="rounded-xl border border-slate-800 p-6 hover:bg-slate-800" @click="setRootDir">
<div class="space-y-2">
<app-icon class="mx-auto opacity-60" name="Folder" size="128" />
<div class="text-xl capitalize">Click to browse your local files in the browser</div>
<div class="text-xl capitalize">Click to browse your local files</div>
<div class="opacity-30">Because why not. Your local files stay private.</div>
<div v-if="!isFileSystemApiAvailable" class="pt-2 text-sm text-amber-600">
Sadly your browser is not supported.<br />Try the latest Chrome Browser.
Expand Down

0 comments on commit 6e456d7

Please sign in to comment.