Skip to content

Commit

Permalink
feat: authenticity information
Browse files Browse the repository at this point in the history
  • Loading branch information
OCDkirby committed Nov 21, 2023
1 parent 0adccdc commit 85b5b04
Showing 1 changed file with 26 additions and 1 deletion.
27 changes: 26 additions & 1 deletion src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@ import 'vfonts/FiraSans.css';
import { defineComponent, ref } from 'vue';
import { GlobalThemeOverrides, darkTheme, NLayout, NCarousel } from 'naive-ui'
import { GlobalThemeOverrides, darkTheme, NLayout, NCarousel, NText, NAlert } from 'naive-ui'
import { BuiltInGlobalTheme } from 'naive-ui/es/themes/interface';
import { CardThemeVars } from 'naive-ui/es/card/styles';
import { TypographyThemeVars } from 'naive-ui/es/typography/styles';
import { GradientTextThemeVars } from 'naive-ui/es/gradient-text/styles';
import { MenuThemeVars } from 'naive-ui/es/menu/styles';
import { ButtonThemeVars } from 'naive-ui/es/button/styles';
import { AlertThemeVars } from 'naive-ui/es/alert/styles';
const menuOverrides: Partial<MenuThemeVars> = {
fontSize: '12pt',
Expand Down Expand Up @@ -121,6 +122,10 @@ const darkThemeOverrides: GlobalThemeOverrides = {
<Suspense>
<TopBarMenu :themex="theme" :toggle="toggleTheme" />
</Suspense>
<n-alert title="Important" type="warning" closable>
<n-text class="alert-text">This is the only official RPCSX site. others such as rpcsx.com are not affiliated
with RPCSX.</n-text>
</n-alert>
<div class="columns">
<div id="main-column" class="column">
<div class="top-main">
Expand Down Expand Up @@ -149,6 +154,8 @@ const darkThemeOverrides: GlobalThemeOverrides = {
<img class="carousel-img" src="/assets/sample-1.png">
<img class="carousel-img" src="/assets/steamydeck.jpg">
</n-carousel>
<n-divider />
<n-text class="copyright-text">© {{ new Date().getFullYear() }} - RPCSX (the real one)</n-text>
</div>
</div>
</n-layout>
Expand All @@ -172,6 +179,23 @@ const darkThemeOverrides: GlobalThemeOverrides = {
margin: 0px 16px;
}
.copyright-text {
display: flex;
align-self: flex-start;
padding-left: 10%;
font-weight: bold;
font-size: 12pt;
}
.n-alert {
margin: 8px 10%
}
.alert-text {
font-weight: bold;
font-size: 12pt;
}
.carousel-img {
width: 100%;
height: 100%;
Expand Down Expand Up @@ -201,6 +225,7 @@ const darkThemeOverrides: GlobalThemeOverrides = {
.bottom-portion-wrapper {
margin-top: 30px;
gap: 16px;
display: flex;
flex-flow: column nowrap;
align-items: center;
Expand Down

0 comments on commit 85b5b04

Please sign in to comment.