Skip to content

Commit

Permalink
third time's the charm
Browse files Browse the repository at this point in the history
  • Loading branch information
Siddhartha Mishra authored and Siddhartha Mishra committed Oct 29, 2024
2 parents a4b7277 + 890ee0d commit 3131231
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 25 deletions.
4 changes: 2 additions & 2 deletions deploy.yml → .github/workflows/.gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
uses: actions/upload-pages-artifact@v3
with:
# Upload dist folder
path: './dist'
path: 'dist'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
uses: actions/deploy-pages@v4
26 changes: 13 additions & 13 deletions dist/assets/index-C4_kjcaI.js → dist/assets/index-BObCMZmA.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/assets/logo-D2-UyS0I.png" /> <!-- tab logo -->
<link rel="icon" type="image/svg+xml" href="/megha-bhattarai/assets/logo-D2-UyS0I.png" /> <!-- tab logo -->
<link rel="stylesheet" href="/style.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Megha Bhattarai - Bagaicha</title>
<script type="module" crossorigin src="/assets/index-C4_kjcaI.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-CAVoFpQC.css">
<script type="module" crossorigin src="/megha-bhattarai/assets/index-BObCMZmA.js"></script>
<link rel="stylesheet" crossorigin href="/megha-bhattarai/assets/index-CAVoFpQC.css">
</head>
<body>
<div id="root"></div>
Expand Down
2 changes: 1 addition & 1 deletion src/components/AboutAuthor/abouthauthor.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export default function AboutAuthor() {
<h2 className="authorH2">Megha's Story</h2>
</div>
<div className="storySection">
<img src="/src/assets/meghadp.png" alt='megha profile picture' className='authorImg' />
<img src="assets/meghadp.png" alt='megha profile picture' className='authorImg' />
<div className='storyPara'>
<p>Megha is a passionate writer whose love for words began at a young age. Always drawn to the beauty of emotions, she started expressing herself through poetry, finding comfort in weaving together thoughts and feelings. She believes in the power of vulnerability and strives to create a space where readers can feel seen, understood, and connected through her words.
<br/>
Expand Down
2 changes: 1 addition & 1 deletion src/components/AboutBook/aboutbook.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default function AboutBook() {
return (
<section id="book" className='about-section'>
<div className='decorative-flower'>
<img className='flower-icon' src="src/assets/flower.png" alt="Decorative Flower" />
<img className='flower-icon' src="assets/flower.png" alt="Decorative Flower" />
</div>

<div className='content-wrapper'>
Expand Down
6 changes: 3 additions & 3 deletions src/components/Herosection/hero.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,13 @@ export default function Hero() {
maxShadowOpacity={0.2}
>
<div className="demoPage">
<img className='imgName' src="src/assets/bookCover.png" alt="bookCover" />
<img className='imgName' src="assets/bookCover.png" alt="bookCover" />
</div>
<div className="demoPage">
<img className='imgName' src="src/assets/page2.png" alt="page1" />
<img className='imgName' src="assets/page2.png" alt="page1" />
</div>
<div className="demoPage">
<img className='imgName' src="src/assets/page1.png" alt="page2" />
<img className='imgName' src="assets/page1.png" alt="page2" />
</div>
</HTMLFlipBook>
</div>
Expand Down
4 changes: 2 additions & 2 deletions vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@ import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';

export default defineConfig({
base: "/megha-bhattarai/",
plugins: [react()],
build: {
build: {
rollupOptions: {
external: ['react-icons/fa'], // Add this line if you want to externalize it
},
Expand All @@ -12,7 +13,6 @@ export default defineConfig({
server: {
proxy: {
'/api': 'http://localhost:5000', // Backend server URL
'base': "/megha-bhattarai/",
},
},
});

0 comments on commit 3131231

Please sign in to comment.