-
-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: new text-window layout with console
- Loading branch information
1 parent
0d0a410
commit c128e3a
Showing
20 changed files
with
242 additions
and
8 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,3 +6,4 @@ index.html | |
.remote-assets | ||
.idea/ | ||
components.d.ts | ||
example-export |
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,3 +1,4 @@ | ||
screenshots | ||
.github | ||
dist | ||
dist | ||
example-export |
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,12 @@ | ||
<script setup lang="ts"> | ||
</script> | ||
<template> | ||
<div class="console bg-primary text-white text-xs pt-6 rounded-md relative"> | ||
<ul class="absolute grid grid-cols-3 gap-3 top-2 left-4"> | ||
<li class="!m-0 rounded w-2 h-2 bg-red-400 inline-block"></li> | ||
<li class="!m-0 rounded w-2 h-2 bg-yellow-300 inline-block"></li> | ||
<li class="!m-0 rounded w-2 h-2 bg-green-500 inline-block"></li> | ||
</ul> | ||
<slot /> | ||
</div> | ||
</template> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
---|---|---|
@@ -0,0 +1,55 @@ | ||
<script setup lang="ts"> | ||
import { defineProps, defineComponent } from 'vue' | ||
import Default from './default.vue' | ||
const components = defineComponent({ Default }) | ||
const props = defineProps({ | ||
eventLogo: { | ||
type: String, | ||
}, | ||
eventUrl: { | ||
type: String, | ||
}, | ||
twitter: { | ||
type: String, | ||
}, | ||
twitterUrl: { | ||
type: String, | ||
}, | ||
media: { | ||
type: String, | ||
}, | ||
reverse: { | ||
type: Boolean | ||
} | ||
}) | ||
</script> | ||
|
||
<template> | ||
<default | ||
class="presenter" | ||
:logo-header="logoHeader" | ||
:event-logo="eventLogo" | ||
:event-url="eventUrl" | ||
:twitter="twitter" | ||
:twitter-url="twitterUrl" | ||
> | ||
<div class="grid grid-cols-2 gap-8" :class="{ 'gap-16': reverse}"> | ||
|
||
<div class="prose pr-16 " :class="{ 'order-1 text-right': reverse}"> | ||
<slot name="default" /> | ||
</div> | ||
<div class="relative" > | ||
<Zigzags class="absolute transform scale-75 -bottom-20 -right-16" :class="{'left-0' :reverse}" /> | ||
<TheConsole | ||
class="rounded-lg shadow-lg object-cover z-10" | ||
> | ||
<slot name="window"></slot> | ||
</TheConsole> | ||
</div> | ||
</div> | ||
</default> | ||
</template> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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