Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
302 commits
Select commit Hold shift + click to select a range
2994b72
Update menu.js
ThePurpleClub May 16, 2022
aef4178
Update memoriam.js
ThePurpleClub May 16, 2022
d6586da
Update app.js
ThePurpleClub May 16, 2022
7326c7e
Update memoriam.js
ThePurpleClub May 16, 2022
73d750d
Update menu.js
ThePurpleClub May 16, 2022
6e66163
Update app.js
ThePurpleClub May 16, 2022
07e0ef4
Update menu.js
ThePurpleClub May 16, 2022
b2e5578
Update contact.js
ThePurpleClub May 16, 2022
a4694e1
Update memoriam.js
ThePurpleClub May 16, 2022
531e475
Update memoriam.js
ThePurpleClub May 16, 2022
c4ac9d7
Update memoriam.js
ThePurpleClub May 16, 2022
b47541a
Update memoriam.js
ThePurpleClub May 16, 2022
f9010fb
Update memoriam.js
ThePurpleClub May 17, 2022
66de6d1
Update memoriam.js
ThePurpleClub May 17, 2022
672a034
Update memoriam.js
ThePurpleClub May 17, 2022
d01ca12
Update memoriam.js
ThePurpleClub May 17, 2022
3a05651
Update README.md
ThePurpleClub May 17, 2022
53b0b88
Update conf.js
ThePurpleClub May 17, 2022
61e6df1
Update index.html
ThePurpleClub May 17, 2022
5468c11
Update memoriam.js
ThePurpleClub May 17, 2022
526fadd
Add files via upload
ThePurpleClub May 17, 2022
5a6364b
Update memoriam.js
ThePurpleClub May 17, 2022
16f0822
Delete bald_eagle_seattle.jpg
ThePurpleClub May 17, 2022
149c44f
Add files via upload
ThePurpleClub May 17, 2022
43bd3a7
Update memoriam.js
ThePurpleClub May 17, 2022
9f60c43
Delete bald_eagle_seattle _.jpg
ThePurpleClub May 17, 2022
b2b6150
Update memoriam.js
ThePurpleClub May 17, 2022
e92061a
Update memoriam.js
ThePurpleClub May 17, 2022
e629a87
Update memoriam.js
ThePurpleClub May 17, 2022
090a6fb
Update memoriam.js
ThePurpleClub May 17, 2022
1b87038
Update menu.js
ThePurpleClub May 17, 2022
2b15f35
Update menu.js
ThePurpleClub May 17, 2022
f31fdea
Update menu.js
ThePurpleClub May 17, 2022
001cb78
Update memoriam.js
ThePurpleClub May 17, 2022
a768795
Update memoriam.js
ThePurpleClub May 17, 2022
1fceec6
Update memoriam.js
ThePurpleClub May 17, 2022
09782fe
Update sidebar.js
ThePurpleClub May 17, 2022
b2287e9
Update memoriam.js
ThePurpleClub May 17, 2022
42748a8
Update about.js
ThePurpleClub May 17, 2022
974e475
Update menu.js
ThePurpleClub May 18, 2022
025d55f
Update home.js
ThePurpleClub May 18, 2022
b03a0c4
Update about.js
ThePurpleClub May 18, 2022
957cf71
Update about.js
ThePurpleClub May 18, 2022
5784b5a
Update about.js
ThePurpleClub May 19, 2022
f6bdca3
Update about.js
ThePurpleClub May 19, 2022
d9e64e5
Update about.js
ThePurpleClub May 19, 2022
061ab7f
Update menu.js
ThePurpleClub May 19, 2022
999a9de
Update menu.js
ThePurpleClub May 19, 2022
da2f3ee
Update menu.js
ThePurpleClub May 19, 2022
d397f00
Add files via upload
ThePurpleClub May 19, 2022
5d4c3aa
Delete music.json
ThePurpleClub May 19, 2022
114b93f
Add files via upload
ThePurpleClub May 19, 2022
bf06c7b
Update and rename music.json to music.js
ThePurpleClub May 19, 2022
82d401f
Update music.js
ThePurpleClub May 19, 2022
e49ef28
Update app.js
ThePurpleClub May 19, 2022
5dca9d0
Add files via upload
ThePurpleClub May 19, 2022
828880a
Update music.js
ThePurpleClub May 19, 2022
71f8293
Add files via upload
ThePurpleClub May 19, 2022
2fe2b56
Add files via upload
ThePurpleClub May 19, 2022
1fef722
Delete prince2.webp
ThePurpleClub May 19, 2022
521a75c
Add files via upload
ThePurpleClub May 19, 2022
96201b8
Update music.js
ThePurpleClub May 19, 2022
08e429d
Update music.js
ThePurpleClub May 19, 2022
ac8cda6
Update music.js
ThePurpleClub May 19, 2022
c99083c
Update music.js
ThePurpleClub May 19, 2022
6f5e216
Update music.js
ThePurpleClub May 19, 2022
9ea7859
Update music.js
ThePurpleClub May 19, 2022
4b7bfcc
Update music.js
ThePurpleClub May 19, 2022
68bcb00
Update music.js
ThePurpleClub May 19, 2022
02a60e9
Update music.js
ThePurpleClub May 19, 2022
1e82e8e
Update music.js
ThePurpleClub May 19, 2022
e03d7e0
Update music.js
ThePurpleClub May 19, 2022
29e354d
Update music.js
ThePurpleClub May 19, 2022
4e23fba
Update music.js
ThePurpleClub May 19, 2022
3ab6df5
Update music.js
ThePurpleClub May 19, 2022
1dde784
Update music.js
ThePurpleClub May 19, 2022
03fb1f2
Update music.js
ThePurpleClub May 24, 2022
9b0210b
Update README.md
ThePurpleClub May 26, 2022
eeaacdc
Update conf.js
ThePurpleClub May 26, 2022
a4813d0
Update index.html
ThePurpleClub May 26, 2022
e2cab42
Delete prince2.jpg
ThePurpleClub May 27, 2022
0a5482e
Add files via upload
ThePurpleClub May 27, 2022
d1ac166
Update music.js
ThePurpleClub May 27, 2022
e667bdd
Update music.js
ThePurpleClub May 27, 2022
33bb3e5
Update music.js
ThePurpleClub May 27, 2022
15ea983
Delete prince1.jpg
ThePurpleClub May 27, 2022
25fc752
Add files via upload
ThePurpleClub May 27, 2022
831263e
Update music.js
ThePurpleClub May 27, 2022
5d1552d
Update about.js
ThePurpleClub May 27, 2022
fc4a82c
Update music.js
ThePurpleClub May 27, 2022
725f543
Update music.js
ThePurpleClub May 27, 2022
42d7ec0
Update about.js
ThePurpleClub May 27, 2022
7559500
Update about.js
ThePurpleClub May 27, 2022
1a47768
Update menu.js
ThePurpleClub May 27, 2022
c0994cc
Update menu.js
ThePurpleClub May 27, 2022
4d91bb2
Update menu.js
ThePurpleClub May 27, 2022
c4895f6
Update menu.js
ThePurpleClub May 27, 2022
c489587
Update menu.js
ThePurpleClub May 27, 2022
ae1d5a2
Update menu.js
ThePurpleClub May 27, 2022
d9e970c
Update page.js
ThePurpleClub May 27, 2022
d95688a
Update page.js
ThePurpleClub May 27, 2022
40a4a07
Update article.js
ThePurpleClub May 27, 2022
028d0f5
Update article.js
ThePurpleClub May 27, 2022
538118f
Update article.js
ThePurpleClub May 27, 2022
f4bf596
Update article.js
ThePurpleClub May 27, 2022
b187e89
Update page.js
ThePurpleClub May 27, 2022
054c8b5
changed color and transition of menu burger
ThePurpleClub May 28, 2022
5a2eeac
added box shadow
ThePurpleClub May 28, 2022
f263f47
Update music.js
ThePurpleClub May 28, 2022
d8f3e8d
update lots of css properties
ThePurpleClub May 28, 2022
c9e66d1
Update category.js
ThePurpleClub May 28, 2022
bbc8dca
update transition speed
ThePurpleClub May 28, 2022
7e0149e
Update menu.js
ThePurpleClub May 28, 2022
bf66642
Update music.js
ThePurpleClub May 29, 2022
02b04c8
grammar fix on intro
ThePurpleClub May 29, 2022
097b993
Update music.js
ThePurpleClub May 29, 2022
a2e2d3e
Update music.js
ThePurpleClub May 29, 2022
e86a0d9
Update conf.js
ThePurpleClub May 29, 2022
021bb04
Update conf.js
ThePurpleClub May 29, 2022
9fe2203
Update conf.js
ThePurpleClub May 29, 2022
577f73f
Update music.js
ThePurpleClub Jun 6, 2022
58046ff
Update music.js
ThePurpleClub Jun 6, 2022
36f4c77
Update menu.js
ThePurpleClub Jun 6, 2022
c9650d8
Update article.js
ThePurpleClub Jun 10, 2022
c2dfe6e
Update menu.js
ThePurpleClub Jun 10, 2022
8705f0c
Update page.js
ThePurpleClub Jun 10, 2022
b8adcdf
Update sidebar.js
ThePurpleClub Jun 10, 2022
89b5042
Add files via upload
ThePurpleClub Jun 10, 2022
51721b4
Add files via upload
ThePurpleClub Jun 10, 2022
87f79a1
Update about.js
ThePurpleClub Jun 10, 2022
ab37636
Update contact.js
ThePurpleClub Jun 10, 2022
0bb7326
Update home.js
ThePurpleClub Jun 10, 2022
20d3da4
Update memoriam.js
ThePurpleClub Jun 10, 2022
2c8e916
Update music.js
ThePurpleClub Jun 10, 2022
be23b35
Update app.js
ThePurpleClub Jun 10, 2022
d449bdb
Add files via upload
ThePurpleClub Jun 10, 2022
ebf987e
Update about.js
ThePurpleClub Jun 10, 2022
a6984d7
Update music.js
ThePurpleClub Jun 10, 2022
dec6039
Delete prince2.jpg
ThePurpleClub Jun 10, 2022
91de88d
Delete prince2.png
ThePurpleClub Jun 10, 2022
2981333
Update memoriam.js
ThePurpleClub Jun 10, 2022
d505f0a
Update page.js
ThePurpleClub Jun 10, 2022
a8fb092
Update article.js
ThePurpleClub Jun 10, 2022
6580872
Update about.js
ThePurpleClub Jun 10, 2022
ff8c05a
Update sidebar.js
ThePurpleClub Jun 10, 2022
ca9436b
Update chinese.js
ThePurpleClub Jun 10, 2022
4b74138
Update contact.js
ThePurpleClub Jun 10, 2022
45363af
Update music.js
ThePurpleClub Jun 10, 2022
364f1e8
Update japanese.js
ThePurpleClub Jun 10, 2022
aaf6302
Update chinese.js
ThePurpleClub Jun 10, 2022
6ad52fe
Update japanese.js
ThePurpleClub Jun 10, 2022
b90724b
Update music.js
ThePurpleClub Jun 10, 2022
a99b84a
Add files via upload
ThePurpleClub Jun 10, 2022
62e2bc9
Update music.js
ThePurpleClub Jun 10, 2022
d540b0f
Update music.js
ThePurpleClub Jun 10, 2022
00424e1
Update chinese.js
ThePurpleClub Jun 10, 2022
a7d8045
Update japanese.js
ThePurpleClub Jun 10, 2022
c007cde
Update music.js
ThePurpleClub Jun 10, 2022
d8bc705
Update memoriam.js
ThePurpleClub Jun 10, 2022
d81f2ec
Delete favicon.ico
ThePurpleClub Jun 10, 2022
dec274e
Add files via upload
ThePurpleClub Jun 10, 2022
4219010
Update about.js
ThePurpleClub Jun 10, 2022
2b5871e
Update japanese.js
ThePurpleClub Jun 11, 2022
5575aba
Update japanese.js
ThePurpleClub Jun 11, 2022
c8a01a9
Add files via upload
ThePurpleClub Jun 11, 2022
037184d
Add files via upload
ThePurpleClub Jun 11, 2022
bb45131
Delete purple.jpg
ThePurpleClub Jun 11, 2022
186c8c8
Update japanese.js
ThePurpleClub Jun 11, 2022
384f6f0
Update about.js
ThePurpleClub Jun 11, 2022
318b1ec
Update about.js
ThePurpleClub Jun 11, 2022
dbf5a10
Update memoriam.js
ThePurpleClub Jun 11, 2022
414a30d
Update conf.js
ThePurpleClub Jun 12, 2022
679de7f
Update conf.js
ThePurpleClub Jun 12, 2022
3987d19
Update conf.js
ThePurpleClub Jun 12, 2022
47ed83e
Update menu.js
ThePurpleClub Jun 14, 2022
b002372
Delete favicon.ico
ThePurpleClub Jun 14, 2022
8c74375
Add files via upload
ThePurpleClub Jun 14, 2022
af3ac36
Update index.html
ThePurpleClub Jun 14, 2022
ae9dec7
Update index.html
ThePurpleClub Jun 14, 2022
bfba014
Update about.js
ThePurpleClub Jun 14, 2022
5c5321d
Update chinese.js
ThePurpleClub Jun 14, 2022
5920d85
Update usePageMeta.js
ThePurpleClub Jun 14, 2022
7e8eb80
Update conf.js
ThePurpleClub Jun 14, 2022
5725406
Update conf.js
ThePurpleClub Jun 14, 2022
e345908
Update index.html
ThePurpleClub Jun 14, 2022
d52840c
Update conf.js
ThePurpleClub Jun 14, 2022
cd58da5
Update conf.js
ThePurpleClub Jun 14, 2022
81b2196
Update conf.js
ThePurpleClub Jun 14, 2022
d03d869
Update conf.js
ThePurpleClub Jun 14, 2022
0f5fa45
Update conf.js
ThePurpleClub Jun 14, 2022
5bbab11
Update conf.js
ThePurpleClub Jun 14, 2022
012e553
Update menu.js
ThePurpleClub Jun 14, 2022
d96aad5
Update chinese.js
ThePurpleClub Jun 14, 2022
4a1cf19
Update menu.js
ThePurpleClub Jun 14, 2022
636e912
Update menu.js
ThePurpleClub Jun 14, 2022
b4f4dd3
Update menu.js
ThePurpleClub Jun 14, 2022
841f5bd
Update conf.js
ThePurpleClub Jun 14, 2022
3af66e8
Update conf.js
ThePurpleClub Jun 14, 2022
7ab600b
Update chinese.js
ThePurpleClub Jun 14, 2022
7a8408e
Update README.md
ThePurpleClub Jun 14, 2022
6cf8e0d
Update contact.js
ThePurpleClub Jun 14, 2022
a9aefa6
Update menu.js
ThePurpleClub Jun 15, 2022
a2f73e1
Update menuBurger.js
ThePurpleClub Jun 15, 2022
fb600b0
Update chinese.js
ThePurpleClub Jun 15, 2022
2bae949
Update README.md
ThePurpleClub Jun 15, 2022
70057fe
Update README.md
ThePurpleClub Jun 15, 2022
c5f98ef
Update conf.js
ThePurpleClub Jun 15, 2022
1ed4e64
Update index.html
ThePurpleClub Jun 15, 2022
f9c787b
Update README.md
ThePurpleClub Jun 15, 2022
2b0d863
Update about.js
ThePurpleClub Jun 15, 2022
72e0bc4
Add files via upload
ThePurpleClub Jul 2, 2022
3518d11
Update footer.js
ThePurpleClub Jul 2, 2022
47cf42a
Update footer.js
ThePurpleClub Jul 2, 2022
0cb12a1
Update index.html
ThePurpleClub Jul 9, 2022
81e1838
Update conf.js
ThePurpleClub Jul 9, 2022
7d3a6ec
Update conf.js
ThePurpleClub Jul 9, 2022
e770697
Update about.js
ThePurpleClub Jul 9, 2022
328cc33
Update index.html
ThePurpleClub Jul 12, 2022
b5ef909
Update music.js
ThePurpleClub Jul 12, 2022
1b54d6b
Update about.js
ThePurpleClub Jul 25, 2022
0b98e77
Update about.js
ThePurpleClub Jul 25, 2022
3f95def
Update about.js
ThePurpleClub Aug 8, 2022
5cb04cd
Update about.js
ThePurpleClub Aug 8, 2022
21a7e22
Update usePageMeta.js
ThePurpleClub Sep 13, 2022
6cae2dc
Update usePageMeta.js
ThePurpleClub Sep 13, 2022
63cb267
Add files via upload
ThePurpleClub Jan 11, 2023
b20b7d9
Update home.js
ThePurpleClub Jan 11, 2023
0809251
Update home.js
ThePurpleClub Jan 11, 2023
32ccc42
Update sidebar.js
ThePurpleClub Jan 12, 2023
20ff405
Update home.js
ThePurpleClub Jan 12, 2023
bd41c0a
Update sidebar.js
ThePurpleClub Jan 12, 2023
50b6436
Update sidebar.js
ThePurpleClub Jan 12, 2023
0951ab0
Update sidebar.js
ThePurpleClub Jan 12, 2023
b2edf24
Update sidebar.js
ThePurpleClub Jan 12, 2023
38e2ad2
Update menu.js
ThePurpleClub Jan 12, 2023
e126062
Update about.js
ThePurpleClub Jan 12, 2023
8f3d149
Update chinese.js
ThePurpleClub Jan 12, 2023
b81a27e
Update contact.js
ThePurpleClub Jan 12, 2023
67ac888
Update memoriam.js
ThePurpleClub Jan 12, 2023
47f444a
Update japanese.js
ThePurpleClub Jan 12, 2023
3d41a77
Update memoriam.js
ThePurpleClub Jan 12, 2023
f4fff0a
Update about.js
ThePurpleClub Jan 12, 2023
302ff82
Update contact.js
ThePurpleClub Jan 12, 2023
657596e
Update home.js
ThePurpleClub Jan 13, 2023
262b8d8
Update about.js with photo credits
ThePurpleClub May 16, 2023
9826857
Update about.js with photo credits
ThePurpleClub May 16, 2023
92d7bdc
Update photo credits
ThePurpleClub May 16, 2023
a4a4302
Update contact.js with photo credits
ThePurpleClub May 16, 2023
1d78703
Update chinese.js
ThePurpleClub Jun 5, 2024
4b70811
Update chinese.js
ThePurpleClub Mar 16, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ In 2022, the setup has a couple extra steps, mostly because of changes with the
- Google Spreadsheets API v3 has been discontinued and the update to the v4 requires the use of an API key that you need to configure in the Google Cloud Console
- Sendgrid requires to create a verified sender account

Live demo here:
http://misterfresh.github.io/react-drive-cms/
Live Demo: [https://thepurpleclub.github.io/home]

### Features:
- A dynamic site, but no backend to manage, no database, no server, no hosting & no maintenance (almost)
Expand Down
12 changes: 12 additions & 0 deletions app/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ import { About } from './routes/about.js'
import { Contact } from './routes/contact.js'
import { Home } from './routes/home.js'
import { getActiveItemId, getPageName } from './utils/path.js'
import { Memoriam } from './routes/memoriam.js'
import { Music } from './routes/music.js'
import { Japanese } from './routes/japanese.js'
import { Chinese } from './routes/chinese.js'

const App = () => {
const [state, dispatch] = useReducer(reducer, initialState)
Expand All @@ -30,6 +34,14 @@ const App = () => {
Page = Category
} else if (pageName === 'articles') {
Page = Article
} else if (pageName === 'memoriam') {
Page = Memoriam
} else if (pageName === 'music'){
Page = Music
}else if(pageName === 'japanese'){
Page = Japanese
}else if(pageName === 'chinese'){
Page = Chinese
}
return Page
}, [pageName])
Expand Down
8 changes: 5 additions & 3 deletions app/components/blocks/article.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ import prefixUriIfNeeded from '../../utils/prefixUriIfNeeded.js'

export const Article = ({ article, category }) => html`
<style>
/******************************************************************adding new font family*********************************************************************/
@import url('https://fonts.googleapis.com/css2?family=Didact+Gothic&family=Joan&family=Noto+Sans+JP:wght@100;400&family=Noto+Serif+JP:wght@200;400;500&family=Playfair+Display&display=swap');
article {
padding: 30px 0;
display: block;
Expand All @@ -15,7 +17,7 @@ export const Article = ({ article, category }) => html`
color: #333337;
font-size: 2.4rem;
margin-top: 0;
font-family: 'Source Sans Pro', Helvetica, Arial, sans-serif;
font-family: 'Noto Sans JP', sans-serif; /****************************** changed font style******************************/
font-weight: 700;
margin-bottom: 10px;
line-height: 1.1;
Expand All @@ -28,8 +30,8 @@ export const Article = ({ article, category }) => html`
}
article p {
margin: 0 0 10px;
font-family: 'Droid Serif', serif;
font-size: 1.6rem;
font-family: 'Noto Serif JP', serif; /******************************changed font family*****************************************************/
font-size: 1.5rem;/********************************changed font size***************************************************/
}
article p.description {
margin-bottom: 30px;
Expand Down
7 changes: 7 additions & 0 deletions app/components/blocks/category.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@ export const Category = ({ category, setActivePanel }) => html`
display: flex;
align-items: flex-end;
cursor: pointer;
transition-timing-function: ease-in-out; /*************filter added************/
transition-duration: 2s; /************filter added************/
}
.category-block:hover{
filter: hue-rotate(360deg); /******************filter added***************/
transition-timing-function: ease-in-out; /****************filter added*******************/
transition-duration: 2s; /****************filter added*******************/
}
.category-block .title {
background: rgba(50, 50, 50, 0.5);
Expand Down
6 changes: 3 additions & 3 deletions app/components/layout/footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,10 +135,10 @@ export const Footer = ({
}
}
.profile {
width: 6rem;
width: 8.06rem;
padding: 0;
border: 0;
border-radius: 50%;
border-radius: 0%;
height: 6rem;
margin-bottom: 1rem;
}
Expand Down Expand Up @@ -219,7 +219,7 @@ export const Footer = ({
onClick=${avoidReload}
>
<img
src=${prefixUriIfNeeded('/assets/profile-1.jpg')}
src=${prefixUriIfNeeded('/assets/キョロちゃん.jpg')}
class="profile"
alt="user-image"
/>
Expand Down
110 changes: 98 additions & 12 deletions app/components/layout/menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@ export const Menu = ({ categories, articles, menuVisible }) => {
setActiveCategory(Object.values(categories)?.[0]?.id)
}, [categories])
return html` <style>
@import url('https://fonts.googleapis.com/css2?family=Didact+Gothic&family=Joan&family=Noto+Sans+JP:wght@100;400&family=Noto+Serif+JP:wght@200;400;500&family=Playfair+Display&display=swap');
.menu {
background-color: #333;
background-color: #810541; /**************************orange menu#f06236*************************/
overflow: hidden;
z-index: 10;
display: block;
Expand All @@ -22,11 +23,12 @@ export const Menu = ({ categories, articles, menuVisible }) => {
height: 100%;
box-shadow: #000 2px 2px 10px;
padding-top: 5rem;
transition: opacity linear 750ms, width linear 750ms;
transition: opacity linear 1000ms, width linear 1000ms; /******************changed speed******************/
width: 0;
opacity: 0;
padding-right: 0;
position: fixed;
overflow: auto;
}
.menu-open {
opacity: 1;
Expand All @@ -50,8 +52,14 @@ export const Menu = ({ categories, articles, menuVisible }) => {

.icon {
padding: 0 20px;
color: #dadada;
font-size: 1.6rem;
color: #fff; /**********************changed bg color**************************/
transition: all 1s ease-in-out; /*******************changed transition*******************/
}

.icon:hover {
color: #6236f0; /**************changed icon color when hovered****************/
transition: all 1s ease-in-out; /**************changed transition****************/
}
.menu ul.menu-list {
padding: 10px 0;
Expand All @@ -65,9 +73,18 @@ export const Menu = ({ categories, articles, menuVisible }) => {
list-style: none;
padding: 10px 0;
font-size: 1.6rem;
transition: all 1s ease-in-out; /************added transition when hovered**************/
}
.item:hover {
color: #0036fd; /************************changed icon color to navy when hovered*************/
outline: 0; /***************added outline******************/
transition: all 1s ease-in-out; /************added transition when hovered************/
}
.item:focus {
outline: 0; /***********re-focus************/
}
.item-link {
color: #dadada;
color: #fff; /************changed bg color**********************/
font-weight: 500;
font-size: large;
border-bottom: 0 transparent;
Expand All @@ -76,20 +93,22 @@ export const Menu = ({ categories, articles, menuVisible }) => {
border: 0;
cursor: pointer;
font-family: Arial;
transition: all 1s ease-in-out; /*************added Fade in effect***************/
}
.item-link:hover {
color: #fff;
color: #0036fd; /***********************changed bg color to blue*************/
outline: 0;
transform: scale(1.2); /*************text would be larger when hovered*************/
}
.item-link:focus {
outline: 0;
}
.separator {
margin: 20px auto;
display: block;
border: 1px solid #dededc;
border: 1px solid #fff; /*************changed color************/
height: 0;
width: 40%;
width: 50%; /*******************changed width***************/
}
.sub-list {
margin-left: 15px;
Expand Down Expand Up @@ -119,17 +138,36 @@ export const Menu = ({ categories, articles, menuVisible }) => {
font-size: medium;
position: relative;
color: #dadada;
font-weight: 500;
font-weight: 100; /***************************changed font weight***************/
border-bottom: 0 transparent;
text-decoration: none;
background-color: transparent;
font-style: normal;
top: 10px;
font-family: Arial;
font-family: 'Noto Sans JP', sans-serif;/***************************changed font style***********************/
}
/***************************changed underline hover effect********************************/
.sub-item-link::before {
content: '';
position: absolute;
width: 100%;
height: 1px;
border-radius: 1px;
background-color: #00ccff;
bottom: 0;
left: 0;
transform-origin: right;
transform: scaleX(0);
transition: transform .3s ease-in-out;
}
.sub-item-link:hover::before {
transform-origin: left;
transform: scaleX(1);
}
/************************************************************************************************/
.sub-item-link:hover {
border-bottom: none;
color: #fff;
color: #00ccff; /************************/
}
</style>
<nav id="menu" class="menu ${menuVisible ? 'menu-open' : ''}">
Expand All @@ -146,7 +184,8 @@ export const Menu = ({ categories, articles, menuVisible }) => {
</a>
</li>
<li class="item">
<i class="fas fa-user icon" />
<i class="fas fa-kiwi-bird icon" />

<a
href="${prefixUriIfNeeded('/about')}"
title="About"
Expand All @@ -157,7 +196,42 @@ export const Menu = ({ categories, articles, menuVisible }) => {
</a>
</li>
<li class="item">
<i class="fas fa-paper-plane icon" />
<i class="fas fa-robot icon" />
<a
href="${prefixUriIfNeeded('/japanese')}"
title="日本語"
class="item-link"
onClick=${avoidReload}
>
日本語
</a>
</li>
<li class="item">
<i class="fas fa-ship icon" />
<a
href="${prefixUriIfNeeded('/chinese')}"
title="繁體中文"
class="item-link"
onClick=${avoidReload}
>
繁體中文
</a>
</li>
<!--
<li class="item">
<i class="fas fa-music icon" />
<a
href="${prefixUriIfNeeded('/music')}"
title="Inspire"
class="item-link"
onClick=${avoidReload}
>
Inspiration
</a>
</li>
-->
<li class="item">
<i class="fas fa-feather-alt icon" />
<a
href="${prefixUriIfNeeded('/contact')}"
title="Contact"
Expand All @@ -167,6 +241,18 @@ export const Menu = ({ categories, articles, menuVisible }) => {
Contact
</a>
</li>
<li class="item">
<i class="fas fa-monument icon" />
<a
href="${prefixUriIfNeeded('/memoriam')}"
title="Memoriam"
class="item-link"
onClick=${avoidReload}
>
In Memoriam
</a>
</li>

</ul>
<hr class="separator" />
<ul class="menu-list">
Expand Down
7 changes: 5 additions & 2 deletions app/components/layout/menuBurger.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,21 @@ export const MenuBurger = ({ toggleMenuVisible }) => {
padding-top: 8px;
cursor: pointer;
border-bottom: 0 transparent;
box-shadow: #948b8b 2px 2px 10px;
box-shadow: #000 2px 2px 12px; /***********************************/
color: #fff;
display: flex;
flex-direction: column;
align-items: center;
outline: 0;
border: 0;
background:#810541; /**************** #f06236changed background color****************/
transition: 1s ease-in-out; /******************************/
}
.menu-burger:hover {
color: #fff;
outline: 0;
background: #999;
background: #6236f0; /******************************/
transition: 1s ease-in-out; /******************************/
}
.menu-burger:focus {
outline: 0;
Expand Down
7 changes: 5 additions & 2 deletions app/components/layout/page.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,21 @@ export const Page = ({
usePageMeta(title, subtitle)

return html` <style>
/**************************importing new font families******************************/
@import url('https://fonts.googleapis.com/css2?family=Didact+Gothic&family=Joan&family=Noto+Sans+JP&family=Noto+Serif+JP:wght@200;400;500&family=Playfair+Display&display=swap');
${buttonsStyles} ${blocksStyles} .page {
display: flex;
width: 100%;
justify-content: flex-end;
overflow-x: hidden;
max-width: 100%;
font-family: 'Noto Serif JP', serif;/**************************adding font family attributes************************/
}
main.page-main {
opacity: 1;
width: 100%;
display: block;
transition: width linear 750ms;
transition: width linear 1000ms; /***********************changed speed*************/
margin: 0;
padding: 0;
overflow-x: hidden;
Expand All @@ -47,7 +50,7 @@ export const Page = ({
padding: 5rem;
overflow-x: hidden;
max-width: 100%;
transition: width linear 750ms;
transition: width linear 1000ms; /***************************changed speed*************/
width: 100%;
margin-left: 0;
}
Expand Down
Loading