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
| <script lang="ts"> | |
| /** | |
| * WatchlistPagination Component | |
| * | |
| * A smart pagination component that handles large page counts by showing | |
| * a condensed view with ellipses. | |
| * | |
| * Core Behavior: | |
| * - Always shows the first page (1) and the last page (totalPages). | |
| * - Near the start (pages 1-3): Shows first 5 pages, then ellipsis, then last page. |
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
| <NekoComponent | |
| nekoId={1} | |
| nekoSize={NekoSizeVariations.SMALL} | |
| origin={{ x: -50, y: -50 }} | |
| speed={15} | |
| defaultState="awake" | |
| distanceFromMouse={72} | |
| /> |
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
| <script lang="ts"> | |
| import HybridShader from '$lib/components/landing/HybridShader.svelte'; | |
| import { onMount } from 'svelte'; | |
| import type { Component } from 'svelte'; | |
| let HybridShaderComp = $state<Component | null>(null); | |
| onMount(async () => { | |
| const m = await import('$lib/components/landing/HybridShader.svelte'); | |
| HybridShaderComp = m.default; |
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
| <SplashCursor | |
| SPLAT_FORCE={8000} | |
| COLOR_UPDATE_SPEED={15} | |
| CURL={5} | |
| /> |
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
| export const countryCodes = [ | |
| { id: '1', label: 'Afghanistan (+93)', value: '+93', countryFlag: 'π¦π«' }, | |
| { id: '2', label: 'Albania (+355)', value: '+355', countryFlag: 'π¦π±' }, | |
| { id: '3', label: 'Algeria (+213)', value: '+213', countryFlag: 'π©πΏ' }, | |
| { id: '4', label: 'American Samoa (+1 684)', value: '+1684', countryFlag: 'πΊπΈ' }, | |
| { id: '5', label: 'Andorra (+376)', value: '+376', countryFlag: 'π¦π©' }, | |
| { id: '6', label: 'Angola (+244)', value: '+244', countryFlag: 'π¦π΄' }, | |
| { id: '7', label: 'Anguilla (+1 264)', value: '+1264', countryFlag: 'π¬π§' }, | |
| { id: '8', label: 'Antigua and Barbuda (+1 268)', value: '+1268', countryFlag: 'π¬π§' }, | |
| { id: '9', label: 'Argentina (+54)', value: '+54', countryFlag: 'π¦π·' }, |
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
| { | |
| "version": 1, | |
| "data": { | |
| "1491148717": { | |
| "am": "https://panels-cdn.imgix.net/static/artists/a~adammolina/AdamMolina.jpg?crop=faces%2Ccenter&expires=1728262583176&fit=crop&fm=avif&h=144&w=144&s=0eb2857e5f08fae5a9cda8695a217a4f", | |
| "as": "https://panels-cdn.imgix.net/static/artists/a~adammolina/AdamMolina.jpg?crop=faces%2Ccenter&expires=1728262583176&fit=crop&fm=avif&h=98&w=98&s=bcaee12443f9753e9a4c45b242999b41" | |
| }, | |
| "327195036": { | |
| "am": "https://panels-cdn.imgix.net/static/artists/a~anaispays/profile.png?crop=faces%2Ccenter&expires=1728262583176&fit=crop&fm=avif&h=144&w=144&s=4a2e305d849407f27c5e37baaeec9b19", | |
| "as": "https://panels-cdn.imgix.net/static/artists/a~anaispays/profile.png?crop=faces%2Ccenter&expires=1728262583176&fit=crop&fm=avif&h=98&w=98&s=d68bca297305b6a1957445dc6c065786" |
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
| package com.<company-name>.<app-name>.ui.theme | |
| import androidx.compose.ui.graphics.Color | |
| val Red50 = Color(0xFFFFEBEE) | |
| val Red100 = Color(0xFFFFCDD2) | |
| val Red200 = Color(0xFFEF9A9A) | |
| val Red300 = Color(0xFFE57373) | |
| val Red400 = Color(0xFFEF5350) | |
| val Red500 = Color(0xFFF44336) |
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
| // Entire Background | |
| Icon( | |
| modifier = Modifier | |
| .align(alignment = Alignment.TopEnd) | |
| .padding(top = 8.dp, end = 6.dp) | |
| .size(24.dp) | |
| .drawBehind { | |
| val shadowColor = Color.Black | |
| .copy(alpha = 0.25f) | |
| .toArgb() |
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
| public class MainActivity extends AppCompatActivity { | |
| ViewPager2 viewPager2; | |
| private Handler headerHandler = new Handler(); | |
| @Override | |
| protected void onCreate(Bundle savedInstanceState) { | |
| super.onCreate(savedInstanceState); | |
| setContentView(R.layout.activity_main); | |
NewerOlder