-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
695 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<script lang="ts" setup> | ||
defineProps({ | ||
title: String, | ||
content: Array<String>, | ||
favicon: String, | ||
lang: String, | ||
}) | ||
</script> | ||
|
||
<template> | ||
<div class="h-full w-full flex flex-col justify-between bg-white p-60px text-60px"> | ||
<div class="flex flex-col"> | ||
<div class="flex items-center text-40px font-bold" :lang="lang ? lang : 'zh-CN'"> | ||
{{ title }} | ||
</div> | ||
|
||
<div class="h-320px flex flex-col overflow-hidden pt-30px text-30px"> | ||
<div v-for="(c, i) in content" :key="i" class="flex" :lang="lang ? lang : 'zh-CN'"> | ||
{{ c }} | ||
</div> | ||
</div> | ||
</div> | ||
<div class="flex items-center justify-end text-24px"> | ||
<div class="icon-ph:shooting-star-light?w=64&h=64" /> | ||
<img | ||
v-if="favicon" | ||
alt="favicon" | ||
width="64" | ||
height="64" | ||
:src="favicon" | ||
class="rounded" | ||
> | ||
</div> | ||
</div> | ||
</template> |
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,40 @@ | ||
<script lang="ts" setup> | ||
defineProps({ | ||
avator: String, | ||
name: String, | ||
screenName: String, | ||
content: Array<String>, | ||
pubTime: String, | ||
lang: String, | ||
}) | ||
</script> | ||
|
||
<template> | ||
<div class="h-full w-full flex flex-col justify-between bg-white p-60px text-60px"> | ||
<div class="flex flex-col"> | ||
<div class="flex items-center"> | ||
<img | ||
alt="avatar" | ||
width="120" | ||
height="120" | ||
:src="avator" | ||
class="rounded-full" | ||
> | ||
<div class="ml-20px flex flex-col text-40px"> | ||
<span :lang="lang ? lang : 'zh-CN'">{{ name }}</span> | ||
<span :lang="lang ? lang : 'zh-CN'">{{ `@${screenName}` }}</span> | ||
</div> | ||
</div> | ||
|
||
<div class="h-320px flex flex-col overflow-hidden pt-30px text-30px"> | ||
<div v-for="(c, i) in content" :key="i" class="flex" :lang="lang ? lang : 'zh-CN'"> | ||
{{ c }} | ||
</div> | ||
</div> | ||
</div> | ||
<div class="flex items-center justify-between text-24px text-[#1DA1F2]"> | ||
<span class="text-[#586069]">{{ pubTime }}</span> | ||
<div class="icon-carbon:logo-twitter?w=64&h=64 flex" /> | ||
</div> | ||
</div> | ||
</template> |
Oops, something went wrong.
fb802c1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
star-nexus – ./
star-nexus-larchliu.vercel.app
star-nexus.vercel.app
star-nexus-git-main-larchliu.vercel.app