Files
ComfyUI_frontend/src/views/DownloadGitView.vue
Alexander Brown 85017dbba0 Upgrade: Tailwind v4 (#5246)
* temp: move tailwind calls out of the layer

* temp: ts tailwind config

* upgrade: Tailwind v4
This got a little out of hand.
Had to add a relative reference to the stylesheet in any component that uses @apply instead of the utility classes directly.

* upgrade: bg-opacity is now a modifier

* fix: Classic menu buttons assume a border

* Update test expectations [skip ci]

* fix: New preflight removal pattern

* fix: Skeletons don't have skin

* Update test expectations [skip ci]

* fix: Missing @reference

* [auto-fix] Apply ESLint and Prettier fixes

---------

Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: GitHub Action <action@github.com>
2025-09-03 12:37:43 -07:00

60 lines
1.5 KiB
Vue

<template>
<BaseViewTemplate>
<div
class="max-w-(--breakpoint-sm) flex flex-col gap-8 p-8 bg-[url('/assets/images/Git-Logo-White.svg')] bg-no-repeat bg-top-right bg-origin-padding"
>
<!-- Header -->
<h1 class="mt-24 text-4xl font-bold text-red-500">
{{ $t('downloadGit.title') }}
</h1>
<!-- Message -->
<div class="space-y-4">
<p class="text-xl">
{{ $t('downloadGit.message') }}
</p>
<p class="text-xl">
{{ $t('downloadGit.instructions') }}
</p>
<p class="text-m">
{{ $t('downloadGit.warning') }}
</p>
</div>
<!-- Actions -->
<div class="flex gap-4 flex-row-reverse">
<Button
:label="$t('downloadGit.gitWebsite')"
icon="pi pi-external-link"
icon-pos="right"
severity="primary"
@click="openGitDownloads"
/>
<Button
:label="$t('downloadGit.skip')"
icon="pi pi-exclamation-triangle"
severity="secondary"
@click="skipGit"
/>
</div>
</div>
</BaseViewTemplate>
</template>
<script setup lang="ts">
import Button from 'primevue/button'
import { useRouter } from 'vue-router'
import BaseViewTemplate from '@/views/templates/BaseViewTemplate.vue'
const openGitDownloads = () => {
window.open('https://git-scm.com/downloads/', '_blank')
}
const skipGit = async () => {
console.warn('pushing')
const router = useRouter()
await router.push('install')
}
</script>