Merge pull request #28 from parchlinux/global_refactor_of_project_structure

Global refactor of project structure
This commit is contained in:
Sohrab Behdani 2024-05-12 18:57:02 +03:30 committed by GitHub
commit ac4a93bff1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 35 additions and 1995 deletions

1
.gitignore vendored
View file

@ -7,6 +7,7 @@ yarn-error.log*
pnpm-debug.log*
lerna-debug.log*
yarn.lock
node_modules
.DS_Store
dist/

View file

@ -4,4 +4,9 @@
Forked From [Vanilla OS website](https://github.com/vanilla-os).
No details for now.
## Setup Development
```bash
npm install
npm run dev
```

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6 KiB

BIN
logo.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6 KiB

View file

@ -1,6 +1,6 @@
:root {
--base-shadow: 0px 10px 34px 0px rgba(0, 0, 0, 0.15);
color-scheme: light dark;
color-scheme: dark;
}
html {

View file

@ -4,15 +4,15 @@
@media screen and (max-width: 1100px) {
#context .hero .hero-heading {
margin-top: 20px;
margin-top: 20px !important;
}
#context .hero .hero-content {
max-width: 90%;
max-width: 90% !important;
}
#context .hero.hero-block .hero-content {
padding: 0 50px;
padding: 0 20px !important;
}
#context #about.hero .hero-wrapper,
@ -37,4 +37,20 @@
#context .hero#security .hero-image {
width: 300px;
}
#context .hero .text {
font-size: 22px;
}
#context .container {
padding: 0px !important;
}
#context .hero:first-child() {
padding: 0px !important;
}
#context .hero {
padding: 0 25px !important;
}
}

View file

@ -1,5 +1,4 @@
@media print {
.topBar,
.siteFooter,
.page-actions,

View file

@ -6,7 +6,6 @@ import createRouterInstance from './router'
import ComponentLoader from "@/components/loader";
export function createApp(clientType: string) {
console.log('creating new app instance')
const app = createSSRApp(App)
const head = createHead()
const router = createRouterInstance(clientType)

View file

@ -3,8 +3,6 @@ import { useHead } from 'unhead'
export default function createRouterInstance(clientType: string) {
console.log('creating new router instance')
const history = clientType === 'server'
? createMemoryHistory(import.meta.env.BASE_URL)
: createWebHistory(import.meta.env.BASE_URL);

View file

@ -1,8 +1,8 @@
<template>
<section class="hero hero--big hero--no-margin" id="intro">
<div class="hero-wrapper container">
<img class="hero-image onFocus on-dark" data-focus-class="fadeInLeft"
src="/assets/images/backgrounds/parch-desktop-hero.png" alt="Parch Linux" />
<img class="hero-image on-dark" src="/assets/images/backgrounds/parch-desktop-hero.png"
alt="Parch Linux" />
<article class="hero-content">
<header class="hero-heading">
<h2>Parch Linux <span>is your next Operating System.</span></h2>
@ -50,8 +50,8 @@
<div id="context">
<section class="hero hero--inverted hero--big" id="about">
<div class="hero-wrapper container">
<img class="hero-image onFocus" data-focus-class="fadeInRight" src="/assets/images/backgrounds/parch-neofetch.png"
alt="Why Parch..." />
<img class="hero-image onFocus" data-focus-class="fadeInRight"
src="/assets/images/backgrounds/parch-neofetch.png" alt="Why Parch..." />
<article class="hero-content">
<header class="hero-heading">
<h2 class="color--work-1">About</h2>
@ -72,7 +72,7 @@
</article>
</div>
</section>
<section class="hero hero--inverted hero--big" id="security">
<div class="hero-wrapper hero-wrapper-rtl container">
<img class="hero-image onFocus" data-focus-class="fadeInLeft" src="/assets/images/icons/security.png"
@ -101,7 +101,7 @@
</article>
</div>
</section>
<section class="hero hero-block" id="rolling_release">
<div class="container">
<img class="hero-image onFocus" data-focus-class="fadeInZoom"
@ -116,7 +116,8 @@
<br />
<br />
The rolling release model might sound daunting, but fear not! Parch Linux, built on the robust Arch Linux
foundation, is meticulously maintained to ensure update stability. Additionally, our supportive community is
foundation, is meticulously maintained to ensure update stability. Additionally, our supportive community
is
always available to assist you with any update-related questions or concerns. With Parch Linux, you can
enjoy
the benefits of cutting-edge software without compromising on system stability.

View file

@ -35,8 +35,6 @@ export default defineComponent({
const url = "https://raw.githubusercontent.com/parchlinux/GetContributors/main/json/core_members.json";
const teamRequest = await fetch(url)
const team = await teamRequest.json();
console.log(team);
const teamItems = [];
for (const member of team) {

1977
yarn.lock

File diff suppressed because it is too large Load diff