1
1
Fork 0

Initial commit

main
Midnight 2 years ago
commit 43f44d4243

@ -0,0 +1,13 @@
.DS_Store
node_modules
/build
/.svelte-kit
/package
.env
.env.*
!.env.example
# Ignore files for PNPM, NPM and YARN
pnpm-lock.yaml
package-lock.json
yarn.lock

@ -0,0 +1,20 @@
module.exports = {
root: true,
parser: '@typescript-eslint/parser',
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended', 'prettier'],
plugins: ['svelte3', '@typescript-eslint'],
ignorePatterns: ['*.cjs'],
overrides: [{ files: ['*.svelte'], processor: 'svelte3/svelte3' }],
settings: {
'svelte3/typescript': () => require('typescript')
},
parserOptions: {
sourceType: 'module',
ecmaVersion: 2020
},
env: {
browser: true,
es2017: true,
node: true
}
};

8
.gitignore vendored

@ -0,0 +1,8 @@
.DS_Store
node_modules
/build
/.svelte-kit
/package
.env
.env.*
!.env.example

@ -0,0 +1 @@
engine-strict=true

@ -0,0 +1,13 @@
.DS_Store
node_modules
/build
/.svelte-kit
/package
.env
.env.*
!.env.example
# Ignore files for PNPM, NPM and YARN
pnpm-lock.yaml
package-lock.json
yarn.lock

@ -0,0 +1,6 @@
{
"useTabs": true,
"singleQuote": true,
"trailingComma": "none",
"printWidth": 100
}

@ -0,0 +1,38 @@
# create-svelte
Everything you need to build a Svelte project, powered by [`create-svelte`](https://github.com/sveltejs/kit/tree/master/packages/create-svelte).
## Creating a project
If you're seeing this, you've probably already done this step. Congrats!
```bash
# create a new project in the current directory
npm init svelte
# create a new project in my-app
npm init svelte my-app
```
## Developing
Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server:
```bash
npm run dev
# or start the server and open the app in a new browser tab
npm run dev -- --open
```
## Building
To create a production version of your app:
```bash
npm run build
```
You can preview the production build with `npm run preview`.
> To deploy your app, you may need to install an [adapter](https://kit.svelte.dev/docs/adapters) for your target environment.

6018
package-lock.json generated

File diff suppressed because it is too large Load Diff

@ -0,0 +1,35 @@
{
"name": "alex-website",
"version": "0.0.1",
"scripts": {
"dev": "svelte-kit dev",
"build": "svelte-kit build",
"package": "svelte-kit package",
"preview": "svelte-kit preview",
"prepare": "svelte-kit sync",
"check": "svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-check --tsconfig ./tsconfig.json --watch",
"lint": "prettier --check --plugin-search-dir=. . && eslint .",
"format": "prettier --write --plugin-search-dir=. ."
},
"devDependencies": {
"@sveltejs/adapter-auto": "next",
"@sveltejs/kit": "next",
"@typescript-eslint/eslint-plugin": "^5.27.0",
"@typescript-eslint/parser": "^5.27.0",
"autoprefixer": "^10.4.7",
"eslint": "^8.16.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-svelte3": "^4.0.0",
"postcss": "^8.4.14",
"prettier": "^2.6.2",
"prettier-plugin-svelte": "^2.7.0",
"svelte": "^3.44.0",
"svelte-check": "^2.7.1",
"svelte-preprocess": "^4.10.7",
"tailwindcss": "^3.1.4",
"tslib": "^2.3.1",
"typescript": "^4.7.2"
},
"type": "module"
}

@ -0,0 +1,6 @@
module.exports = {
plugins: {
tailwindcss: {},
autoprefixer: {}
}
};

@ -0,0 +1,10 @@
@import url('https://fonts.googleapis.com/css2?family=MuseoModerno:wght@100;400;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,400;0,900;1,100;1,400;1,900&display=swap');
@tailwind base;
@tailwind components;
@tailwind utilities;
h1,h2,h3,h4 {
font-family: 'MuseoModerno', cursive;
}

11
src/app.d.ts vendored

@ -0,0 +1,11 @@
/// <reference types="@sveltejs/kit" />
// See https://kit.svelte.dev/docs/types#app
// for information about these interfaces
// and what to do when importing types
declare namespace App {
// interface Locals {}
// interface Platform {}
// interface Session {}
// interface Stuff {}
}

@ -0,0 +1,12 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="icon" href="%sveltekit.assets%/images/sticker1.png" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
%sveltekit.head%
</head>
<body>
<div>%sveltekit.body%</div>
</body>
</html>

@ -0,0 +1,5 @@
<main class="py-10">
<div class="container mx-auto">
Made by <a class="hover:underline" href="https://bartindustries.com/" target="_blank">Midblep</a>.
</div>
</main>

@ -0,0 +1,34 @@
<script>
import MenuItem from "./MenuItem.svelte";
import MenuTitle from "./MenuTitle.svelte";
</script>
<main class="flex gap-5 justify-between">
<section class="flex gap-3 items-end justify-start appear">
<MenuTitle text="AlexArcher" />
<MenuItem link="#about" text="About"/>
<MenuItem link="#socials" text="Socials"/>
<MenuItem link="#fursona" text="Fursona"/>
</section>
<section class="flex gap-3 items-end justify-end">
</section>
</main>
<style>
.appear {
animation: appear;
animation-duration: 0.5s;
animation-timing-function: ease-in-out;
}
@keyframes appear {
0% {
transform: translateY(-100px);
}
100% {
transform: translateY(0);
}
}
</style>

@ -0,0 +1,8 @@
<script lang="ts">
export let link: string|null = null;
export let text: string|null = null;
</script>
<a href={link} class="py-2 px-5 font-museo bg-red-500 bg-opacity-20 hover:bg-opacity-50 text-white duration-150">
{text}
</a>

@ -0,0 +1,7 @@
<script lang="ts">
export let text: string|null = null;
</script>
<div class="p-2 pt-10 font-museo bg-red-500 font-bold text-2xl text-white duration-150">
{text}
</div>

@ -0,0 +1,12 @@
<script lang="ts">
export let link: string;
export let text: string;
export let icon: string;
</script>
<a href={link} class="py-3 px-6 bg-red-500 bg-opacity-50 hover:bg-opacity-100 group hover:skew-y-3 duration-150" target="_blank">
<div class="flex gap-3 items-center group-hover:-skew-y-3 duration-150">
<span class="text-4xl">{icon}</span>
<span class="text-xl opacity-70">{text}</span>
</div>
</a>

@ -0,0 +1,19 @@
<script>
import Menu from "../lib/menu/Menu.svelte";
import "../app.css";
import Footer from "../lib/footer/Footer.svelte";
</script>
<main class="bg-zinc-900 min-h-screen flex flex-col text-white font-roboto">
<header class="container mx-auto">
<Menu/>
</header>
<div class="flex flex-col gap-10 my-20">
<slot />
</div>
<footer>
<Footer/>
</footer>
</main>

@ -0,0 +1,99 @@
<script>
import Social from "../lib/socials/Social.svelte";
</script>
<svelte:head>
<title>AlexArcher</title>
</svelte:head>
<main>
<section class="relative h-screen">
<div class="h-3/4 -z-1 absolute bg-zinc-800 shadow-xl w-screen slide"></div>
<div class="w-2/3 mx-auto py-32 flex gap-10" id="about">
<div class="flex flex-col gap-10 w-2/3 z-10 fade">
<h1 class="text-red-500 flex gap-5 items-end"><span class="font-bold text-6xl">Nya!</span> <span class="text-3xl">Welcome to the fire cat place!</span></h1>
<p class="w-3/4 text-xl text-gray-300">
It's really warm and cozy in here, wanna stay with me for a moment? I'm going to tell you a story about me... And I have cookies!
</p>
<br/>
<div class="flex gap-5">
<Social link="https://twitter.com/3D_AlexArcher" icon="🐦" text="Twitter"></Social>
<Social link="https://www.furaffinity.net/user/lazyfairy/" icon="🦊" text="FurAffinity"></Social>
<Social link="https://www.twitch.tv/3d_alexarcher" icon="📹" text="Twitch"></Social>
</div>
</div>
<div class="w-1/3 fade">
<img src="/images/frontpage.png" alt="Alex Fursona" class="-mt-20 float scale-150" />
</div>
</div>
</section>
<!-- <section class="grid grid-cols-2 gap-5 w-2/3 mx-auto h-screen">
<h1 class="font-bold text-right text-red-500 text-6xl">AlexArcher</h1>
<img src="/images/frontpage.png" alt="Alex Fursona" class="h-4/5 pushup" />
</section> -->
</main>
<style>
.float {
animation: float;
animation-duration: 3s;
animation-iteration-count: infinite;
animation-timing-function: ease-in-out;
}
@keyframes float {
0% {
transform: translateY(-5px) scale(150%);
}
50% {
transform: translateY(5px) scale(150%);
}
100% {
transform: translateY(-5px) scale(150%);
}
}
.fade {
animation: fade;
animation-duration: 0.5s;
animation-timing-function: ease-in-out;
}
@keyframes fade {
0% {
opacity: 0%;
}
50% {
opacity: 0%;
}
100% {
opacity: 100%;
}
}
.slide {
animation: slide;
animation-duration: 0.25s;
animation-timing-function: ease-in-out;
transform: skewY(-5deg);
}
@keyframes slide {
0% {
transform: translateX(-100vw) translateY(170px) skewY(-5deg);
}
100% {
transform: translateX(0) translateY(0) skewY(-5deg);
}
}
</style>

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 147 KiB

@ -0,0 +1,19 @@
import adapter from '@sveltejs/adapter-auto';
import preprocess from 'svelte-preprocess';
/** @type {import('@sveltejs/kit').Config} */
const config = {
// Consult https://github.com/sveltejs/svelte-preprocess
// for more information about preprocessors
preprocess: [
preprocess({
postcss: true
})
],
kit: {
adapter: adapter()
}
};
export default config;

@ -0,0 +1,12 @@
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./src/**/*.{html,js,svelte,ts}'],
theme: {
fontFamily: {
museo: ['MuseoModerno', 'sans-serif'],
roboto: ['Roboto', 'sans-serif']
},
extend: {}
},
plugins: []
};

@ -0,0 +1,13 @@
{
"extends": "./.svelte-kit/tsconfig.json",
"compilerOptions": {
"allowJs": true,
"checkJs": true,
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"resolveJsonModule": true,
"skipLibCheck": true,
"sourceMap": true,
"strict": true
}
}
Loading…
Cancel
Save