Skip to content

Commit

Permalink
Merge pull request #28 from parchlinux/global_refactor_of_project_str…
Browse files Browse the repository at this point in the history
…ucture

Global refactor of project structure
  • Loading branch information
behdanisohrab authored May 12, 2024
2 parents 48d97cd + 137cd83 commit ac4a93b
Show file tree
Hide file tree
Showing 12 changed files with 35 additions and 1,995 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

yarn.lock
node_modules
.DS_Store
dist/
Expand Down
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 removed logo-white.png
Binary file not shown.
Binary file removed logo.png
Binary file not shown.
2 changes: 1 addition & 1 deletion public/assets/css/common.css
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down
22 changes: 19 additions & 3 deletions public/assets/css/pages/home.css
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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;
}
}
1 change: 0 additions & 1 deletion public/assets/css/print.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
@media print {

.topBar,
.siteFooter,
.page-actions,
Expand Down
1 change: 0 additions & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 0 additions & 2 deletions src/router/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
15 changes: 8 additions & 7 deletions src/views/Home.vue
Original file line number Diff line number Diff line change
@@ -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>
Expand Down Expand Up @@ -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>
Expand All @@ -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"
Expand Down Expand Up @@ -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"
Expand All @@ -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.
Expand Down
2 changes: 0 additions & 2 deletions src/views/Team.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
Loading

0 comments on commit ac4a93b

Please sign in to comment.