forked from misskey-dev/misskey
-
Notifications
You must be signed in to change notification settings - Fork 11
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
10 changed files
with
97 additions
and
6 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,20 @@ | ||
LICENSE | ||
------- | ||
|
||
The following files: | ||
|
||
- misskey-io.png | ||
|
||
are owned by MisskeyHQ and are subject to copyright, with all rights reserved by MisskeyHQ. These files may not be redistributed, modified, or reused in any way without explicit permission from MisskeyHQ. | ||
|
||
Copyright (c) 2024 MisskeyHQ | ||
|
||
All rights reserved. | ||
|
||
This digital asset and related documentation are the property of MisskeyHQ. | ||
|
||
Permission is hereby granted to the user of this digital asset and related documentation to use, copy, and publish the asset for any purpose, provided that this notice and disclaimer of warranty appears in all copies. The user is expressly prohibited from distributing, sublicensing, selling, reselling, or transferring the asset for profit. Any form of modification or tampering with the asset is strictly prohibited. | ||
|
||
IN NO EVENT SHALL MISSKEYHQ BE LIABLE FOR ANY DAMAGES WHATSOEVER, INCLUDING BUT NOT LIMITED TO DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES, ARISING OUT OF THE USE, COPYING, PUBLISHING, OR MODIFICATION OF THIS ASSET. | ||
|
||
NO WARRANTIES OF ANY KIND ARE OFFERED FOR THIS ASSET. THIS ASSET IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK. |
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,12 @@ | ||
LICENSE | ||
------- | ||
|
||
Copyright (c) by [さわらつき](https://github.com/SAWARATSUKI) | ||
|
||
The following files: | ||
|
||
- about-icon.png | ||
|
||
are licensed under a Creative Commons Attribution 4.0 International License. | ||
These files SHOULD NOT be considered as a part of the this project that has licensed under AGPL-3.0-only | ||
You should have received a copy of the license along with this work. If not, see <https://creativecommons.org/licenses/by/4.0/>. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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 |
---|---|---|
|
@@ -6,7 +6,8 @@ SPDX-License-Identifier: AGPL-3.0-only | |
<template> | ||
<div v-if="instance" :class="$style.root"> | ||
<div :class="[$style.main, $style.panel]"> | ||
<img :src="instance.iconUrl || '/favicon.ico'" alt="" :class="$style.mainIcon"/> | ||
<img v-if="miLocalStorage.getItem('kawaii')" src="/client-assets/kawaii/misskey-io.png" alt="Logo by @[email protected]" :class="$style.mainIconAlt"/> | ||
<img v-else :src="instance.iconUrl || '/favicon.ico'" alt="" :class="$style.mainIcon"/> | ||
<button class="_button _acrylic" :class="$style.mainMenu" @click="showMenu"><i class="ti ti-dots"></i></button> | ||
<div :class="$style.mainFg"> | ||
<h1 :class="$style.mainTitle"> | ||
|
@@ -81,6 +82,7 @@ import * as os from '@/os.js'; | |
import { misskeyApi } from '@/scripts/misskey-api.js'; | ||
import { i18n } from '@/i18n.js'; | ||
import { instance } from '@/instance.js'; | ||
import { miLocalStorage } from '@/local-storage.js'; | ||
import MkNumber from '@/components/MkNumber.vue'; | ||
import XActiveUsersChart from '@/components/MkVisitorDashboard.ActiveUsersChart.vue'; | ||
import { openInstanceMenu } from '@/ui/_common_/common'; | ||
|
@@ -139,6 +141,13 @@ function exploreOtherServers() { | |
filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.5)); | ||
} | ||
.mainIconAlt { | ||
width: 85%; | ||
margin-top: -47px; | ||
vertical-align: bottom; | ||
filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.5)); | ||
} | ||
.mainMenu { | ||
position: absolute; | ||
top: 16px; | ||
|
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
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 |
---|---|---|
|
@@ -11,7 +11,9 @@ SPDX-License-Identifier: AGPL-3.0-only | |
<div class="_gaps_m znqjceqz"> | ||
<div v-panel class="about"> | ||
<div ref="containerEl" class="container" :class="{ playing: easterEggEngine != null }"> | ||
<img src="/client-assets/about-icon.png" alt="" class="icon" draggable="false" @load="iconLoaded" @click="gravity"/> | ||
<img v-if="miLocalStorage.getItem('kawaii')" src="/client-assets/kawaii/about-icon.png" alt="" class="iconAlt" draggable="false" @load="iconLoaded" @click="gravity"/> | ||
<img v-else src="/client-assets/about-icon.png" alt="" class="icon" draggable="false" @load="iconLoaded" @click="gravity"/> | ||
<Mfm v-if="miLocalStorage.getItem('kawaii')" text="Logo by @[email protected]" class="iconCredit"/> | ||
<div class="misskey">Misskey</div> | ||
<div class="version">v{{ version }}</div> | ||
<span v-for="emoji in easterEggEmojis" :key="emoji.id" class="emoji" :data-physics-x="emoji.left" :data-physics-y="emoji.top" :class="{ _physics_circle_: !emoji.emoji.startsWith(':') }"> | ||
|
@@ -137,6 +139,7 @@ import { physics } from '@/scripts/physics.js'; | |
import { i18n } from '@/i18n.js'; | ||
import { instance } from '@/instance.js'; | ||
import { defaultStore } from '@/store.js'; | ||
import { miLocalStorage } from '@/local-storage.js'; | ||
import * as os from '@/os.js'; | ||
import { definePageMetadata } from '@/scripts/page-metadata.js'; | ||
import { claimAchievement, claimedAchievements } from '@/scripts/achievements.js'; | ||
|
@@ -443,6 +446,21 @@ definePageMetadata(() => ({ | |
z-index: 1; | ||
} | ||
> .iconAlt { | ||
display: block; | ||
width: 85%; | ||
margin: 0 auto; | ||
position: relative; | ||
z-index: 1; | ||
} | ||
> .iconCredit { | ||
margin: 0 auto; | ||
width: max-content; | ||
position: relative; | ||
z-index: 1; | ||
} | ||
> .misskey { | ||
margin: 0.75em auto 0 auto; | ||
width: max-content; | ||
|
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
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