-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1 parent
05773be
commit 7a6381c
Showing
16 changed files
with
242 additions
and
300 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 |
---|---|---|
@@ -1,19 +1,25 @@ | ||
<template> | ||
<div class="flex flex-col min-h-screen"> | ||
<navbar /> | ||
<generator /> | ||
<div class="flex flex-col min-h-screen font-inter"> | ||
<header-component /> | ||
|
||
<div class="container relative z-50 px-4 mx-auto -mt-16 2xl:-mt-28"> | ||
<div id="generator" class="bg-white shadow-md h-96 scroll-mt-10 rounded-xl shadow-gray-200/90"></div> | ||
</div> | ||
|
||
<gradient-examples /> | ||
|
||
<footer-component /> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
import HeaderComponent from './components/Header.vue'; | ||
import GradientExamples from './components/GradientExamples.vue'; | ||
import FooterComponent from './components/Footer.vue'; | ||
import Generator from './components/Generator.vue'; | ||
import Navbar from './components/Navbar.vue'; | ||
export default { | ||
name: 'App', | ||
components: { Navbar, FooterComponent, Generator }, | ||
components: { HeaderComponent, GradientExamples, FooterComponent }, | ||
} | ||
</script> |
Binary file not shown.
Binary file not shown.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<template> | ||
<button v-clipboard:copy="style" v-clipboard:success="copied" class="font-medium text-gray-500 transition-colors duration-300 focus:outline-none hover:text-primary"> | ||
<svg v-show="!isCopy" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-6 h-6"> | ||
<path stroke-linecap="round" stroke-linejoin="round" d="M8.25 7.5V6.108c0-1.135.845-2.098 1.976-2.192.373-.03.748-.057 1.123-.08M15.75 18H18a2.25 2.25 0 002.25-2.25V6.108c0-1.135-.845-2.098-1.976-2.192a48.424 48.424 0 00-1.123-.08M15.75 18.75v-1.875a3.375 3.375 0 00-3.375-3.375h-1.5a1.125 1.125 0 01-1.125-1.125v-1.5A3.375 3.375 0 006.375 7.5H5.25m11.9-3.664A2.251 2.251 0 0015 2.25h-1.5a2.251 2.251 0 00-2.15 1.586m5.8 0c.065.21.1.433.1.664v.75h-6V4.5c0-.231.035-.454.1-.664M6.75 7.5H4.875c-.621 0-1.125.504-1.125 1.125v12c0 .621.504 1.125 1.125 1.125h9.75c.621 0 1.125-.504 1.125-1.125V16.5a9 9 0 00-9-9z" /> | ||
</svg> | ||
|
||
<svg v-show="isCopy" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-6 h-6"> | ||
<path stroke-linecap="round" stroke-linejoin="round" d="M11.35 3.836c-.065.21-.1.433-.1.664 0 .414.336.75.75.75h4.5a.75.75 0 00.75-.75 2.25 2.25 0 00-.1-.664m-5.8 0A2.251 2.251 0 0113.5 2.25H15c1.012 0 1.867.668 2.15 1.586m-5.8 0c-.376.023-.75.05-1.124.08C9.095 4.01 8.25 4.973 8.25 6.108V8.25m8.9-4.414c.376.023.75.05 1.124.08 1.131.094 1.976 1.057 1.976 2.192V16.5A2.25 2.25 0 0118 18.75h-2.25m-7.5-10.5H4.875c-.621 0-1.125.504-1.125 1.125v11.25c0 .621.504 1.125 1.125 1.125h9.75c.621 0 1.125-.504 1.125-1.125V18.75m-7.5-10.5h6.375c.621 0 1.125.504 1.125 1.125v9.375m-8.25-3l1.5 1.5 3-3.75" /> | ||
</svg> | ||
</button> | ||
</template> | ||
|
||
<script> | ||
export default { | ||
props: ['style'], | ||
data() { | ||
return { | ||
isCopy: false, | ||
} | ||
}, | ||
methods: { | ||
copied() { | ||
this.isCopy = true; | ||
setTimeout(() => this.isCopy = false, 500); | ||
}, | ||
} | ||
} | ||
</script> |
This file was deleted.
Oops, something went wrong.
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 was deleted.
Oops, something went wrong.
Oops, something went wrong.