Skip to content

Commit

Permalink
feat: new UI version and fixed build issue
Browse files Browse the repository at this point in the history
  • Loading branch information
alvarosabu committed Jul 27, 2023
1 parent b2f815d commit bf6dbe7
Show file tree
Hide file tree
Showing 11 changed files with 1,748 additions and 1,612 deletions.
3 changes: 0 additions & 3 deletions .prettierrc.js

This file was deleted.

23 changes: 7 additions & 16 deletions components/LayoutFooter.vue
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<script setup lang="ts">
import { defineProps, computed } from 'vue'
import { useNow } from '@vueuse/core'
import { computed } from "vue";
import { useNow } from "@vueuse/core";
const props = defineProps({
defineProps({
eventLogo: {
type: String,
},
Expand All @@ -15,25 +15,16 @@ const props = defineProps({
twitterUrl: {
type: String,
},
})
});
const { now } = useNow()
const { now } = useNow();
const date = computed(() => now?.value.toLocaleDateString('en-US'))
const date = computed(() => now?.value.toLocaleDateString("en-US"));
</script>
<template>
<footer
v-if="eventLogo || twitter"
class="
mt-auto
flex
justify-between
items-center
w-full
text-primary
dark:text-white
z-10
"
class="mt-auto flex justify-between items-center w-full text-primary dark:text-white z-10"
>
<div class="mb-0 flex items-center">
<a :href="eventUrl" target="_blank"
Expand Down
2 changes: 1 addition & 1 deletion layouts/new-section.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<div class="flex flex-col justify-center text-center">
<slot />
</div>
<Zigzags class="absolute top-20 -right-30" />
<AsGraphic type="zigzag" class="absolute top-20 -right-30" />
</div>
</template>

Expand Down
22 changes: 11 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"default": {
"aspectRatio": "16/9",
"fonts": {
"sans": "Nunito",
"sans": "Inter",
"title": "Gilroy",
"mono": "Fira Code"
}
Expand All @@ -35,19 +35,19 @@
"screenshot": "slidev export example.md --format png"
},
"dependencies": {
"@alvarosabu/ui": "^2.20.0",
"@slidev/types": "^0.40.14",
"@alvarosabu/ui": "3.0.0-alpha.12",
"@slidev/types": "^0.42.5",
"prism-theme-vars": "^0.2.4",
"vite-svg-loader": "^4.0.0"
},
"devDependencies": {
"@alvarosabu/prettier-config": "^1.3.0",
"@iconify-json/logos": "^1.1.25",
"@iconify-json/simple-icons": "^1.1.49",
"@release-it/conventional-changelog": "^5.1.1",
"@slidev/cli": "0.40.14",
"playwright-chromium": "^1.32.3",
"release-it": "^15.10.1",
"sass": "^1.62.0"
"@iconify-json/la": "^1.1.4",
"@iconify-json/logos": "^1.1.33",
"@iconify-json/simple-icons": "^1.1.62",
"@release-it/conventional-changelog": "^7.0.0",
"@slidev/cli": "0.42.5",
"playwright-chromium": "^1.36.2",
"release-it": "^16.1.3",
"sass": "^1.64.1"
}
}
Loading

0 comments on commit bf6dbe7

Please sign in to comment.