-
Notifications
You must be signed in to change notification settings - Fork 2
fix(SplashScreen): Change style of splashscreen #329
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
SpliiT
wants to merge
5
commits into
next
Choose a base branch
from
fix/SplashScreen
base: next
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
3737913
fix(SplashScreen): Change style of splashscreen
SpliiT caf8928
split component
SpliiT 30dea23
Merge branch 'next' of https://github.com/Geode-solutions/OpenGeodeWe…
SpliiT 194ef00
remove useless dep
SpliiT 683d1a2
Apply prepare changes
SpliiT File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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 |
|---|---|---|
| @@ -1,82 +1,49 @@ | ||
| <script setup> | ||
| import chemin from "@ogw_front/assets/img/energy_sobriety/chemin.png"; | ||
| import collegue from "@ogw_front/assets/img/energy_sobriety/collegue.png"; | ||
| import derniere from "@ogw_front/assets/img/energy_sobriety/derniere.png"; | ||
| import etincelle from "@ogw_front/assets/img/energy_sobriety/etincelle.png"; | ||
| import geste from "@ogw_front/assets/img/energy_sobriety/geste.png"; | ||
| import lampadaire from "@ogw_front/assets/img/energy_sobriety/lampadaire.png"; | ||
| import salon from "@ogw_front/assets/img/energy_sobriety/salon.png"; | ||
| import sobene from "@ogw_front/assets/img/energy_sobriety/sobene.png"; | ||
| import socle from "@ogw_front/assets/img/energy_sobriety/socle.png"; | ||
| import vert from "@ogw_front/assets/img/energy_sobriety/vert.png"; | ||
| import ying_yang from "@ogw_front/assets/img/energy_sobriety/ying_yang.png"; | ||
| const { logo } = defineProps({ | ||
| logo: { | ||
| type: String, | ||
| required: true, | ||
| }, | ||
| }); | ||
|
|
||
| import Carousel from "@ogw_front/components/Carousel"; | ||
| const show = ref(false); | ||
| const progress = ref(0); | ||
|
|
||
| const users_list = [ | ||
| { | ||
| name: "YING YANG", | ||
| logo: ying_yang, | ||
| }, | ||
| { | ||
| name: "CHEMIN", | ||
| logo: chemin, | ||
| }, | ||
| { | ||
| name: "SOBRIETE ENERGETIQUE", | ||
| logo: sobene, | ||
| }, | ||
| { | ||
| name: "VERT", | ||
| logo: vert, | ||
| }, | ||
| { | ||
| name: "LAMPADAIRE", | ||
| logo: lampadaire, | ||
| }, | ||
| { | ||
| name: "COLLEGUE", | ||
| logo: collegue, | ||
| }, | ||
| { | ||
| name: "ETINCELLE", | ||
| logo: etincelle, | ||
| }, | ||
| { | ||
| name: "GESTE", | ||
| logo: geste, | ||
| }, | ||
| { | ||
| name: "SOCLE", | ||
| logo: socle, | ||
| }, | ||
| { | ||
| name: "DERNIERE", | ||
| logo: derniere, | ||
| }, | ||
| { | ||
| name: "SALON", | ||
| logo: salon, | ||
| }, | ||
| ]; | ||
| onMounted(() => { | ||
| show.value = true; | ||
| }); | ||
| </script> | ||
|
|
||
| <template> | ||
| <v-row justify="center"> | ||
| <v-col cols="12" class="ma-3"> | ||
| <v-card loading> | ||
| <v-card-title class="text-center"> Microservices are starting... </v-card-title> | ||
| <v-card-subtitle class="text-center"> Why do you have to wait? </v-card-subtitle> | ||
| <v-card-text class="text-center"> | ||
| We start our microservices only on demand... and this takes a few minutes before you can | ||
| use our free app. | ||
| <br /> | ||
| This is aligned with our energy sobriety policy. So be patient | ||
| <v-icon color="primary" size="20"> mdi-emoticon-excited-outline </v-icon> | ||
| <br /> | ||
| <Carousel :items="users_list" /> | ||
| </v-card-text> | ||
| </v-card> | ||
| </v-col> | ||
| </v-row> | ||
| <v-overlay | ||
| v-model="show" | ||
| persistent | ||
| class="align-center justify-center" | ||
| style="background: rgba(5, 5, 5, 0.1); backdrop-filter: blur(8px)" | ||
| > | ||
| <v-sheet | ||
| position="fixed" | ||
| location="center" | ||
| height="100vh" | ||
| width="100vw" | ||
| color="transparent" | ||
| class="bg-grid-pattern" | ||
| style="z-index: -1" | ||
| /> | ||
|
|
||
| <v-container class="text-center" style="max-width: 650px"> | ||
| <LoadingHeader :logo="logo" /> | ||
| <LoadingEcoMessages /> | ||
| <LoadingProgress :progress="progress" /> | ||
| <LoadingFooter /> | ||
| </v-container> | ||
| </v-overlay> | ||
| </template> | ||
|
|
||
| <style scoped> | ||
| .bg-grid-pattern { | ||
| background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 0); | ||
| background-size: 40px 40px; | ||
| background-position: center; | ||
| } | ||
| </style> | ||
This file contains hidden or 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,76 @@ | ||
| <script setup> | ||
| const ecoMessages = [ | ||
| { | ||
| icon: "mdi-leaf", | ||
| title: "Why the wait?", | ||
| message: "Your workspace starts on demand, no idle servers running 24/7.", | ||
| }, | ||
| { | ||
| icon: "mdi-lightning-bolt-outline", | ||
| title: "Lower carbon footprint", | ||
| message: "On-demand computing uses up to 70% less energy than always-on servers.", | ||
| }, | ||
| { | ||
| icon: "mdi-earth", | ||
| title: "Your choice matters", | ||
| message: "By using Vease, you're part of a more sustainable way to work with data.", | ||
| }, | ||
| ]; | ||
|
|
||
| const currentMessage = ref(0); | ||
| let interval = null; | ||
|
|
||
| onMounted(() => { | ||
| interval = setInterval(() => { | ||
| currentMessage.value = (currentMessage.value + 1) % ecoMessages.length; | ||
| }, 3000); | ||
| }); | ||
|
|
||
| onUnmounted(() => { | ||
| clearInterval(interval); | ||
| }); | ||
| </script> | ||
|
|
||
| <template> | ||
| <v-sheet color="transparent" height="160" class="position-relative overflow-visible mb-4"> | ||
| <v-scroll-y-reverse-transition mode="out-in"> | ||
| <v-card | ||
| :key="currentMessage" | ||
| rounded="lg" | ||
| class="pa-6 border mx-auto" | ||
| color="rgba(255, 255, 255, 0.05)" | ||
| elevation="0" | ||
| style="border-color: rgba(255, 255, 255, 0.1) !important" | ||
| > | ||
| <v-card-title | ||
| class="d-flex align-center ga-3 pa-0 mb-3 text-subtitle-1 font-weight-bold text-white text-wrap" | ||
| > | ||
| <v-icon | ||
| :icon="ecoMessages[currentMessage].icon" | ||
| color="white" | ||
| size="22" | ||
| style="filter: drop-shadow(0 0 6px rgba(var(--v-theme-primary), 0.6))" | ||
| /> | ||
| {{ ecoMessages[currentMessage].title }} | ||
| </v-card-title> | ||
| <v-card-text | ||
| class="pa-0 text-body-2 text-white text-left" | ||
| style="opacity: 0.85; line-height: 1.7" | ||
| > | ||
| {{ ecoMessages[currentMessage].message }} | ||
| </v-card-text> | ||
| </v-card> | ||
| </v-scroll-y-reverse-transition> | ||
|
|
||
| <v-row justify="center" class="ga-3 mt-6"> | ||
| <v-icon | ||
| v-for="(_, index) in ecoMessages" | ||
| :key="index" | ||
| size="10" | ||
| :color="index <= currentMessage ? 'white' : 'white'" | ||
| :icon="index === currentMessage ? 'mdi-circle' : 'mdi-circle-outline'" | ||
| :style="{ opacity: index <= currentMessage ? 1 : 0.25 }" | ||
| /> | ||
| </v-row> | ||
| </v-sheet> | ||
| </template> | ||
This file contains hidden or 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,13 @@ | ||
| <template> | ||
| <v-card | ||
| color="transparent" | ||
| elevation="0" | ||
| class="mt-8 d-flex align-center justify-center ga-2 text-white" | ||
| style="opacity: 0.6; letter-spacing: 0.08em" | ||
| > | ||
| <v-icon icon="mdi-leaf" size="14" /> | ||
| <v-card-text class="pa-0 text-caption font-weight-medium" style="flex: none"> | ||
| On-demand infrastructure greener by design | ||
| </v-card-text> | ||
| </v-card> | ||
| </template> |
This file contains hidden or 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,41 @@ | ||
| <script setup> | ||
| const { logo } = defineProps({ | ||
| logo: { | ||
| type: String, | ||
| required: true, | ||
| }, | ||
| }); | ||
| </script> | ||
|
|
||
| <template> | ||
| <v-row justify="center" class="mb-8"> | ||
| <v-img | ||
| :src="logo" | ||
| height="180" | ||
| width="180" | ||
| style="filter: drop-shadow(0 0 20px rgba(var(--v-theme-primary), 0.4))" | ||
| /> | ||
| </v-row> | ||
|
|
||
| <v-card color="transparent" elevation="0" class="mb-8 overflow-visible"> | ||
| <v-card-title | ||
| class="text-h2 font-weight-black text-white text-wrap pa-0 d-block" | ||
| style="text-shadow: 0 0 20px rgba(255, 255, 255, 0.3)" | ||
| > | ||
| STARTING UP | ||
| </v-card-title> | ||
| <v-divider thickness="3" class="border-opacity-100 mx-auto my-4" color="primary" width="60" /> | ||
| <v-card-subtitle | ||
| class="text-subtitle-2 font-weight-bold text-white ls-widest pa-0 text-wrap" | ||
| style="opacity: 0.9" | ||
| > | ||
| YOUR WORKSPACE IS WAKING UP... | ||
| </v-card-subtitle> | ||
| </v-card> | ||
| </template> | ||
|
|
||
| <style scoped> | ||
| .ls-widest { | ||
| letter-spacing: 0.6em !important; | ||
| } | ||
| </style> |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.