Skip to content

Commit

Permalink
[Improve]: login page style
Browse files Browse the repository at this point in the history
  • Loading branch information
wangsizhu0504 committed Sep 26, 2024
1 parent c5c0f71 commit fbd5f8b
Show file tree
Hide file tree
Showing 6 changed files with 47 additions and 19 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,9 @@ export const DOC_URL = 'https://streampark.apache.org/docs/get-started/intro';

// site url
export const SITE_URL = 'https://streampark.apache.org';

// twitter url
export const TWITTER_URL = 'https://x.com/ASFStreampark';

// email url
export const EMAIL_URL = 'https://lists.apache.org/[email protected]';
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
:showText="false"
/>
</div>
<div class="w-full relative h-[calc(100%-120px)] min-h-700px flex items-center section">
<div class="w-full relative h-[calc(100%-70px)] min-h-700px flex items-center section">
<div class="scribble-box w-[80%] h-full absolute overflow-hidden">
<figure class="scribble scale-2 !opacity-10 top-50 left-0">
<SvgIcon name="block" class="text-secondary" :size="200" />
Expand Down Expand Up @@ -59,14 +59,38 @@
</div>
</div>
<footer class="w-1150px m-auto text-center bg-transparent opacity-60">
<a href="https://incubator.apache.org/" target="_blank" class="w-200px m-auto inline-block">
<img
src="/@/assets/svg/apache-incubator.svg"
alt="Apache Incubator logo"
class="w-200px my-10px mx-auto"
/>
</a>
<p class="text-light-100 pt-10px" style="border-top: 1px solid #dad7d7">
<div class="flex items-center justify-center">
<a
:href="TWITTER_URL"
target="_blank"
class="text-light-100 mx-3 cursor-pointer hover:text-light-400 dark:text-light-100"
>
<Icon icon="hugeicons:new-twitter" />
</a>
<div class="mx-3 text-light-100 cursor-pointer">
<Popover placement="top" trigger="hover" arrow-point-at-center>
<template #content>
<img src="/@/assets/images/join_wechat.png" alt="qrcode" class="h-150px w-150px" />
</template>
<Icon icon="cib:wechat" />
</Popover>
</div>
<a
:href="EMAIL_URL"
target="_blank"
class="text-light-100 mx-3 cursor-pointer hover:text-light-100 dark:text-light-100"
>
<Icon icon="ic:round-email" />
</a>
<a
:href="GITHUB_URL"
target="_blank"
class="text-light-100 mx-3 cursor-pointer hover:text-light-100 dark:text-light-100"
>
<Icon icon="ant-design:github-filled" />
</a>
</div>
<p class="text-light-100 pt-10px">
Copyright © 2022-{{ `${new Date().getFullYear()}` }} The Apache Software Foundation. Apache
StreamPark, StreamPark, and its feather logo are trademarks of The Apache Software
Foundation.
Expand All @@ -78,10 +102,11 @@
import LoginForm from './LoginForm.vue';
import LoginSlogan from './LoginSlogan';
import { useDesign } from '/@/hooks/web/useDesign';
import { Row, Col } from 'ant-design-vue';
import { SvgIcon } from '/@/components/Icon';
import { Row, Popover, Col } from 'ant-design-vue';
import Icon, { SvgIcon } from '/@/components/Icon';
import { useLocale } from '/@/locales/useLocale';
import { AppLocalePicker } from '/@/components/Application';
import { GITHUB_URL, EMAIL_URL, TWITTER_URL } from '/@/settings/siteSetting';
defineProps({
sessionTimeout: {
type: Boolean,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<template>
<div class="enter-x mb-50px text-light-50">
<div class="text-center enter-x">
<img class="logo w-160px mx-auto my-20px" src="/@/assets/images/logo.png" />
<img class="logo mx-auto my-20px" src="/@/assets/images/logo-text.png" />
</div>
</div>
<Form
Expand All @@ -41,7 +41,7 @@
</template>
</Input>
</FormItem>
<FormItem name="password" class="enter-x">
<FormItem name="password" class="enter-x !mt-30px">
<InputPassword
visibilityToggle
size="large"
Expand All @@ -53,7 +53,6 @@
</template>
</InputPassword>
</FormItem>

<FormItem class="enter-x">
<Button
type="primary"
Expand Down Expand Up @@ -87,6 +86,7 @@
import { useI18n } from '/@/hooks/web/useI18n';
import { useMessage } from '/@/hooks/web/useMessage';
import { useUserStore } from '/@/store/modules/user';
import {
LoginStateEnum,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -170,9 +170,9 @@
}

.system_info .project_title {
font-size: 3.5875rem;
font-size: 4.5rem;
margin-bottom: 15px;
font-weight: bolder;
font-weight: lighter;
line-height: 6rem;
}

Expand Down Expand Up @@ -200,7 +200,6 @@
font-size: 0.875rem;
font-weight: 600;
padding: 1rem 1.5rem;
border-radius: 6px;
line-height: 1;
text-transform: uppercase;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ import { defineComponent } from 'vue';
import './LoginSlogan.less';
import Icon from '/@/components/Icon';
import { version } from '../../../../package.json';

export default defineComponent({
name: 'LoginSlogan',
setup() {
Expand Down Expand Up @@ -53,7 +52,6 @@ export default defineComponent({
StreamPark
</span>
</div>
<span class="badge bg-secondary-home text-xl tag">Incubating</span>
</div>
</div>
<p class=" text-light-200 leading-40px" style={{ fontSize: '18px' }}>
Expand Down

0 comments on commit fbd5f8b

Please sign in to comment.